claudemem-search

Analyze codebases with tree-sitter AST parsing and PageRank symbol ranking.

278|29|Updated Nov 4, 2025
One-click install
npx skills add https://github.com/MadAppGang/claude-code --skill claudemem-search-madappgang
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: claudemem-search
Source: https://github.com/MadAppGang/claude-code/tree/main/plugins/code-analysis/skills/claudemem-search
Command: npx skills add https://github.com/MadAppGang/claude-code --skill claudemem-search-madappgang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides guidance on leveraging claudemem v0.4.0+ with AST-based analysis for intelligent code understanding and navigation.

Core Features & Use Cases

  • Core commands: map, symbol, callers, callees, context, search
  • Structural understanding: AST graph, PageRank, and symbol mapping

Quick Start

Before reading code, run claudemem status and then claudemem map "authentication" --raw to understand structure.

Frequently Asked Questions about claudemem-search

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

FAQPage Schema
How do I search code semantically across a large codebase?▼

Semantic code search uses vector embeddings and BM25 ranking to find relevant code by meaning, not just keyword matches. claudemem-search analyzes your codebase with tree-sitter AST parsing and symbol graphs to return contextually ranked results across multi-language repositories, enabling faster debugging and comprehension.

Can I understand code structure through AST analysis instead of reading files manually?▼

AST-based structural analysis parses code into abstract syntax trees, mapping symbols, function calls, and dependencies automatically. claudemem-search constructs symbol graphs and applies PageRank ranking to show you which functions are most critical and how they connect, eliminating manual navigation.

How do I find all callers and callees for a specific function?▼

The callers and callees commands trace function relationships through AST parsing and symbol graph construction. claudemem-search identifies every place a function is invoked and everything it calls, supporting refactoring, impact analysis, and dependency debugging across your codebase.

What's the best way to map and explore unfamiliar code repositories?▼

Start with the map command to generate structural overviews using AST graphs and PageRank-ranked symbols. claudemem-search reveals architecture, key entry points, and symbol importance before you dive into reading, accelerating onboarding and comprehension of new codebases.

Does AST-based code search work with multiple programming languages?▼

AST analysis with tree-sitter supports multiple languages in a single repository. claudemem-search handles language-agnostic structural parsing and symbol graphs, letting you search and navigate across polyglot codebases without switching tools.

How do I get context-aware results when querying specific symbols?▼

Context-aware symbol queries combine vector embeddings with BM25 ranking and AST-based symbol graphs. claudemem-search returns ranked results filtered by symbol type and relationship, delivering precise hits instead of noise, with version-aware fallbacks for reliability.