smart-explore

Token-efficient structural code search through tree-sitter AST parsing.

Install

See setup instructions on claude-mem.ai

What it does

Smart Explore is a code exploration skill that replaces the usual file-reading discovery cycle with structure-aware tools. Instead of scanning a project with grep, glob, and full-file reads, it builds a structural map first and fetches only the implementation it needs. Three MCP tools do the work: smart_search walks a directory, parses code files, and returns ranked symbols with signatures and folded file views; smart_outline returns a skeleton of functions, classes, methods, properties, and imports for a single file; smart_unfold returns the complete source of one named symbol using AST boundaries. It is aimed at coding agents working in larger codebases, and the source reports token savings of roughly 4-8x versus reading whole files and more versus a full exploration agent. Installation happens through the claude-mem installer, which detects agents on the machine and wires up the tools; supported clients include Claude Code, Codex, and Cursor. Structural parsing covers JavaScript, TypeScript, TSX/JSX, Python, Go, Rust, Ruby, Java, C, C++, and Delphi/Pascal, plus heading-based navigation for Markdown. Limitations: unrecognized file extensions yield no symbols, custom grammars cannot be registered through .claude-mem.json, and the tools locate and show code rather than synthesize cross-file explanations.

Skill files

  • SKILL.md

Repository data

Stars
119,337
Last push
Nov 23, 2026
License
Apache-2.0
Archived
No

Tools similar to smart-explore

FAQ

What license does smart-explore use?
Apache-2.0
What files are included with smart-explore?
SKILL.md

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/skills/smart-explore"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options