Skip to content

Command reference

This index matches the Typer command registrations. snodo <command> --help shows each command's argument descriptions and defaults. --help is available on all commands; top-level options are --version, --verbose/-v, --install-completion, and --show-completion.

The top-level help groups commands into Daily loop (init, ready, run, recon, status, logs, dashboard), Work records (job, task, plan, intent, queue, runs, meta, worktree), Governance (survey, intake, validate, mode, session, audit, authorize), Setup (config, models, cloud, serve, install, uninstall, cache, protocol), and Advanced (agent). Bare snodo shows the project readiness view and next step (with the wordmark on a terminal); it exits successfully even when the view includes attention markers. Top-level snodo --help also starts with the wordmark on a terminal. snodo --version keeps its version on stdout and, when a newer release is found on a terminal, prints an update hint to stderr. Set SNODO_NO_UPDATE_CHECK=1 to disable the update check.

Project, configuration, and services

Command Arguments and options
snodo init --template/-t, --force/-f, --mode/-m, --project-id, --force-keygen, --yes/-y, --no-input, --test-command/-c, --delivery
snodo config show —
snodo config add <provider> [key], --ref env:NAME\|command:COMMAND (choose key or reference)
snodo config remove <provider>
snodo config test —
snodo config validate [--json]
snodo config set <key> <value>
snodo config get <key>
snodo config (group options) --encrypt-provider-keys, --notify-test
snodo mode show --json
snodo mode change <new_mode>
snodo session list --mode, --project, --status
snodo session show <session_id>, --json
snodo session new --mode, --yes/-y, --force/-f
snodo session switch <session_id>
snodo session delete <session_id>
snodo session prune --days
snodo models --provider/-p, --authenticate, --flush, --stats, --provenance, --provenance-limit, --check, --benchmark[=<provider>/<model>], --benchmark-runs, --set-baseline, --compare, --benchmark-run, --model, --plan, --task/--task-id, --job, --json, --id, --id-contains, --max-output-cost, --min-output-cost, --max-input-cost, --min-context
snodo cloud connect <api_key>
snodo cloud login --no-browser
snodo cloud logout —
snodo cloud disconnect —
snodo cloud status —
snodo cloud sync --all, --session, --force/--retry
snodo cloud schema --json
snodo protocol schema --json
snodo protocol validate [PATH], --json
snodo protocol diff [PATH], --template NAME, --json
snodo install --protocol
snodo uninstall --mode, --all, --purge, --orphans, --yes/-y

For a ChatGPT subscription, configure auth: chatgpt-oauth and run snodo models --provider chatgpt --authenticate to sign in; see the ChatGPT provider guide.

Benchmark one model by its fully qualified name with snodo models --benchmark <provider>/<model>; for example, snodo models --benchmark openai/gpt-4o. This is equivalent to snodo models --provider <provider> --id <model> --benchmark. The benchmark reports measurements for the selected model; benchmark results can be compared with stored task baselines using snodo models --compare (with --plan and --task).

snodo models --set-baseline --plan <plan> --task <task> captures a completed task's solution diff and model/coder as a local baseline. If usage was recorded, its summary and coder-turn count are kept in .snodo/baselines/<plan>/<task>/baseline.json. Run a candidate from the baseline's recorded base commit with snodo models --benchmark-run --plan <plan> --task <task> --model <provider/model>. The preflight notice names the baseline and candidate coder and model and flags a different coder harness. The candidate runs without merging; even if it does not complete, the comparison reports its status, halt type, and available reason.

Use snodo models --compare --plan <plan> --task <task> to compare the latest matching candidate job with the stored baseline, or specify --job <job-id>. The scored signals are patch content, validator outcome, and changed files. Change size and the run-metrics block are shown only: coder time, total elapsed time, coder turns, coder and validator input/output tokens, coder output-token rate, cost, and post-validation findings. Missing values are n/a. Token counts may not be comparable across different coder harnesses; the output notes this. For example, a candidate with status: failed still appears in the comparison with its halt type/reason and metrics, but those metrics do not affect the score. Use --json for machine-readable comparison output.

