Initialize and use CodeGraph — pre-indexed knowledge graph for 92% faster code exploration. Auto-init when .codegraph/ missing. Use when exploring unfamiliar codebases, tracing call flows, or before editing.
Scanned 9/12/2026
Install to Claude Code
npx -y skills add skeletorflet/opencode-supreme-setup --skill codegraph --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Codegraph?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/skeletorflet-codegraph)More formats (shields.io, HTML) on the badges page.
---
name: codegraph
description: Initialize and use CodeGraph — pre-indexed knowledge graph for 92% faster code exploration. Auto-init when .codegraph/ missing. Use when exploring unfamiliar codebases, tracing call flows, or before editing.
---
## codegraph
Initialize CodeGraph when a project lacks `.codegraph/`, and use it as the PRIMARY code exploration method.
### Auto-Init (when `.codegraph/` is missing)
1. Check installation:
```bash
codegraph --version
```
If not found → `npm install -g @colbymchenry/codegraph`
2. Initialize and index the project:
```bash
codegraph init -i
```
3. Verify:
```bash
codegraph status
```
Expected: `Files: N, Nodes: N, Backend: native`
4. If `Backend: wasm` (slow) → `npm rebuild better-sqlite3`
### Using CodeGraph for Exploration
Once `.codegraph/` exists, ALWAYS prefer CodeGraph MCP tools:
| Tool | What for |
|------|----------|
| `codegraph_explore` | **Primary exploration** — returns full source from all relevant files in one call |
| `codegraph_search` | Find symbols by name |
| `codegraph_callers` / `codegraph_callees` | Trace call flow |
| `codegraph_impact` | Check what's affected before editing |
| `codegraph_node` | Get single symbol details |
### Rules
- Explore agents: pass this in prompt → "This project has CodeGraph. Use codegraph_explore as PRIMARY tool."
- NEVER re-read files codegraph already returned source for
- CodeGraph > grep/glob/Read/Find for any code understanding task
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!