3 min read + 5 min video Published September 30, 2025

Claude Code --dangerously-skip-permissions

A new Ruby on Rails project built agentically, plus Playwright

๐Ÿ“น Watch the Development Process

Watch the whole video at: youtube.com/watch?v=4jmB_efkiRs
Source code: github.com/stocklight/insidertrades.directory

๐ŸŽฏ What We Accomplished

๐Ÿ› ๏ธ Tools Demonstrated

๐Ÿ›  Technical Walk-through

1. Sandboxed OSX account

Because we're running AI agents fairly autonomously, we've mitigated the risk of them accessing anything that's not code related by using a separate sandboxed OSX account that we can easily throw away when the robots go rogue.

2. Claude Code, YOLO mode

Now we are no longer concerned about security, we unleash Claude Code to whir in all it's glory using --dangerously-skip-permissions, unblocking it from asking for permission every time it wants to wipe it's nose:

claude --dangerously-skip-permissions

3. CLAUDE.md guidelines

For the time being, LLM's seem to operate more efficiently with a little guidance, here's a CLAUDE.md example that was used in the working directory for this session.


### Playwright

If I point you towards a url, you can use playwright to visit the url and infer context

If you want to use playwright, you can do so from the home dir as follows:
`cd ~; npx playwright`

If you want to write temporary scripts (eg. to use playwright to do stuff), do so in:
`~/tmp`

and when doing so, create a permanent folder and put everything in there eg.
`~/tmp/2025-07-28-playwright-seo-investigation/`

ie. don't create files or projects outside of ~/tmp for experimental or temporary stuff or this folder if it's a proposed change to the source code of this project

4. Claude Prompt

We started by creating a new Rails 8 project with the --skip-test flag to allow for RSpec integration:

Create a new rails project called insidertrades.directory in ~/workspace and using playwright, confirm it's working in a browser (without using headless mode). btw, I prefer rspec as my testing library. Record this in a markdown file in ~/tmp that can be used for a blog post. commit to git.
๐Ÿ’ก Key Insight: Sandboxed environment + Claude Code in YOLO mode = Vibing Vibes

๐Ÿ”— Resources & Technologies

๐Ÿ“ˆ What's Next

This foundational setup enables us to build sophisticated features with confidence:

  • Database Integration: Adding PostgreSQL for production-ready data persistence
  • Authentication System: Implementing secure user management
  • API Development: Creating RESTful endpoints for insider trading data
  • Performance Optimization: Implementing caching and query optimization
  • Deployment Pipeline: Setting up automated testing and deployment
๐ŸŽ‰ Rails new complete!

We successfully created a modern Ruby on Rails 8 application using Claude code. The foundations are set to start exposing some stockmarket insider activity.

Related Posts
Sep 05, 2025
Claude Code --dangerously-skip-permissions
Coming Soon
Exception Notifier with Slack integration
Coming Soon
Turbolinks / View Component, no webpacker node or js
โ† Back to All Posts