snodo config set/get take dotted configuration keys (for example llm.coder.max_tokens). Only the top-level model, engine.*, and llm.* keys are supported by the setter; edit other settings, including cloud and notification targets, in ~/.snodo/config.yml. See the configuration reference. snodo cloud schema --json prints the generated cloud interface schema. snodo config --notify-test sends a test to every valid notification target. snodo protocol schema --json prints the generated, versioned JSON Schema for protocol authoring without reading the project's protocol file. snodo protocol diff compares .snodo/protocol.yml with its recorded shipped template (or inferred protocol_id); --template NAME selects a comparison explicitly. Human-readable output and --json separate template/project validator and mode changes, general settings, and project-local settings. Exit code 0 means no drift (or a bespoke protocol with no inferred template); code 1 means drift, and code 2 means the protocol/template could not be loaded or selected. The command is read-only: review the report and adopt changes by editing .snodo/protocol.yml or, when appropriate, running snodo init --force.

All CLI commands show a delayed wave when silent on an interactive terminal, for example [▁▃▅▇▅] testing providers… 1.2s. It is written only to stderr, starts after 0.3 seconds, and clears before command output or prompts. Commands that take over the terminal are excluded: dashboard (full-screen UI), serve (long-running server). The indicator is automatically disabled unless stderr is a terminal, and when CI is set, NO_COLOR is present, TERM=dumb, or running as the MCP server or a background job. Set SNODO_NO_SPINNER=1 to turn it off.

Use snodo cloud login to sign in through a browser and enable cloud sync; snodo cloud login --no-browser prints an authorization URL for a browser on another machine, then prompts for the code shown by the page. Paste either the code or its complete code#state value; the cloud redirect lets a headless machine finish sign-in without a browser callback reaching its localhost. The PKCE verifier remains on the machine. OAuth credentials are stored in ~/.snodo/cloud_oauth.json (or $SNODO_HOME/cloud_oauth.json) and do not replace the configured API key. If both exist, OAuth takes priority. Run snodo cloud connect <api_key> to store the key and switch to API-key authentication; this clears any OAuth login and best-effort revokes its refresh token when the authorization server advertises a revocation endpoint. A failed or unavailable revocation does not prevent the switch. snodo cloud logout signs out of OAuth while retaining any configured API key. snodo cloud disconnect clears the configured API key and OAuth tokens, and disables sync. snodo cloud status reports the active authentication method, OAuth expiry and account details when known, without displaying credential values.

snodo install (and snodo serve --mcp-install) detects Claude Desktop, Claude Code, Cursor, Gemini CLI, GitHub Copilot (VS Code and CLI) and Codex-family clients and installs mode-pinned MCP entries into each detected user's configuration. It uses Claude Code's ~/.claude.json, Cursor's ~/.cursor/mcp.json, Gemini CLI's ~/.gemini/settings.json, and Codex's ~/.codex/config.toml (or CODEX_HOME); Claude Desktop uses its platform-specific user config. Project-level Cursor, Gemini CLI and Claude Code files are not selected. Existing unrelated server entries are preserved, and output identifies updated and undetected clients.

snodo init creates .snodo/protocol.yml and project state from a shipped protocol template. --template selects a shipped protocol by name: solo (Solo Developer), team (Default Snodo), 2+n (2+N Reference), intent (Intent-Driven), greenfield (Greenfield Project), bugfix-surgeon (Bug-Fix Surgeon), feature-warden (Feature-Development Warden), product, design, docs, or research; omit it for the interactive picker. See the non-engineering role templates guide for deliverables, validation, and human review. --test-command sets the quality validator's test command when the template value is empty or a placeholder; otherwise init tries detection from project marker files and may prompt on an interactive terminal. --project-id overrides detected/configured identity and caches it with override scope. --mode selects the starting mode rather than prompting. --force-keygen regenerates the RS256 signing keypair; --force permits overwriting an existing .snodo/ directory or initializing within a Snodo project. --yes and --no-input acknowledge the trusted-repository warning without prompting, including in non-interactive use. --delivery accepts local_merge, push_branch, change_request, or leave_unmerged (the latter leaves delivery unset for a human to merge). In interactive init, omitting it prompts with the selected template's delivery default; --yes, --no-input, and non-interactive init keep that default.

Work and planning

