Steroid Kit logo

Steroid_Kit

Steroid CLI›Command Reference

Steroid CLI — Command Reference

Every steroid command, its flags, and what it does. Run any command with --help for the same information inline. None of these commands need a Steroid account.

All Commands

Everything here runs on your machine. The network is only used for recall answers (through your agent's own provider), updates, usage counts (tied to a random install ID) and the setup health check.

Everyday Commands

The handful you'll reach for most — one from each area. Full detail is in the sections below.

CommandWhat it does
steroidLaunch the interactive terminal UI: pick and set up your agents on first run, then manage projects, agents and settings. The default when you run steroid with no subcommand.
steroid project initRegister the current folder (its git root) and build its chat-memory index. Optional: the first recall in a project indexes and registers it automatically.
steroid memory ask "<question>"Ask about past work and get a written answer that cites the project, agent, session title and date, followed by a list of sources.
steroid memory diff <diff_id>Fetch the full diff/file content for a diff id from a recall answer.
steroid doctorRun installation diagnostics; exits 1 only if a check fails, with or without --json (warnings still exit 0).
steroid daemon statusShow whether background sync is running.
steroid updateUpdate the CLI to the latest release now.
steroid --version (-V)Print the installed version (e.g. steroid 0.4.1) and exit.

NOTE

Every command accepts --help, e.g. steroid memory ask --help.

Conventions & Syntax

A few conventions hold across almost every command below — stated once here instead of repeated in every table.

  • --project <path> defaults to the current directory on memory commands.
  • --json is available on doctor, setup, install-onboard-skill, whats-new, memory status/list/scan, project status, telemetry status; use each command's help for its output contract.
  • --force on memory build rebuilds from scratch.
  • <angle> = required argument; [brackets] = optional argument.
  • Shell completion: steroid --install-completion edits your shell's profile to add it — for zsh, a line in ~/.zshrc plus a file under ~/.zfunc/; bash, fish, PowerShell and pwsh are also supported. --show-completion prints the same script without writing anything, if you'd rather read it first or wire it in yourself.
  • Most commands never signal failure through their exit code — memory build/rebuild/status/list/remove/diff, project list, telemetry *, whats-new, daemon status/stop and uninstall all exit 0 even when they printed a warning or an error (memory diff with an unknown id, for example, prints an error field but still exits 0). Read the printed message, not the exit code. doctor is the one that exits 1 on a real failure (see below).

Chat Memory & Recall

Steroid's flagship local capability. Index and recall from your past AI-chat history for this project (steroid memory …). Steroid reads history from Claude Code, Codex, Cursor (desktop IDE and Cursor CLI), GitHub Copilot CLI and OpenCode, so you can recall a conversation from one agent while working in another. --project defaults to the current directory. Your history and its index stay on this machine. Recall answers are written by the coding agent you already use, through its own model provider. That provider sees your question, an outline of this project's history (session titles, dates and the question that started each turn) so it can pick what is relevant, and the text of the turns it picks, all with recognised credentials already redacted.

CommandFlagsWhat it does
memory build--project, --forceBuild or refresh this project's index. --force rebuilds from scratch. It does not register the project, so background sync won't keep it fresh: use project init / project add, or just ask (the first recall indexes and registers the project).
memory rebuild--projectForce a full rebuild from scratch.
memory status--project, --jsonShow the memory-index status, per source.
memory list--project, --jsonList the chat-memory indexes present, per agent.
memory remove--agent <name>, --projectDelete this project's index: only Steroid's copy, never the agent's own history. --agent limits it to one source: claude-code | codex | cursor | cursor-cli | copilot | opencode.
memory scan--project, --all, --json, --findList the sessions that held secrets, with counts by type and never the values. --all covers every project any agent has history for; --find reads one secret (8+ characters, otherwise it exits 2) from stdin (pipe it, e.g. pbpaste | steroid memory scan --find) and lists every session that contains it. The secret is never printed and never lands in your shell history.
memory forget [session-id]--turn N, --agent, --project, --undo, --listDrop a session (or one turn of it) from Steroid's index for good; it stays out of every rebuild. An index that already exists is rebuilt right away; otherwise the session is left out whenever the project is next indexed. The id can be a unique prefix of 8+ characters (shorter, or missing with no --list, exits 2; no match exits 1). A forgotten turn leaves a “turn removed by user” stub, so other turn numbers don't change. --undo brings it back; --list shows what you've forgotten. --agent limits the match to one of claude-code, codex, cursor, cursor-cli, copilot or opencode. The agent's own transcript is untouched.
memory ask <query>--project, --globalAsk a question about this project's past work and get a written answer that cites the project, agent, session title and date, followed by a list of sources. --global searches every project that already has an index (it never builds one). Exits 1 if there's nothing to search yet.
memory diff <diff_id>--projectFetch the full diff / file content for a diff id from a recall answer (e.g. d1fbddca0-t047-e0). Always prints JSON, even for an id that doesn't exist (an error field, still exit 0).
memory view--agent <name>, --projectOpen a browsable view of an agent's index for this project in your browser. Secrets show as redacted. Exits 1 if there's no index to show yet.

NOTE

Inside your agent, the same capability is exposed as the MCP tools recall_memory, recall_turn, and recall_diff.

Examples

steroid project init
steroid memory ask "how did we fix the timeout bug?"
steroid memory ask --global "where did we set up rate limiting?"
steroid memory diff d1fbddca0-t047-e0

You don't need to index anything before asking: the first recall in a project indexes and registers it, and says so in its answer. project init and project add do the same up front. Background sync refreshes registered projects that already have an index about every 5 minutes, so new sessions show up within a few minutes. Inside a git repo, subfolders and linked worktrees count as one project. If you delete a git worktree, a later rebuild may drop its history.

Agent Setup

CommandBehavior
setup <ide>Wire an agent: cursor (the Cursor desktop IDE and Cursor CLI; needs the Cursor CLI installed), claude-code, codex, copilot (GitHub Copilot CLI) or opencode. Flags: --check re-verifies without changing the agent's config (it still runs the live check unless you add --skip-health-probe); --json; --skip-health-probe skips the slow live agent check (so it doesn't prove recall answers will work).
install-onboard-skillInstall the steroid-onboard skill into every detected agent. The installer runs this for you. Flag: --json.

