Skip to content
Agentmart
Submit a tool

knowledge-graph

Knowledge graph integration for token-efficient codebase understanding.

Skill by vibeeval

IndexedMIT★ 540
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vibeeval-knowledge-graph

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/knowledge-graph

What's inside

Skill name
knowledge-graph
Description
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.
License
MIT
Instructions
109 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# 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, dependencies, entry points.

### 5. Trace Call Paths
```
mcp__codebase-memory__trace_call_path
  project_name: "my-project"
  from_symbol: "handleLogin"
  to_symbol: "validateToken"
```

### 6. Query Dependency Graph
```
mcp__codebase-memory__query_graph
  project_name: "my-project"
  query: "what depends on auth module?"
```

## When to Use

| Scenario | Without Graph | With Graph |
|----------|--------------|------------|
| Code review | Read all changed files + imports | Query impact of changes |
| Bug investigation | Read 10-20 files manually | Trace call path to bug |
| Refactoring | Read entire module | Query all dependents |
| Architecture review | Read project top-down | Get architecture overview |

## Integration with Agents

### code-reviewer
Before reviewing, query the graph for the blast radius of changes:
```
search_code("functions that call {changed_function}")
```

### architect
Get architecture overview before proposing changes:
```
get_architecture("project")
```

### sleuth
Trace call paths to understand bug propagation:
```
trace_call_path("buggy_function", "entry_point")
```

## Token Savings Examples

| Operation | Raw Reading | Graph Query | Savings |
|-----------|-----------|-------------|---------|
| Find all callers of function | ~50K tokens | ~700 tokens | 71x |
| Architecture overview | ~200K tokens | ~3K tokens | 67x |
| Impact analysis for PR | ~30K tokens | ~2K tokens | 15x |
| Find related tests | ~20K tokens | ~1.5K tokens | 13x |

From vibeeval/vibecosystem, MIT.

More from vibeeval/vibecosystem

Signals

Stars
540
Forks
44
Open issues
5
Last commit (this folder)
Apr 7, 2026 (6 months ago)
Last release
Apr 12, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from vibeeval

Cite this page

knowledge-graph skill. Agent Mart. https://agentmart.dev/skills/vibeeval-knowledge-graph (last updated 2026-10-24)