smart-explore

Installation
SKILL.md

Smart Explore: AST-Based Code Navigation

Use these tools when available (requires claude-mem plugin). Fall back to Read/Grep/Glob if unavailable.

When to Use Which

Task Tool Tokens
File structure at a glance smart_outline ~1,500
Cross-file symbol discovery smart_search ~3,500
Read a specific function/type smart_unfold ~400-2100
Simple string search Grep varies
Full file needed Read ~8,000+

Progressive Disclosure Workflow

  1. Outline first: smart_outline shows every function/class/interface with bodies collapsed
  2. Search if needed: smart_search finds symbols across files by concept
  3. Unfold targeted: smart_unfold extracts exact function source by AST node — never truncates
  4. Read only if needed: Fall back to Read for files where AST parsing isn't useful

Key Advantages

  • AST-based extraction guarantees complete function bodies (no truncation)
  • Structural views show all symbols without reading full file content
  • Predictable cost: 1 tool call per operation, consistent token ranges
  • Composable: outline → search → unfold chain naturally
Related skills
Installs
2
GitHub Stars
19
First Seen
Apr 14, 2026