What it does

You keep using the same AI.

Start Claude Code, Gemini CLI, or Codex the way you already do. A terminal is the window where you type commands. When the app is about to open a file or run a command, Rail checks it first. Allowed actions continue. A blocked action stops, and the app is told.

An example

You asked

“Read the notes in my test folder.”

Allowed

The AI opens the file and answers you.

Blocked

Your SSH key stays closed. The AI is told the request was blocked.

Based on the test cases. Not a live recording.

Boundaries

What it will and will not touch

It may

  • Work inside a folder you add to the rules list. Nothing is open until you add one.
  • Read the ordinary system files that a program needs to run.
  • On Linux, use a short list of programs and websites that are named in the rules.

It may not

  • Open SSH keys, cloud passwords, or the computer’s password file.
  • Open your home folder on a Mac or Windows computer, unless you add that folder to the rules list.
  • Use pipes, chained commands, or unknown options. In this version those are blocked, and the app is told why.
  • Check chat websites. Rail never sees them.

Claude Code

The terminal app. Also Claude Code inside VS Code or a JetBrains editor, when that editor reads the Claude settings on this computer.

Gemini CLI

The Gemini CLI, run in a terminal. The Gemini website is not covered.

Codex

Codex needs one extra step. Open Codex, type /hooks, and trust Rail. Until you do, Codex is not checked. The ChatGPT website and the ChatGPT desktop chat are not Codex.

Closing Terminal does not turn Rail off. To turn it off, open the setup page and press No, leave them alone. The steps are on the install page. The exact rules and the limits are in the security notes.