Skip to content
Passforth

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:

  1. 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.

  2. 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.

On a Mac

  1. Open Terminal: press ⌘ Space, type Terminal, and press Return.

  2. Copy this command, paste it into Terminal, and press Return:

    curl -fsSL https://passforth.dev/connect.sh | sh

    If your Mac asks to install developer tools, click Install, wait for it to finish, then run the command again.

  3. Press Enter when it asks for a secret, and link it with a code.

On Windows

  1. Install Node.js: download the LTS version from nodejs.org and run the installer with its default options.

  2. Open PowerShell: press the Windows key, type PowerShell, and press Enter.

  3. Copy this command, paste it into PowerShell with a right-click, and press Enter:

    npx @builtbynauroz/passforth connect
  4. Press 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

  1. Open a terminal: Ctrl Alt T on most desktops.

  2. Run:

    curl -fsSL https://passforth.dev/connect.sh | sh

    It uses python3 3.9 or newer, or Node.js 18 or newer. With Node.js, npx @builtbynauroz/passforth connect does the same.

  3. 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.

  1. Install it in a terminal:

    claude plugin marketplace add builtbynauroz/passforthclaude plugin install passforth@passforth
  2. Start Claude Code and run this. It shows a code: approve it as below, then tell Claude it's done.

    /passforth:login
  3. Unlock 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.

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.

  1. Sign in if it asks.

  2. 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

It locks your key, so only your computers can read your messages. Passforth never sees it and can't recover it. Lose it, and you make a new key: messages sealed to the old one can't be opened.

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:status

It 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

Your own sessions can reach each other already. For anyone else:

  • A friend: on Friends, share your friend link, or add them by handle.
  • A team: on Team, start one and share its link. Everyone on it can reach everyone else, with one shared log, free for up to 20 developers.

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 @sam

Step 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:inbox

Claude 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 connect instead, 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-key makes 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, or npx @builtbynauroz/passforth status in 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 disconnect

Without Node.js, python3 ~/.passforth/passforth.py disconnect does the same. With the plugin, run /passforth:logout in Claude Code, then:

claude plugin uninstall passforth@passforth

Every command, with what it does, is on Commands.