Command Arguments and options
snodo run [description]; --protocol, --model/-m, --coder, --mode, --module, --verbose, --mock, --plan/-p, --wave/-w, --interactive/-i, --from-pr, --background/-b, --resume, --retry, --append-spec, --replace-spec, --retain-worktree, --no-isolation, --fixture
snodo plan list --json, --tree
snodo plan status <name>
snodo plan create <description>, --name/-n, --protocol, --model/-m, --mock
snodo plan validate <name>, --json, --protocol
snodo plan run <name>, --wave/-w, --interactive/-i, --protocol, --model/-m, --coder, --mode, --module, --verbose, --mock, --retain-worktree, --no-isolation, --fixture
snodo plan add-task <plan> <task_id>, --spec-file (required), --parent, --replace, --module
snodo plan add-wave <plan> <id>, --depends-on
snodo plan delete <name>, --force
snodo queue create <name>, --json
snodo queue move <plan>, --front, --before, --after, --to, --json
snodo queue remove <plan>, --json
snodo queue run [queues], --all, --non-blocking, --parallel-run, --protocol, --mock
snodo queue validate [queue], --json
snodo queue (group option) --json
snodo validate <task_spec>, --phase, --protocol, --mode, --json
snodo ready --mode/-m, --protocol, --json
snodo readiness --mode/-m, --protocol, --json (deprecated alias for ready)
snodo recon <query> [paths...], --agents/-n
snodo survey --json, --agent
snodo intake --validator, --json, --accept-all, --reject-all, --no-input
snodo authorize [task_id], --yes/-y, --reject-all

--module names a declared protocol module for a task; it selects that module's test command and bounds writable paths. Plans with no tasks across all waves are refused. snodo plan create makes an authoring scaffold, not a generated or runnable plan. A task can be run directly; waves group parallel tasks, plans order multiple waves, and queues schedule multiple plans. See Authoring a plan and the canonical queue guide.

--fixture is used only when snodo run --plan is supplied; it is ignored for a direct snodo run task. Candidate benchmark results are compared with a stored task baseline through snodo models --compare (with --plan and --task).

snodo recon <query> [paths...] runs read-only codebase exploration, applying the configured llm.recon.deadline_seconds per agent (default 300 seconds) on the CLI as well as through MCP. At startup it prints a Per-agent budget: line showing the deadline and tool-turn limit, then prints each agent's answer. --agents/-n requests the number of agent lanes; if omitted, the configured count is used. Configured models supply the lanes in order, and failed model attempts are reported to stderr. To choose models directly, use repeatable --model <provider/model> (one model per agent) or --models <provider/model,...> (a comma-separated list). For example, snodo recon "Find the cache implementation" --models openai/gpt-4o,anthropic/claude-sonnet-4 runs two agents. The number of listed models determines the number of agents; a model may be repeated. Explicit models always override configured recon models. --model/--models cannot be combined with --agents/-n, and CLI model lists do not support failover chains. Without either explicit model option, the configured count and models are used as described above. See CLI recon.

Jobs, status, and cleanup

Command Arguments and options
snodo status --json
snodo logs <composite_id>, --watch/-w
snodo runs --json, --send
snodo meta <composite_id>, --json
snodo job list —
snodo job status <job_id>
snodo job logs <job_id>, --stream/-s, --tail/-n, --watch/-w
snodo job wait <job_id>, --timeout/-t
snodo job cancel <job_id>
snodo job archive --days, --yes/-y
snodo job prune --days, --yes/-y
snodo job unarchive --days, --yes/-y
snodo job retry <job_id>, [description], --replace-spec
snodo task list —
snodo task show <task_id>, --diff, --max-diff-lines, --json
snodo task abandon <task_id>
snodo task prune --days/--stale-days
snodo task review <task_id> <verdict>, --notes, --report, --pending, --days, --json
snodo task report --days, --json
snodo task complete <task_id>, --plan/-p, --who/--by, --notes, --json
snodo worktree list --json
snodo worktree remove <task_id>
snodo worktree prune --days, --force/-f, --dry-run
snodo audit verify --json
snodo cache clear --json
snodo agent list —
snodo agent memory <agent_id>
snodo agent reset <agent_id>
snodo agent rotate <agent_id>
snodo dashboard —

For a live job, the cloud live view at the configured cloud liveness/app URL with ?task_ref=<task_ref> shows task status and progress when cloud sync is configured and a task reference exists. Use snodo logs <job_id> --watch for the live output stream; snodo job logs <job_id> --watch is also available. snodo logs <recon_id> --watch follows a running recon until it is complete or failed. It shows each agent's progress lines (reads and failovers) as they happen, then prints each agent's answer once as it arrives. Press Ctrl-C to detach without stopping the recon. watch_job is an optional MCP Apps enhancement and returns a plain-text snapshot to hosts that do not render Apps. Job notifications are configured in ~/.snodo/config.yml and tested with snodo config --notify-test. The hidden snodo notify test command is deprecated in v0.18.0 and prints a migration notice; use snodo config --notify-test instead. snodo readiness is likewise a deprecated alias for snodo ready in v0.18.0.

