code-graph
Installation
SKILL.md
Code Graph
Build a persistent .claude/codegraph.md index so any future task can read one file and know exactly where to look. Scripts do all structural extraction — the agent only writes purpose summaries.
Quick Start
# 1. Run the scanner (does all file discovery, export + import extraction)
node <skill-dir>/scripts/scan.js > .claude/codegraph.draft.md
# 2. Check if existing graph is still fresh
bash <skill-dir>/scripts/check-stale.sh # exits 0 if fresh, 1 if stale
# 3. Agent annotates the draft with purpose summaries → saves as codegraph.md