operon mine
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.
operon polish [slug]
Use Claude to turn a candidate into a clean SKILL.md. Requires ANTHROPIC_API_KEY.
- --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.
operon publish <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.
operon list
List candidates and operons. (alias: `ls`)
- --candidates
- Show only candidates.
- --operons
- Show only operons.
- --sort <key>
- Sort key: score | recent | name.
operon show <slug>
Pretty-print a candidate skill or published operon.
- --exemplars <N>
- Show N exemplar sessions. Default 3.
- --full
- Show full prompt and tool details.
operon prune
Archive stale candidates (lastSeenAt older than --older-than).
- --older-than <duration>
- Staleness threshold (e.g. 30d, 60d, 90d). Default 60d.
- --apply
- Actually archive (default: dry-run).
- --yes
- Skip the confirmation prompt.
operon undo [slug]
Reverse the most recent destructive action.
- --list
- List recent undoable actions.
- --id <undo-id>
- Undo a specific action by id.
operon scan
advanced
Scan Claude Code, Codex, and Cursor sessions to surface recurring skills (as candidate operons).
- --source <src...>
- Limit to one or more sources.
- --since <duration>
- Only consider sessions newer than (e.g. 30d, 14d, 24h).
- --top <N>
- Render top N candidates. Default 10.
- --no-redact
- Skip secrets redaction (warns loudly; dev-only).
- --anon-stats
- Opt in to anonymous usage stats (one-time).
- --peer <repo...>
- Cross-reference candidates against peer repos' .claude/skills/.
operon suggest
advanced
Scan, rank, and optionally polish. Surface what's actually worth saving.
- --source <src...>
- Limit to one or more sources.
- --since <duration>
- Window to scan (e.g. 7d, 30d). Default 30d.
- --top <N>
- Show the top N suggestions. Default 5.
- --polish
- Also call Claude to draft a clean SKILL.md per suggestion (needs ANTHROPIC_API_KEY).
- --min-uses <n>
- Only suggest patterns with at least this many sessions. Default 2.
- --submit
- Submit mining telemetry to the Operon platform (requires operon login).
- --workspace <slug>
- Workspace slug for submitted telemetry.
- --api-base <url>
- Override platform base URL.