codegraph
Skill0 starsChanged 54 days agoMITView on GitHub
Code graph: symbols, callers, impact. Prefer over grep. Use when exploring or refactoring a repo.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- sunerpy/codegraph-rusttheir own version, first seen Sep 30, 2026
- full-stack-skills/agent-skillstheir own version, first seen Sep 19, 2026
- shahmanager/frontiertheir own version, first seen Sep 17, 2026
- lsongdev/skillstheir own version, first seen Sep 10, 2026
- linkpranay-ai/context-engineering-protocoltheir own version, first seen Aug 24, 2026
- SylphAI-Inc/skillstheir own version, first seen Aug 5, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- SylphAI-Inc/skills★ 111same name
- sunerpy/codegraph-rust★ 12same name
- linkpranay-ai/context-engineering-protocol★ 9same name
- full-stack-skills/agent-skills★ 2same name
- lsongdev/skills★ 1same name
- shahmanager/frontier★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository156 other files it gives its agents.
- AGENTS.mdAGENTS.md
- aes-agentSkill
- aes-capabilitiesSkill
- aes-contractSkill
- aes-docsSkill
- aes-lint-arwakySkill
- aes-migrationSkill
- aes-rootSkill
- aes-surfaceSkill
- aes-taxonomySkill
- aes-testing-suiteSkill
- aes-utilitySkill
- omnirouteSkill
- xai-apiSkill
- android-emulator-linux-gpsSkill
- chromium-profile-provisioningSkill
- flatpak-chromium-automationSkill
- qwen-web-arwaky-devSkill
- qwen-webSkill
- agent-tool-collectionSkill
- coding-agent-delegationSkill
- computer-useSkill
- hermes-agentSkill
- hermes-home-cleanupSkill
- hermes-messaging-gatewaysSkill
- merge-reconcilerSkill
- cleanup-consolidateSkill
- codacy-analysis-cliSkill
- codacy-cloud-cliSkill
- codacy-code-reviewSkill
- codebase-inspectionSkill
- coderabbit-reviewSkill
- configure-codacy-cloudSkill
- configure-codacySkill
- fix-bypassSkill
- fix-markdown-inline-htmlSkill
- harness-source-auditSkill
- no-mistakesSkill
- ponytail-auditSkill
- ponytail-debtSkill
- ponytail-gainSkill
- ponytail-helpSkill
- ponytail-reviewSkill
- ponytailSkill
- report-linter-false-positiveSkill
- setup-coverageSkill
- architecture-diagramSkill
- ascii-artSkill
- ascii-videoSkill
- baoyu-infographicSkill
- comfyuiSkill
- excalidrawSkill
- humanizerSkill
- manim-videoSkill
- no-ai-slopSkill
- p5jsSkill
- popular-web-designsSkill
- pretextSkill
- sketchSkill
- songwriting-and-ai-musicSkill
- The first 60 shown.
The file
Files
CodeGraph MCP & CLI
CodeGraph is a high-performance, Rust-powered codebase intelligence engine. It builds and maintains a live graph of symbols, types, call hierarchies, and cross-file dependencies with zero cloud dependencies.
When to Use This Skill
Reach for this before grep/Read, not after they fail:
- Exploring an unfamiliar codebase or a large multi-file architecture.
- Finding callers, callees, or references of a specific function or class.
- Resolving a symbol's declaration and signature across files.
- Checking cross-file blast radius before refactoring a shared interface.
- Picking which tests to run for a set of changed files.
Grep matches text; CodeGraph resolves symbols and the edges between them. The difference shows up in the questions only it can answer — "what breaks if I change this", "which tests cover this file", "what calls this and how".
An Index Must Exist First
A project is queryable only after codegraph init has built <project>/.codegraph/. The MCP
server registers and starts fine with no index anywhere, so a dead-looking tool is usually a
missing index, not a broken wiring:
codegraph status <project-path> # "⚠ Not initialized" ⇒ nothing to query from
```text
- `init` is a write to the repository (creates untracked `.codegraph/`) — ask before running
it in someone else's tree, and check whether `.gitignore` covers it.
- `sync` applies the delta since last index; the background daemon keeps indexes fresh, so
don't re-index by hand mid-session.
- Indexing belongs to the orchestrator: `aa tool run codegraph <cmd>`.
## MCP Tools
The installed build (v1.6.0) exposes exactly these eight. Any other `codegraph_*` name is a
hallucinated tool and will fail.
| Tool | Purpose |
|---|---|
| `codegraph_explore` | **Primary.** One call returns the relevant symbols' line-numbered source, the call paths between them, and a blast-radius summary — replaces a grep+Read loop. |
| `codegraph_node` | A single symbol's source plus its caller/callee trail, or a file read with line numbers and its dependents. |
| `codegraph_search` | Symbol lookup by name/kind. |
| `codegraph_callers` | Who calls a symbol. |
| `codegraph_callees` | What a symbol calls. |
| `codegraph_impact` | What code is affected by changing a symbol. |
| `codegraph_files` | Project file structure from the index. |
| `codegraph_status` | Index presence and statistics — call this when a query comes back empty. |
**No default project:** this server may start somewhere without a `.codegraph/`. For any
project that isn't the session's working directory, pass its path as `projectPath`; the tool
resolves the nearest `.codegraph/` at or above it. A project with no index needs `codegraph
init` run in it first (the user's decision, not yours).
## CLI Direct Queries
Same outputs as MCP, useful for a quick check or when piping:
```bash
codegraph status # is there an index, and how big?
codegraph explore "how does the dispatcher route commands"
codegraph node <symbol> # source + caller/callee trail
codegraph impact <symbol> # blast radius of changing it
codegraph affected src/foo.py src/bar.py # test files touched by these changes
codegraph files # indexed tree
codegraph ui # browse the graph in a browser
```text
Each subcommand takes `--path` / `-p` for another project and `--help` for its own flags.
## References
Maintainer-only workflows for the vendored `vendor/codegraph` submodule. Load the
matching file — do not guess at these procedures:
| Reference | Read it when |
|---|---|
| [`references/add-language.md`](references/add-language.md) | Adding/supporting a new tree-sitter language end-to-end: grammar health-check, AST node discovery, the 4-file wiring, extraction verify loop, tests, then benchmarking on 3 real repos. |
| [`references/evaluating.md`](references/evaluating.md) | Benchmarking/auditing retrieval quality: a with-vs-without-codegraph A/B on a real repo for a chosen codegraph version (local dev build or published npm). |Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