Projects

Track the folders you work in and build their chat-memory index (steroid project …). Registered projects are the ones background sync keeps fresh and the TUI lists.

CommandFlagsWhat it does
project init—Register + index the current directory with no path argument (resolves the project root from the nearest .git). Exits 1 if the project can't be registered.
project add [path]—Register a project folder (default: the current directory) and build its chat-memory index. A path inside a git worktree registers its main checkout. Exits 1 if the project can't be registered.
project status [slug|path]--jsonShow the chat-memory index status for a project (default: the current directory). Exits 1 for a bare name that's neither a folder here nor a registered project.
project list—List all registered projects.
project remove <slug|path>--keep-artifactsUnregister and delete Steroid's generated index (.steroid/, .steroidignore, chat-memory) for every agent. Source files are untouched. --keep-artifacts only unregisters, leaving the generated files on disk. Exits 1 if the project isn't registered.

Background Sync

Background sync keeps your registered projects' indexes fresh (about every 5 minutes), installs updates and sends the usage counts. Setting up an agent (with steroid setup or in the TUI) turns it on; daemon start does it by hand.

CommandFlagsWhat it does
daemon start--forceMake sure background sync is registered and running. Safe to repeat: it does nothing if it's already running, and restarts it if it's registered but stopped. --force re-registers and restarts it even when it is running. Exits 1 if it can't register the service.
daemon status—Show whether background sync is registered and running.
daemon stop—Stop background sync and deregister it. Always exits 0 — even when it prints Failed: … — so check the printed message, not the exit code.

Diagnostics

One-shot health check of the install. It has no subcommands of its own — doctor on its own runs every check directly, despite what its --help usage line implies.

CommandFlagsWhat it does
doctor--jsonRun installation diagnostics — version, update source, registered projects, Cursor's MCP entry, the skills in each agent, background sync, update status, and indexing health. Exits with code 1 only if a check fails: the project registry can't be read, Cursor's ~/.cursor/mcp.json is corrupt, or a project is in an error state. Warnings (such as background sync registered but not running, or a failed update) and info rows exit 0. --json emits the result as a JSON array.

Telemetry

Steroid sends usage counts tied to a random install ID — never your questions, answers, code, conversations, paths or project names. See Telemetry for the full list.

CommandFlagsWhat it does
telemetry status--jsonShow whether telemetry is on, and why it is off if it is.
telemetry disable—Turn telemetry off for good. Also deletes the install id and any unsent events.
telemetry enable—Turn telemetry back on, with a new random id.

NOTE

DO_NOT_TRACK=1 and STEROID_TELEMETRY_DISABLED=1 also work, but only for commands started from a shell that sets them, not for background sync. steroid telemetry disable covers everything.

Updating & Removing

Keep the binary current or remove Steroid entirely. (There's a dedicated Updating & Uninstalling page too; this is the quick command reference.)

CommandFlagsWhat it does
update--auto on|offInstall the latest release now, skipping the usual 1-hour wait. Automatic updates are on by default; --auto on|off saves that setting and installs nothing (exits 0; an invalid value exits 2). With automatic updates off you're still told when a new version is out. A real update exits 0 when it's already current or the install succeeded, 1 if it fails (the running binary is left untouched).
whats-new--since <version>, --jsonShow what changed in recent releases. By default it covers everything since your last update notice (or the full history on a fresh install); --since picks the starting version.
uninstall--yes / -yRemove Steroid from this machine: background sync; Steroid's MCP entry and instruction blocks in each agent — for Claude Code, Codex and GitHub Copilot CLI, only if that agent's CLI is still on PATH (Cursor's and OpenCode's are always removed, since Steroid edits those files directly); the managed skills; the ~/.local/bin wrapper and its PATH line; and all of ~/.steroid/. Kept: your agents' own chat history, the steroid-onboard skill (so an agent can reinstall Steroid), and per-project .steroid/ folders from older versions. The confirmation defaults to No; --yes skips it. Always exits 0, even if a step reported a warning — read the summary it prints, not the exit code.

WARNING

steroid uninstall is irreversible — it deletes all ~/.steroid/ data, including your memory indexes, your settings and your forget list.

Continue Reading

→ Local Mode→ Steroid CLI — Overview→ Updating & Uninstalling

On this page