CLI commands
Flags for the terminal UI, one-shot prompts, resume, and subcommands
CLI commands
supercharge with no arguments opens the terminal UI in the current directory.
supercharge --help
supercharge --version
supercharge updateEveryday flags
| Flag | What it does |
|---|---|
-p, --single <PROMPT> | One prompt, then exit. Also started by --prompt-json or --prompt-file. |
-m, --model <MODEL> | Model id for this run. |
-c, --continue | Continue the newest session in this directory. |
-r, --resume <ID_OR_TITLE> | Resume by session id, or by title in this directory. Prefer the id in scripts. |
-s, --session-id <UUID> | Create a new session with this UUID. It does not resume. Errors if the id is already used. |
--fork-session | With -r or -c, copy history into a new session id. |
--cwd <PATH> | Working directory. |
--yolo | Approve every tool call. Same idea as /always-approve. |
--permission-mode <MODE> | bypassPermissions is always-approve. |
--allow <RULE> | Repeatable allow rule. Works in the TUI and headless. |
--deny <RULE> | Repeatable deny rule. |
--rules <TEXT> | Extra text appended to the built-in system prompt. |
--system-prompt-override <TEXT> | Replace the built-in system prompt. Alias --system-prompt. An empty value is ignored. |
--effort, --reasoning-effort <LEVEL> | none, minimal, low, medium, high, xhigh, max, or a level that model advertises. |
--output-format <FMT> | Headless: plain, json, streaming-json, streaming-messages-json. |
--include-partial-messages | Raw stream deltas. Only with streaming-messages-json. |
--tools <LIST> | Headless allowlist of built-in tool ids, comma-separated. |
--disallowed-tools <LIST> | Headless denylist. Agent blocks all subagents. Agent(explore) blocks one type. |
--max-turns <N> | Headless stop after this many turns. |
--prompt-file <PATH> | Prompt text from a file. |
--prompt-json <JSON> | Prompt as JSON content blocks. |
--verbatim | Send the prompt exactly as given. |
--minimal / --fullscreen | Session screen mode. Does not rewrite config.toml. |
--lean | Start this session with the built-in Lean 4 agent (Leancharge). Same as /lean in-session. |
--no-auto-update | Skip the update check for this process. |
--sandbox <PROFILE> | Local filesystem and network isolation profile for tool runs. This is the CLI sandbox, not a remote VM. |
--remote <URL> | Attach to an ACP WebSocket, for example ws://127.0.0.1:2419/ws. |
--secret <TOKEN> | Secret for that remote server. |
--tools, --disallowed-tools, and --max-turns are ignored in the interactive UI, with a warning. The shell tool id is run_terminal_cmd.
supercharge -p "Explain this repo" --tools "read_file,grep,list_dir"
supercharge -p "Review the diff" --disallowed-tools "web_search,web_fetch,search_replace"
supercharge -c -p "Continue the migration"
supercharge -r 3f2a1c0e-0000-4000-8000-000000000000Subcommands
| Command | What it does |
|---|---|
supercharge models | List models from the saved provider. |
supercharge login | Start a sign-in flow when you use optional session auth. Provider keys still go through /setup. |
supercharge logout | Clear cached session credentials. |
supercharge update | Update the installed binary. |
supercharge acp setup --editor zed | Configure Zed to launch Supercharge as an ACP agent. Add --print to preview. |
supercharge agent stdio | ACP agent for an editor or SDK over stdin/stdout. |
supercharge agent serve | ACP agent over WebSocket. See Agent Client Protocol (ACP). |
supercharge agent daemon | HTTP inbox when its companion server is present; otherwise ACP WebSocket fallback. See Run modes. |
supercharge usage <session-id> [turn] | Print stored token totals for a local session. |
supercharge browser install | Download the optional headless browser used by browser tools. |
supercharge browser status | Show whether that binary is installed. |
supercharge browser uninstall | Remove the browser binary and its skill copy. |
supercharge eval run --preset smoke | Grade the agent on a built-in set: smoke, rust, or web. |
supercharge eval run --dataset <path> | Grade a JSONL dataset, or a directory of .jsonl files. |
supercharge eval best-of | Race several attempts at one task and keep the patch that passes --test-cmd. |
supercharge clone <url> [dir] is off unless Grove clone is enabled (SUPERCHARGE_CLONE=1, SUPERCHARGE_GROVE=1, or the matching config). The default checkout is depth 1. --full-history clones everything.
Browser tools
Browser tools need a local browser binary. They are off until you install it:
supercharge browser install
supercharge browser status
supercharge browser uninstallinstall downloads the platform binary into the Supercharge home. status prints whether it is there. uninstall removes the binary and the browser skill copy under ~/.supercharge/skills/browser.
Evals
supercharge eval run --preset smoke
supercharge eval run --preset rust --attempts 3 --concurrency 2
supercharge eval run --dataset tasks.jsonl --out-dir .supercharge-eval/runs
supercharge eval best-of --instructions "Fix the parser" --repo-path . --test-cmd "cargo test" --n 4Presets are smoke, rust, and web. --dataset is a JSONL file or a directory of them, and it is required when you omit --preset. Each run writes run.json, grades.json, and report.md. The default agent invocation is supercharge --single {prompt} inside the task worktree. --attempts turns on pass@k. best-of races --n attempts (default 4), each with a 300 second budget, and keeps the attempt whose --test-cmd exits 0.