CLI Command Reference
Complete documentation of all commands exposed by the centr command-line interface.
Primary Commands
| Command | Description | Example |
|---|---|---|
centr init | Initialize CentR and build AST index | centr init |
centr sync | Incrementally sync changed files via SHA-256 | centr sync |
centr status | Display project intelligence status & stats | centr status |
centr search <query> | Ranked BM25 search across symbols & paths | centr search "auth" |
centr context <task> | Generate token-budgeted context for an agent | centr context "Fix login bug" |
centr symbol <name> | Lookup symbol definition and references | centr symbol "UserController" |
centr memory <cmd> | Manage project-isolated institutional memories | centr memory add ... |
centr learn <cmd> | Manage cross-project evidence-backed learnings | centr learn list |
centr skills <cmd> | Register and search development skills | centr skills list |
centr doctor | Verify environment, SQLite integrity, and schema | centr doctor |
centr benchmark | Run latency SLA and real-agent A/B benchmarks | centr benchmark |
centr brain <cmd> | Manage optional local SLM Brain | centr brain recommend |