Pi Codegraph — Development skill for Claude Code
Pi-agent wrapper around codebase-memory-mcp: derived code knowledge (call graphs, blast radius) over a harness-owned trust boundary.
How to install Pi Codegraph
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open renezander030/pi-codegraph and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Pi Codegraph does
Pi-agent wrapper around codebase-memory-mcp: derived code knowledge (call graphs, blast radius) over a harness-owned trust boundary.
Alternatives in Development
- Understand Anything — Graphs that teach graphs that impress 80.7k ★
- Octo Freeze — Restrict file edits to a specific directory boundary 2.8k ★
- Icpg Impact — /icpg-impact — Show Blast Radius 705 ★
README
pi-codegraph
**A trusted Pi-side wrapper around [codebase-memory-mcp](https://github.com/DeusData/codebase-memory-mcp).** It gives an agent *derived* knowledge — call graphs, blast radius, architecture — extracted from your code, so it stops re-greping the same repo every session. The companion to [pi-okf](https://github.com/renezander030/pi-okf) (which carries *authored* knowledge) and a sibling of [pi-gate](https://github.com/renezander030/pi-gate).
codebase-memory-mcp parses a repo into a persistent knowledge graph (tree-sitter, 158 languages) and exposes ~14 MCP tools. `pi-codegraph` is the deterministic, agent-first front end: it resolves and speaks MCP to that binary, normalizes the results to JSON (or a `-H` table), and puts a harness-owned trust boundary in front of it.
`pi-recall` is the standalone Pi extension that can use `pi-codegraph` as its first recall backend. Keep the boundary clear: `pi-codegraph` owns the trusted derived-codegraph wrapper; `pi-recall` owns the Pi slash commands and model-callable recall tool.
Why a wrapper
Some knowledge an agent needs is already in the code: who calls a function, what a diff breaks, where the dead code is. No graph tool should be trusted blindly with your repo, and an agent should not be re-launching a third-party server with ad-hoc flags. `pi-codegraph` pins the binary, gates which repos it runs against, and gives the agent one stable, scriptable surface.
Install
Requires **Node ≥ 18**. The wrapped engine is separate:
git clone https://github.com/renezander030/pi-codegraph
ln -s "$PWD/pi-codegraph/pi-codegraph" /usr/local/bin/pi-codegraph
# install the engine (see its repo), then point pi-codegraph at it:
pi-codegraph config-bin /path/to/codebase-memory-mcp # or set PI_CODEGRAPH_BIN
pi-codegraph doctor # confirm it's found
Quick start
pi-codegraph doctor # is the engine installed?
pi-codegraph trust --repo . --label
Related Skills
Codebase Graph
Code intelligence MCP server — 42-language tree-sitter AST parsing, FalkorDB knowledge graphs, 0.944 MRR searc
Clawctl
Drive openclaw via the clawctl wrapper. Read-only by default, JSON-first, traceparent on every call, secrets r
Skill S17 Blast Radius Classifier
SKILL_S17: blast-radius-classifier
Analyze Field Impact
/analyze-field-impact — Score the blast radius of renaming or deleting a field
Drupal Blast Radius
Analyze dependencies and blast radius for a feature or module
Blast Radius
Show everything that depends on a symbol (class / function / method) — run before renaming, deleting, or movin
Related Agents
Verifier Impact
Calibrates the authentic blast radius, privilege boundary violation, and CVSS vector.
Osf Analyze
Codebase structural analysis using codebase-retrieval. Traces dependencies, blast radius, call chains, and imp
Codegraph
Optional. Query a CodeGraph index of the repo for the impact radius, callers, callees, and affected tests of c