Forkbench for Claude Code

The Mac terminal built for Claude Code

Claude Code is Anthropic's coding agent that runs in your terminal, reads your repository, edits files and runs commands.

Forkbench is a Mac app for running Claude Code where the credentials it needs are used by the command and never handed to the agent, and a Thread can be locked to its folders by the macOS kernel so nothing it starts can read outside them. Around that, each session gets a real login shell in its own tab and a Thread holding one job's folder, notes and keys.

What breaks in a plain terminal

One Claude Code session in a plain terminal is a good experience. Four of them is where it frays. The tabs all look alike, so you lose track of which repo each one is in. Two sessions edit the same file and undo each other. The plan Claude spent twenty minutes building lives in scrollback you will never scroll back to, and when the context window rolls over or you close the pane, it is gone. And the moment Claude needs to push, deploy or call a paid API, the honest options are pasting a token into the prompt or exporting it into a shell the agent can read.

How Forkbench runs Claude Code

Keys it can use and never read

Store the token in Vault once. When Claude needs to push to GitHub or call an API, Claude runs that one command and takes the result. The key never appears in the prompt, the command line or the transcript. Optional Touch ID on every use.

Folders it cannot wander out of

Lock a Thread to the folders the job is about. Every shell in it starts under a macOS Seatbelt profile that the kernel enforces and every process inherits, including build scripts and a dependency's install hook, so a read or a delete outside them is refused rather than discouraged. Builds still run, paths still resolve, and the network is untouched.

A real login shell, not a wrapper

Every tab is a genuine PTY, so claude launches exactly as it does in any terminal, with your prompt, your aliases, your shell config and your MCP servers untouched. Forkbench does not proxy the agent or sit between it and Anthropic.

Sessions that stop looking alike

Group related tabs into a Thread. The Thread carries its folder, the notes you granted it and its own secrets, so switching from the auth work to the billing work is switching Thread, not hunting for the right tab.

A plan that outlives the context window

Claude writes tasks, progress notes and blockers to the Thread's board rather than into scrollback. The board is written to disk as it changes, so a compaction, a closed pane, a quit or a reboot leaves it intact. A new session reads it and picks up where the last one stopped.

Its own branch, in one click

Give a session a fresh worktree from the git panel so it cannot touch your working branch. The panel always reflects the tab you are focused on, and Forkbench never merges, rebases or changes your git on its own.

Hand its work to Codex tomorrow

Nothing on a task records which agent wrote it. A task Claude Code planned this morning is claimable by a Codex or Gemini CLI pane this afternoon, with the notes and the discussion that settled a question still attached.

Answer it from your phone

Claude blocks on a question while you are away from the desk. Talk attaches to the conversation already open on your Mac from any browser, so you answer and it keeps going. It attaches to a live session, it cannot start one. Part of Pro.

Getting Claude Code running

  1. 1Install Forkbench, open a Thread on your repo, and run claude in a tab exactly as you would anywhere else.
  2. 2Add a second tab for a second session, and give it a fresh worktree from the git panel so the two never touch the same files.
  3. 3Give the Thread an objective. Claude adds tasks to the board as it plans, and claims one before it starts work on it.
  4. 4Grant the Thread the notes it should read and the secrets it may use. Everything is deny by default until you grant it.
  5. 5Close the pane whenever you want. The claim releases immediately and the plan stays on the board for the next session.

What this does not do: Forkbench does not make Claude Code better at coding, and it does not replace your Anthropic subscription. It runs the same binary you run today. What it changes is everything around it: where the work is recorded, what the agent can reach, and what is still there tomorrow.

Claude Code questions

Running something else?

Forkbench is agent-agnostic, so any CLI agent runs in a tab. These have a page of their own: