knowledge-graph
Knowledge graph integration for token-efficient codebase understanding. Uses codebase-memory MCP for AST indexing, dependency graphs, and smart context selection. 6-71x token savings vs raw file reading.
Profile →npx skills add vibeeval/vibecosystem --skill knowledge-graph --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Knowledge Graph Integration ## Overview Transform any codebase into a queryable knowledge graph using codebase-memory MCP server. Instead of reading entire files, query the graph for exactly the context you need. **Token savings:** 6-71x reduction compared to raw file reading. ## Setup ### Prerequisites - codebase-memory MCP server installed (`~/bin/codebase-memory-mcp` or via npm) - MCP config in `~/.mcp.json`: ```json { "mcpServers": { "codebase-memory": { "command": "/path/to/codebase-memory-mcp", "args": [] } } } ``` ## Core Operations ### 1. Index a Repository ``` mcp__codebase-memory__index_repository project_name: "my-project" repo_path: "/path/to/repo" ``` First index takes 30-120s depending on repo size. Subsequent updates are incremental. ### 2. Check Index Status ``` mcp__codebase-memory__index_status project_name: "my-project" ``` ### 3. Search Code ``` mcp__codebase-memory__search_code project_name: "my-project" query: "authentication middleware" ``` Returns relevant code snippets without reading entire files. ### 4. Get Architecture Overview ``` mcp__codebase-memory__get_architecture project_name: "my-project" ``` Returns high-level architecture: modules, dependenci
- Overview
- Setup
- Prerequisites
- Core Operations
- 1. Index a Repository
- 2. Check Index Status
- 3. Search Code
- 4. Get Architecture Overview
- 5. Trace Call Paths
- 6. Query Dependency Graph
- When to Use
- Integration with Agents
- code-reviewer
- architect
What does the knowledge-graph skill do?
Knowledge graph integration for token-efficient codebase understanding. Uses codebase-memory MCP for AST indexing, dependency graphs, and smart context selection. 6-71x token savings vs raw file reading.
How do I install it?
Run `npx skills add vibeeval/vibecosystem --skill knowledge-graph --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From vibeeval/vibecosystem, a repository with 521 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.