codegraph
Initialize and use CodeGraph — pre-indexed knowledge graph for 92% faster code exploration. Auto-init when .codegraph/ missing. Use when exploring unfamiliar…
от skeletorflet★ 48 звёзд на GitHub
Установить codegraph в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
codegraph
Initialize CodeGraph when a project lacks .codegraph/, and use it as the PRIMARY code exploration method.
Auto-Init (when .codegraph/ is missing)
- Check installation:
codegraph --version
If not found → npm install -g @colbymchenry/codegraph
- Initialize and index the project:
codegraph init -i
- Verify:
codegraph status
Expected: Files: N, Nodes: N, Backend: native
- 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
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл codegraph?
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?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл codegraph запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…