Agent skill · software engineering · aradotso

code-review-graph

Build a persistent knowledge graph of your codebase so Claude reads only what matters — up to 49x fewer tokens on coding tasks.

Why this skill is useful

Adds executable scripts for building and updating a code review graph that optimizes token usage in code reviews, significantly enhancing Claude's capabilities.

What it needs

Requires python, uv installed locally. About 6k tokens when loaded. Last updated 2026-07-09. 70 stars on the source repository.

What this skill does

code-review-graph Skill by ara.so — Daily 2026 Skills collection. code-review-graph builds a persistent structural map of a codebase using Tree-sitter, stores it in a local SQLite graph, and exposes it to Claude via MCP. Instead of re-reading entire projects on every task, Claude queries the graph and reads only the files in the blast radius of a change — averaging 6.8× fewer tokens on code reviews and up to 49× on daily coding tasks in large monorepos. --- Installation Claude Code Plugin (recommended) Restart Claude Code after installation. pip Requires Python 3.10+ and uv. Optional: semantic search support Enables vector embeddings via sentence-transformers for semanticsearchnodestool. --- Initial Setup After installation, open your project in Claude Code and run: Or use the slash command: The first build parses the full codebase (~10 seconds for 500 files). After that, the graph updates incrementally on every file save and git commit (under 2 seconds for a 2,900-file project). --- CLI Reference --- Slash Commands in Claude Code Command What it does --- --- /code-review-graph:build-graph Build or rebuild the code graph from scratch /code-review-graph:review-delta Review changes since the last commit /code-review-graph:review-pr Full PR review with blast-radius analysis --- MCP Tools (used automatically by Claude) Once the graph is built, Claude calls these tools without manual prompting: Tool Purpose --- --- buildorupdategraphtool Build or incrementally update the graph getimpactradiustool Find all files/functions affected by a change getreviewcontexttool Return a token-optimised structural summary for review querygraphtool Query callers, callees, tests, imports, inheritance semanticsearchnodestool Search code entities by name or meaning embedgraphtool Compute vector embeddings for semantic search listgraphstatstool Graph size and health statistics getdocssectiontool Retrieve documentation sections findlargefunctionstool Find functions/classes over a line-count th …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aradotso/code-review-graph

View the source on GitHub

Browse the @skills marketplace