| Command | Purpose |
|---|---|
init | Full wiki generation for a repository |
update | Incremental wiki regeneration from new commits; --working-tree also indexes uncommitted edits |
generate | Write or rewrite the model-written concept pages (guide) |
reindex | Rebuild vector search index from existing pages |
serve | Start API server + web UI |
mcp | Start MCP server for editor integration |
search | Search the wiki by keyword, meaning, or symbol name (guide) |
ask | Ask a question, get a cited answer (LLM call) (guide) |
context | Triage card for files/modules/symbols: summary, hotspot, fix history (guide) |
symbol | Read one function/class/constant with live-verified line bounds (guide) |
why | Why the code is shaped this way: decisions + git archaeology (guide) |
status | Show wiki sync state + statistics |
next | The few things worth doing next, ranked from the index (guide) |
costs | Estimate LLM costs for generation |
distill | Run a command, print a compact errors-first rendering (guide) |
expand | Restore output behind a [repowise#<ref>] omission marker |
saved | Input tokens agents did not have to read, and what they were worth (guide) |
savings sync | Record savings agents were shown but the ledger never banked (guide) |
corrections | Recurring fail→fixed command fumbles mined from agent transcripts |
workspace | Manage multi-repo workspaces |
decision | Manage architectural decision records |
hook | Manage post-commit git hooks + the distill rewrite hook (guide) |
agents | Wire repowise into Claude Code, Codex, Cursor, VS Code, OpenCode, Hermes, GitHub Copilot CLI, Kiro (guide) |
uninstall | Remove repowise from this repo, and optionally this machine (guide) |
security | scan for leaked secrets and risky patterns, including full git history (guide); check gates a change on the findings it adds (guide) |
watch | Auto-sync wiki on file changes |
augment | Enrich Claude Code tool calls with graph context |
export | Export wiki as markdown / json |
generate-claude-md | Generate CLAUDE.md from the wiki |
config hints | Turn the occasional repowise.dev hint line on or off (guide) |
dead-code | List unused code |
doctor | Health checks on wiki setup |
health | Score every file across defect risk, maintainability, and performance (guide) |
risk | Rank a commit or diff range by size and spread against recent commits, or gate CI on it (guide) |
overlap | Show which other branches edit the files this change edits (guide) |
coverage | Ingest coverage reports, and gate a change on its patch coverage (guide) |
impacted-tests | Print the tests a change needs, or :all when unsure (guide) |
doc-drift | Show documentation the repository no longer matches, or gate CI on it (guide) |
changes | list, show and export merged changes (Change Records) with their evidence checklist (guide) |
check | Evaluate the change policy in .repowise/policies.yaml; writes SARIF or JUnit (guide) |
suspects | Rank recent changes against a symptom, with the evidence for each (guide) |
report | assessment, changes and inventory evidence packs as JSON, Markdown, HTML or CSV (guide) |
events | Typed component events between index runs (guide) |
components | check, list and ownership for Backstage-shaped components (guide) |
packages | where, export (CycloneDX 1.6) and import for third-party package usage (guide) |
attribution | status, backfill and purge AI attribution (guide) |
restyle | Switch wiki style and regenerate every page in the new voice (guide) |
wiki-styles | List available wiki styles (guide) |
whats-new | Show release notes since you last looked (guide) |
plugins | List loaded plugins and the implementation each seam uses (guide) |
telemetry | Inspect/control anonymous opt-out usage telemetry |
login / logout / whoami | Hosted repowise.dev account sign-in and status |
publish | Put this repo on repowise.dev, indexed from its pushed remote (guide) |
delete | Delete a repo's stored index (not source files) (guide) |
Each command is documented in full on the pages in this section.