Skip to content

CLI Reference

All commands talk to the user-level daemon over its local REST API and auto-start it if needed.

Daemon

CommandDescription
nerveplane daemonRun the coordination daemon in the foreground (127.0.0.1:7734).
nerveplane statusShow daemon status and health.
nerveplane stopStop the running daemon.

Setup

CommandDescription
nerveplane setupOne-time machine setup: global Claude Code hooks + login service + register this repo. Flags: --no-service, --print.
nerveplane install claude-codeInstall Claude Code hooks + agent instructions. Flags: --global (user scope ~/.claude, applies to all repos), --with-mcp (write a project .mcp.json), --print (dry run).
nerveplane init(Optional) register the current repo. Agents auto-register via the SessionStart hook and the register tool, so this is rarely needed.

Project

CommandDescription
nerveplane agentsList active agents (status, branch, capabilities).
nerveplane eventsShow recent coordination events.
nerveplane conflictsList open conflict warnings.
nerveplane conflicts resolve <id>Mark a conflict resolved.
nerveplane conflicts dismiss <id>Dismiss a conflict and suppress its re-raise.

Services & contracts

CommandDescription
nerveplane service scan [path]Load a services.yaml into the service graph (defaults to ./services.yaml).
nerveplane servicesList registered services and contracts.

Dashboard & evaluation

CommandDescription
nerveplane dashboardOpen the live web dashboard in your browser.
nerveplane evalRun the deterministic conflict-detection eval (prints precision/recall/noise).

Integration entrypoints

Usually invoked by tools, not humans:

CommandDescription
nerveplane mcpRun the stdio MCP server (spawned by Claude Code / Cursor / Codex).
nerveplane hookPreToolUse hook entrypoint (reads JSON on stdin).
nerveplane session-startSessionStart hook entrypoint — auto-registers the agent for the current worktree.

During development, prefix with bun run src/index.ts (e.g. bun run src/index.ts agents). A compiled binary (bun run build) exposes them directly as nerveplane <command>.

State lives under ~/.nerveplane/ — override with the NERVEPLANE_HOME environment variable.

Released under the MIT License.