Every operon verb, grouped by what you're trying to do — with its flags and a command you can copy and run.
Getting started
operonsetup
One-shot onboarding: sign in, detect AI tools, pick a workspace, mine your first candidates.
--yes
Accept all defaults (skip prompts where safe).
--non-interactive
Fail fast if any prompt would be required (CI / agent mode).
--no-browser
Token-paste fallback for headless setup.
--since <duration>
First-mine window (e.g. 30d, 90d). Default 30d.
--workspace <slug>
Use this workspace; create it if it doesn't exist.
--api-base <url>
Override platform base URL.
operonlogin
Sign in to the Operon platform (device-code flow).
--workspace <slug>
Set default workspace slug for publish.
--token <token>
Skip the device-code flow; pass a PAT directly (op_pat_...).
--no-browser
Don't try to open a browser; print the URL instead.
--api-base <url>
Override platform base URL.
operondoctor
Sanity-check the install and local data layout.
--fix
Attempt to repair config / permissions issues.
operonupgrade
Check for a newer @withoperon/cli on npm, optionally install it.
--apply
Run the install (npm i -g @withoperon/cli@latest). Without it, only checks.
Mine & publish
operonmine
Find recurring prompts in your Claude Code, Codex, and Cursor sessions. Preview, accept, and publish them as operons.
--source <src...>
Limit to one or more sources.
--workspace <slug>
Override the default workspace from config.
--since <duration>
Window to scan (e.g. 7d, 30d, 90d). Default 30d.
--top <N>
Max candidates to preview. Default 5.
--dry-run
Print candidates, do not publish.
--yes
Skip prompts and publish all candidates.
--api-base <url>
Override platform base URL.
operonpolish[slug]
Recommended before publishing: use Claude to turn a raw mined candidate into a clean, reusable SKILL.md. Requires your own ANTHROPIC_API_KEY. Skip it and you publish the raw draft prompt.
--batch
Polish every candidate above --min-score.
--min-score <n>
Score threshold for --batch. Default 0.
--limit <n>
Cap the number of candidates polished in --batch. Default 10.
operonpublish<slug>
Publish a skill to your team (uploads as an operon; requires operon login).
--workspace <slug>
Override the default workspace from config.
--visibility <v>
private | team. Default team.
--api-base <url>
Override platform base URL.
operonlist
List mined candidates and installed operons. (alias: `ls`)
--candidates
Show only mined candidates.
--operons
Show only installed operons.
--sort <key>
Sort key: score | recent | name.
operonshow<slug>
Pretty-print a candidate skill or published operon.
--exemplars <N>
Show N exemplar sessions. Default 3.
--full
Show full prompt and tool details.
operonprune
Archive stale candidates (lastSeenAt older than --older-than).