gcx-self
01Command Claude Code
Dogfood GitCortex on its own repo. Installs the local gcx binary, indexes this workspace, and prints a sanity tour.
Branch-aware code knowledge graph for Git repos — indexes your codebase on every commit via tree-sitter, queries via MCP for Claude and other AI assistants.
Command Claude Code
Dogfood GitCortex on its own repo. Installs the local gcx binary, indexes this workspace, and prints a sanity tour.
Command Claude Code
Pre-release gate for GitCortex. Run before bumping version. Reports a checklist with PASS/FAIL per item — do not bump or tag.
Command Claude Code
Run the GitCortex pre-commit gate in parallel and report results.
Command Claude Code
Run the REAL token benchmark (measured Claude usage) and turn it into a ship/fix decision. Use before a release or after changing any MCP tool.
Command Claude Code
Run gcx blast-radius --base main --head HEAD --format text and show the results. Summarise which functions changed and which callers are affected, and highlight the risk level.
Command Claude Code
Run gcx query find-callers $ARGUMENTS and show the results. List every caller with its kind, name, file, and line number. Briefly describe the call chain.
Command Claude Code
Run gcx query list-definitions $ARGUMENTS and show the results. Display all definitions ordered by line number with their kind, name, visibility, and location.
Command Claude Code
Run gcx query lookup-symbol $ARGUMENTS and show the results. Display each match with its kind, qualified name, file path, and line number.
Command Claude Code
Run gcx query search $ARGUMENTS and show the results. Output is a ranked list of code-graph hits — score, name, kind, file:line, qualified name. Higher score = stronger match (exact > prefix > substring; functions/structs boosted). Use this to find a symbol when only a fragment of its name is known.
Command Claude Code
Run gcx query tour $ARGUMENTS and show the rendered markdown plan. Without --seed, returns a centrality-ranked tour of the highest-traffic public symbols (good for onboarding a new contributor). With --seed , BFS-walks the call graph outward from that symbol. Each step lists name, kind, file:line, and a one-line…
Command Claude Code
Run gcx query wiki $ARGUMENTS and show the rendered markdown. The output is a wiki-style page for the named symbol: definition signature, doc-comment, callers, callees, and used-by — assembled from the GitCortex graph. Paste directly into a README or PR description; do not re-format.