Use snodo status for protocol, active mode/session, and the most recent session run. Use snodo ready for a deterministic, offline check of protocol well-formedness, repository/worktree viability, required delivery remotes, model/provider resolution and credential configuration, binaries, and method scaffolding. Repository protocol/git/scaffolding findings are scored; workstation credentials and binaries are reported unscored. All checks are offline: it does not execute command credential references, make model calls, or contact remotes. --mode filters findings, not the whole-protocol score. snodo runs lists completed task-run records; --send sends those records to Snodo Cloud. snodo task list lists recorded tasks for inspection and management.

snodo task report --days N reports human-review acceptance, validator verdict counts and block rates by phase, and run first-pass/outcome statistics for the window. Run totals include cost, tokens, duration, and the count of runs without measured cost. Add --json for the same report data in machine-readable form; empty sections are reported as no data or null rates. For interpreting these metrics, see Reading overnight run results.

snodo meta <composite_id> summarizes a job or task. Job IDs conventionally start with j_ and task IDs with task_; other values are resolved by checking the project's job and task record directories. For a task, its Runs table lists JOB (the job that ran it), PLAN/WAVE (the plan and wave, when present), TASK, STARTED, ENDED, and OUTCOME. A task run inside a plan wave shows the plan's job ID. A hand-run task has no job ID, so it does not appear in the table.

snodo task show <task_id> also includes a Runs section with the jobs that ran the task. Its columns are JOB, PLAN/WAVE, TASK, STARTED, ENDED, and OUTCOME; PLAN/WAVE identifies the plan and wave when available, and the remaining columns show the run's task ID, start and end times, and outcome. Runs inside a plan wave show the plan's job ID. A hand-run task has no job ID.

MCP server

Command Arguments and options
snodo serve --protocol, --mode, --transport, --port, --tunnel, --tunnel-transport, --public-url, --verbose, --auth, --delete, --hostname, --mcp-install, --mcp-uninstall, --mcp-uninstall-all, --mcp-list, --purge, --orphans, --yes/-y, deprecated --install, --uninstall, --uninstall-all, --project-name

The legacy snodo serve --install, --uninstall, and --uninstall-all options are deprecated in v0.18.0; use --mcp-install, --mcp-uninstall, and --mcp-uninstall-all, respectively. --project-name is also deprecated in v0.18.0.

snodo serve --verbose logs timestamped, redacted and bounded MCP request and response summaries; authentication refusals identify the failed check. The server defaults to stdio. --transport selects the local MCP server transport: HTTP transports require sse or streamable-http. --tunnel-transport selects how a managed tunnel reaches the cloud: cloudflare (the default) uses cloudflared; ws uses an outbound WebSocket, currently supports OAuth only, and needs no cloudflared. These options are independent: --transport is the local MCP transport, not the tunnel transport. --public-url requests an additional public alias for a WebSocket tunnel; it applies only with --tunnel --tunnel-transport ws. --tunnel provisions and starts a managed tunnel. OAuth uses https://mcp-auth.snodo.dev; service-token authentication uses Cloudflare Access at the saved path, normally /mcp-st. --delete must be used with --tunnel. See snodo serve --help for tunnel deletion and MCP client management options for installed Claude Desktop and Codex-family clients (ChatGPT desktop, Codex CLI, and the IDE extension share ~/.codex/config.toml; CODEX_HOME can relocate it).

Without --mode, the server exposes the current mode from .snodo/state.json, falling back to the protocol's initial_mode; --mode pins it to a named mode. It does not combine grants from other modes. The --mcp-install option registers one entry per mode, each started with its matching --mode pin. Each entry points to the Snodo installation that performed the registration, using an absolute executable path. Re-run snodo serve --mcp-install after moving or recreating that virtual environment so clients launch the current installation. Installation and cleanup update each supported client whose configuration directory exists: Claude Desktop and the Codex family (ChatGPT desktop, Codex CLI, and the IDE extension). Codex stores its shared configuration in ~/.codex/config.toml, or $CODEX_HOME/config.toml when CODEX_HOME is set. Absent clients are skipped; restart each updated client after installing.

Managed tunnels configured with --auth service-token expose the saved Access path (normally /mcp-st). Clients send CF-Access-Client-Id and CF-Access-Client-Secret; the server verifies Cloudflare Access assertion Cf-Access-Jwt-Assertion before MCP requests reach the handler. Service-token-only tunnels appear offline to cloud dispatch, so connect directly to that URL. OAuth remains at /mcp.

snodo intent

Record and inspect local operator intents: snodo intent record <text> [--issue ISSUE] [--supersedes ID], snodo intent show <id> (which also lists the plans that name the intent), and snodo intent list. Each command accepts --json.