codegraph-skill
Installation
SKILL.md
CodeGraph Skill
CodeGraph provides a pre-indexed AST code graph for this project.
Terrain uses CLI only — do not run codegraph install (that configures MCP/agent rules separately).
Resolve the CodeGraph command (read first)
Use conventional paths only — never machine-specific absolute paths like /Users/... or C:\Users\....
On Windows, the wrapper may be codegraph.cmd or codegraph.exe under ~/.terrain/bin/.
| Priority | Command | When |
|---|---|---|
| 1 | ~/.terrain/bin/codegraph |
Terrain env integration (see existence check below) |
| 2 | bunx codegraph |
No Terrain install; needs network once |
| 3 | npx codegraph |
Same as bunx if Bun unavailable |
Optional manifest (local, gitignored): .terrain/env/agent-tools.json — same ~/.terrain/bin/… conventions.