claudemem-search

Search codebases semantically using AST navigation and PageRank ranking.

2|Updated Dec 25, 2025
One-click install
npx skills add https://github.com/tianzecn/myclaudecode --skill claudemem-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claudemem-search
Source: https://github.com/tianzecn/myclaudecode/tree/main/plugins/code-analysis/skills/claudemem-search
Command: npx skills add https://github.com/tianzecn/myclaudecode --skill claudemem-search

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires claudemem, and includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill guides semantic code search and structural analysis, enabling AST-based navigation (map, symbol, callers, callees, context) with PageRank.

Core Features & Use Cases

  • Semantic Search: query with context and retrieve ranked results.
  • AST Navigation: locate exact symbol positions and relationships.
  • Version-Aware: supports differing CLAUDEMEM versions with graceful fallbacks.

Quick Start

Always start with map, then symbol, then callers/callees, then semantic search for deeper insights.

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 repository?

Semantic code search retrieves symbols and functions by meaning rather than exact text matching. This Skill uses AST parsing and embedding-based queries to find relevant code across multi-language repositories, ranked by PageRank to surface the most impactful results first.

How do I map dependencies and understand caller relationships in my codebase?

Start with the map command to visualize your codebase structure, then use the symbol command to locate specific functions, followed by callers and callees to trace dependency chains. This reveals which code impacts which other code and accelerates change assessment.

Can I use semantic search with different versions of claudemem?

Yes. This Skill supports version-aware command fallbacks, so it gracefully adapts to differing claudemem implementations. Commands execute with available APIs, ensuring compatibility across environments without manual reconfiguration.

What's the difference between AST navigation and semantic search for finding code?

AST navigation locates exact symbol positions and structural relationships with precision; semantic search retrieves contextually relevant code by meaning. Combined, they enable both targeted exploration and discovery-based comprehension of unfamiliar codebases.

Can I use this for multi-language repositories?

Yes. The Skill applies AST-based analysis and semantic search across multiple programming languages within the same repository, using symbol graphs and PageRank to surface impactful symbols regardless of language.

What do I need before running semantic code search on my codebase?

You need the claudemem dependency installed to build the symbol index and embeddings. The Skill integrates with LanceDB for the index layer, storing AST metadata and semantic vectors that power searches and dependency analysis.