Code Graph — Development skill for Claude Code
Query the code graph for functions, classes, files, and call relationships.
How to install Code Graph
Installs to ~/.claude/commands/rysweet-amplihack-code-graph.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/rysweet/amplihack/HEAD/.claude/commands/code-graph.md -o ~/.claude/commands/rysweet-amplihack-code-graph.md Restart Claude Code, or start a new session, for it to be picked up.
What Code Graph does
name: code-graph version: 2.0.0 description: Query the code graph for functions, classes, files, and call relationships triggers:
- "show code graph"
- "query code graph"
- "search codebase"
- "find function" philosophy:
- principle: Observable application: Clear view of codebase structure via graph queries
- principle: Zero-BS
application: Uses real query tool, no stubs or temp scripts
dependencies:
required:
- Python packages: kuzu
- scip-python (npm install -
Alternatives in Development
- Notebooklm Skill — Use this skill to enable Claude Code to communicate directly with your Google NotebookLM notebooks 5.9k ★
- Cq — An open standard for shared agent learning 1.3k ★
- Crypto Market Rank — Query crypto market rankings including trending tokens, smart money inflows, meme rankings, and top trader PnL 483 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Codemesh
Query the code knowledge graph before reading code. One-call context assembly via codemesh_answer returns inli
Dead Code
List orphan functions, classes, atoms, and endpoints with no inbound references — framework entry points exclu
Kg Navigator
Knowledge graph specialist for entity relationships across videos.
Vault Architect
Analyze the vault concept graph and propose structural refactors. Use when topics, relationships, or knowledge
Docs Query
Answer operational technical questions (how do I configure X / which parameter controls Y / how do I call Z in
Graph
Run a read-only Cypher query against the live codegraph Neo4j graph
Related Agents
Deep Explore
Deep codebase exploration using grepai semantic search and call graph tracing. Use this agent for understandin
Connection Finder
Specialized agent for discovering hidden connections between permanent notes, identifying non-obvious relation
Code Searcher
Use this agent for comprehensive codebase analysis, forensic examination, and detailed code mapping with optio