Railroad is the runtime layer that makes coding agents production-safe. Let Claude Code run autonomously — Railroad blocks the dangerous commands while everything else flies through.
Babysit every command, or skip permissions and risk production.
Safe commands fly through. Dangerous ones never run.
--dangerously-skip-permissions without the danger. Railroad intercepts every action at the OS level — destructive commands are blocked, risky ones need approval, everything else flies through in under 2ms.sandbox-exec (macOS) and bwrap (Linux). Pattern matching, not LLM intent-guessing. 99% of commands execute instantly with zero overhead.railroad locks to see all active locks.railroad rollback.railroad dashboard for live view. railroad replay --session <id> for history. Search, filter, and expand any action.railroad.yaml in your project. Define blocklists, allowlists, and approval rules. Changes take effect instantly — no restart.claude --dangerously-skip-permissions knowing Railroad has your back. Run multiple sessions. Ship faster. Nothing dangerous gets through.Install Railroad. It intercepts every Claude Code action before it executes — safe commands fly through instantly, dangerous commands like terraform destroy or rm -rf are blocked. You get the speed of --dangerously-skip-permissions without the risk.
No. Sandboxes restrict where your agent can work — they limit file access, network, and tools. Railroad only restricts what commands your agent can run. Your agent keeps full access to your project, your tools, and your workflow. It just can't run the commands that would destroy production.
It skips all permission checks, letting Claude Code execute any command without asking for approval. It's fast, but it means destructive commands like terraform destroy or DROP TABLE run without any safety net. Railroad makes this flag safe to use.
Railroad blocks whatever you configure in railroad.yaml. Common blocklist entries include terraform destroy, rm -rf, DROP TABLE, push --force, and drizzle-kit push --force. You can also flag commands for manual approval.
Railroad currently works with Claude Code via its native hooks system. Support for OpenAI Codex and Kiro is coming soon.
Under 2ms per command. 99% of commands execute instantly. Railroad runs on-device — nothing leaves your machine, no network calls, no cloud dependency.