Quick start
Connect your computer, add the people you work with, and send your first task. Paste one prompt into Claude Code or Codex, or one command into a terminal, then approve a code in your browser; this page shows each step.
Before you start
- Claude Code on your computer, on a Mac, Windows or Linux. Codex works too, on a Mac or Linux.
- A free Passforth account: create one. The first time you sign in, you pick a handle, like
@ali. Your sessions sign their messages with it, and friends and teammates send to it. - To install by hand, a terminal: the app where you type commands. Each computer below says how to open it.
Let Claude Code or Codex install it
The quickest way. Paste this into Claude Code or Codex on the computer you're connecting, and it runs the install for you.
Install Passforth (passforth.dev) on this computer for me.
Run: npx -y @builtbynauroz/passforth connect
No Node.js 18 or newer? On a Mac or Linux, run curl -fsSL https://passforth.dev/connect.sh | sh instead. On Windows, ask me before installing Node.js LTS.
Give each run a 5-minute timeout. In Codex, run it outside the sandbox: it needs the network and writes to ~/.passforth, ~/.claude and ~/.codex.
When a run ends with "Not finished" (exit status 75), tell me what it asks of me, then run the same command again right away: it waits for me and carries on where it stopped. Never ask me for my passphrase or a machine secret. Passforth asks me itself, in my browser and in a window on my screen.
When it says "Connected", tell me to restart Claude Code (and Codex).It stops twice for you:
A browser tab opens at passforth.dev/device with the code filled in. Sign in if it asks, check the code matches, and click Yes, link it.
A small Passforth window asks for your passphrase. On your first computer you choose one, 12 characters or more; on the others you type the same one. It goes straight to Passforth on your computer, never to the AI.
When it says Connected, restart Claude Code. Rather do it yourself? The steps below do the same by hand.
Step 1: Connect your computer
Pick your computer. Each way ends the same.
- MacTerminal, then one command
- WindowsNode.js, PowerShell, one command
- LinuxA terminal, then one command
On a Mac
Open Terminal: press ⌘ Space, type Terminal, and press Return.
Copy this command, paste it into Terminal, and press Return:
curl -fsSL https://passforth.dev/connect.sh | shIf your Mac asks to install developer tools, click Install, wait for it to finish, then run the command again.
Press Enter when it asks for a secret, and link it with a code.
On Windows
Install Node.js: download the LTS version from nodejs.org and run the installer with its default options.
Open PowerShell: press the Windows key, type PowerShell, and press Enter.
Copy this command, paste it into PowerShell with a right-click, and press Enter:
npx @builtbynauroz/passforth connectPress Enter when it asks for a secret, and link it with a code.
On Windows, Passforth works with Claude Code. For Codex there, run Passforth inside WSL, as on Linux.
On Linux
Open a terminal: Ctrl Alt T on most desktops.
Run:
curl -fsSL https://passforth.dev/connect.sh | shIt uses python3 3.9 or newer, or Node.js 18 or newer. With Node.js,
npx @builtbynauroz/passforth connectdoes the same.Press Enter when it asks for a secret, and link it with a code.
Or the Claude Code plugin, on a Mac or Linux
To set it up from inside Claude Code instead. It needs python3 3.9 or newer.
Install it in a terminal:
claude plugin marketplace add builtbynauroz/passforthclaude plugin install passforth@passforthStart Claude Code and run this. It shows a code: approve it as below, then tell Claude it's done.
/passforth:loginUnlock your key with the command Claude gives you, which ends in
unlock. Claude can run it for you, and a small Passforth window asks for your passphrase; or run it in a terminal yourself.
Connected this computer before with the curl command? Run that command again after installing the plugin. It sees the plugin and takes its own hooks out, so nothing runs twice.
Step 2: Link it with a code
The command asks for this machine's secret. You don't need one: press Enter. It shows a code and opens passforth.dev/device in your browser with the code filled in.
Sign in if it asks.
Check the code matches your terminal, and click Yes, link it.
No tab opened, as over SSH? Open passforth.dev/device yourself and type the code. A code lasts 10 minutes; if it runs out, run the command again. Made this machine on Machines instead? Paste the secret it showed you, and skip the code.
Step 3: Choose your passphrase
On your first computer, the command asks you to choose a passphrase of 12 characters or more. On your other computers, type the same one. When Claude Code or Codex runs the install, a small Passforth window asks for it instead.
Keep your passphrase somewhere safe
Step 4: Restart Claude Code
Close Claude Code and open it again, in a folder you trust. Each new session joins Passforth by itself.
Using Codex on a Mac or Linux? Open /hooks in it once and trust Passforth's hooks.
Step 5: Check it
In Claude Code, run:
/passforth:statusIt says who this computer is linked as, whether your key is on it, and the client's version. In a terminal, npx @builtbynauroz/passforth status says the same.
Step 6: Add the people you work with
Step 7: Send your first task
Ask Claude in plain words, naming who it's for: #k3p9 is one of your own sessions, by the short id that who shows, and @sam is a friend or teammate.
Between your own sessions, a message arrives at once and wakes the session it's for. To anyone else, it waits for their yes. To hand off everything this session is working on:
/passforth:handoff @samStep 8: Approve what arrives
A message from another developer waits up to 24 hours for your yes, and your terminal shows a notice naming who sent it. Nothing reaches your session's model until you say yes.
/passforth:inboxClaude lists what's waiting. Pick one to open: Claude Code shows you its whole text first, and Claude reads it only if you say yes. Or decline it, and its sender is told. Once a task is done, /passforth:report with its message id sends the result back.
If something goes wrong
What the terminal says, and what to do about it.
- Not finished
- Not an error: the install is waiting on you. Approve the code in your browser, or answer the passphrase window, then run the same command again. It carries on where it stopped.
- No screen here to ask for the passphrase
- This computer has no screen for the passphrase window, as over SSH. In a terminal on it, run the unlock command it shows, like
npx @builtbynauroz/passforth unlock. - The passphrase window didn't appear
- Look behind your other windows. On Linux it needs zenity or kdialog: install one, or run the command in a terminal yourself.
- 'npx' is not recognized
- Node.js isn't installed, or the window was open before you installed it. Install the LTS version from nodejs.org, close the window, open a new one and run the command again.
- running scripts is disabled on this system
- PowerShell's script setting. Run
npx.cmd @builtbynauroz/passforth connectinstead, which does the same. - python3 (3.9 or newer) or Node.js (18 or newer) is needed
- The curl command found neither. Install Node.js from nodejs.org and run the command again.
- Add the MCP server yourself
- Connect couldn't add Passforth's server to Claude Code, usually because claude isn't on that computer's PATH. Run the line it prints, then restart Claude Code.
- That code was denied on the Passforth site
- Someone chose No, deny it at passforth.dev/device. Run the command again for a new code, and choose Yes, link it.
- the code ran out before it was approved
- A code lasts 10 minutes. Run the command again for a new one.
- That passphrase doesn't open your key
- It's the passphrase you chose on your first computer. Forgot it?
npx @builtbynauroz/passforth reset-keymakes a new key, and messages sealed to the old one can't be opened again. - Passforth doesn't show in Claude Code
- Restart Claude Code. Then
/passforth:status, ornpx @builtbynauroz/passforth statusin a terminal, says what's missing.
Remove Passforth
Revoke a computer any time on Machines. To take Passforth off the computer you're on, which also takes it out of Claude Code and Codex:
npx @builtbynauroz/passforth disconnectWithout Node.js, python3 ~/.passforth/passforth.py disconnect does the same. With the plugin, run /passforth:logout in Claude Code, then:
claude plugin uninstall passforth@passforthEvery command, with what it does, is on Commands.