CLI Reference

The CodeBroker CLI is a blazing fast local code graph — every command below is available once you've run codebroker init. Run codebroker help at any time to see this list from your terminal.

codebroker help
A blazing fast local code graph

Usage: codebroker <COMMAND>

Options:
  -h, --help  Print help

Commands

CommandDescription
initInitializes the database and indexes the codebase
queryQueries the graph for a specific symbol
dependents
context
knowledge
metrics
analytics
dashboard
reindex-incrementalRe-parses only the given files and re-links their edges, instead of a full repository rebuild. Faster for small edits.
bindInstantly hooks up Claude Desktop and Antigravity to the current directory
validateValidates the structure and health of the compiled graph
inspectInspects a single relationship's deterministic resolution trace
validate-toolsValidates Repository Capability (Tool Agreements & Graph Completeness)
analyze-resolutionAnalyzes the resolution pipeline and outputs aggregate statistics
summaryPrints a high-level summary of the project
overviewPrints a logical overview of the project's subsystems
hotspotsPrints project structural hotspots
architecturePrints architectural layers inferred from dependencies
entrypointsPrints categorized entrypoints
prepare-contextPrepares context for a subsystem
updateUpdates the CodeBroker CLI to the latest release
helpPrint this message or the help of the given subcommand(s)