Agent skill · AI & Agents

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.

vibeeval521★ · 1 repos on radarProfile →
claude-codeMIT
Install
npx skills add vibeeval/vibecosystem --skill knowledge-graph --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 3 KB
Bundled scripts: none
Path: skills/knowledge-graph/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 521
Language: C#

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Overview
  2. Setup
  3. Prerequisites
  4. Core Operations
  5. 1. Index a Repository
  6. 2. Check Index Status
  7. 3. Search Code
  8. 4. Get Architecture Overview
  9. 5. Trace Call Paths
  10. 6. Query Dependency Graph
  11. When to Use
  12. Integration with Agents
  13. code-reviewer
  14. architect
More from vibecosystem
All skills →
About this skill
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.

Keep going