codebase-memory-reference

Index repositories and search code graphs via MCP tools.

5|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/sambeau/kanbanzai --skill codebase-memory-reference-sambeau
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-memory-reference
Source: https://github.com/sambeau/kanbanzai/tree/main/.github/skills/codebase-memory-reference
Command: npx skills add https://github.com/sambeau/kanbanzai --skill codebase-memory-reference-sambeau

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Codebase Memory MCP provides a structured reference for interacting with codebase memory tools, enabling precise discovery, querying, and code retrieval across indexed repositories.

Core Features & Use Cases

  • Tool Reference: Includes a comprehensive list of tools for indexing, searching, tracing, and reading code within indexed projects.
  • Graph Knowledge: Documents edge types and node labels used to model code relationships for advanced queries and reasoning.
  • Use Case Scenarios: Locate symbols by qualified names, inspect code snippets, and analyze dependencies across a repository.

Quick Start

Locate a symbol by qualified name using search_graph and retrieve its code snippet with get_code_snippet.

Frequently Asked Questions about codebase-memory-reference

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a knowledge graph from a codebase for code search?

You locate a symbol by its qualified name using the search_graph tool, then retrieve the exact source lines by calling get_code_snippet with the matching node identifier.

What is a codebase knowledge graph and how does it model code relationships?

Cross-file symbol tracing is accomplished using the trace_call_path tool, which follows the standardized edges in the knowledge graph to map execution paths across different files.

Can I query a codebase graph to trace function call paths across files?

Yes, you can query the codebase graph using the query_graph tool, which executes targeted searches against the indexed nodes and edges to return specific code relationships and structural data.

How do I find a specific code snippet using a graph query?

You can detect code changes using the detect_changes tool, which evaluates the indexed repository state against new modifications to identify altered files and symbols within the project.

Does the codebase memory reference support reading files and listing directories?

The codebase memory reference provides a comprehensive suite of MCP tools including index_repository, search_graph, and trace_call_path, offering structured graph queries compared to basic text search.

How do I manage indexed projects in my codebase memory?

You manage indexed projects by using the list_projects tool to view all tracked repositories, index_status to check processing progress, and delete_project to remove obsolete codebases from memory.