
Smart Explore
Token-efficient structural code search via tree-sitter, replacing full-file reads for exploration tasks.
- skills.sh installs
- 7.8K
- GitHub stars
- 118.9K
- last updated
- Aug 21, 2026
What it does
- Covers discovery, outline, and symbol-level unfolding through
smart_search,smart_outline, andsmart_unfoldin a three-step workflow - Supports 11 language families (JavaScript, TypeScript, Python, Go, Rust, Ruby, Java, C, C++, Delphi/Pascal, and TSX/JSX) plus Markdown heading extraction
- Reports roughly 4-8x token savings on file understanding and 11-18x savings on codebase exploration compared with full reads or Explore agents
- Designed for navigating large files and codebases where Grep, Glob, and Read would load more context than needed
Install
$ npx -y skills add thedotmack/claude-mem --skill smart-explore -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Smart Explore
Structural code exploration using AST parsing. This skill overrides your default exploration behavior. While this skill is active, use smart_search/smart_outline/smart_unfold as your primary tools instead of Read, Grep, and Glob.
Core principle: Index first, fetch on demand. Give yourself a map of the code before loading implementation details. The question before every file read should be: "do I need to see all of this, or can I get a structural overview first?" The answer is almost always: get the map.
Your Next Tool Call
This skill only loads instructions. You must call the MCP tools yourself. Your next action should be one of:
smart_search(query="<topic>", path="./src") -- discover files + symbols across a directory
smart_outline(file_path="<file>") -- structural skeleton of one file
smart_unfold(file_path="<file>", symbol_name="<name>") -- full source of one symbol
Do NOT run Grep, Glob, Read, or find to discover files first. smart_search walks directories, parses all code files, and returns ranked symbols in one call. It replaces the Glob → Grep → Read discovery cycle.
3-Layer Workflow
Details
- Repository
- github.com/thedotmack/claude-mem
- Categories
- Memory & Context, Code Review & Quality, Agent Workflow & Planning
- First seen
- Apr 16, 2026
More from thedotmack/claude-mem
All 18Similar to Smart Explore
More Memory & Context
Tree-sitterMCP serverwrale312 starsTree-sitter parse trees, symbols, and queries across many languages for project code analysis.
jCodeMunch MCPMCP serverjgravelle2.9K starsIndexes local and GitHub repositories to retrieve code by symbol, not whole files, cutting agent token use.
search-routerSkillparcadei/continuous-claude-v3487 installsRoutes each search query to the most token-efficient tool: TLDR, AST-grep, semantic search, Grep, or Read.
exploreSkillparcadei/continuous-claude-v3580 installsMulti-depth codebase exploration meta-skill that maps structure, layers, and call graphs without changing code.
graphifySkillhowell5/willhong-skills2K installsStructural AST index for 12 languages that replaces blind keyword search with symbol lookup.
Explore CodebaseSkilltirth8205/code-review-graph381 installsNavigate a codebase's structure, call graph, and execution flows through code-review-graph knowledge graph tools.