smart-explore

Explore codebases by parsing ASTs to discover functions and symbols.

Updated Jun 14, 2026
One-click install
npx skills add https://github.com/trehansalil/claude-mem-deploy --skill smart-explore-trehansalil
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smart-explore
Source: https://github.com/trehansalil/claude-mem-deploy/tree/main/image/plugin/skills/smart-explore
Command: npx skills add https://github.com/trehansalil/claude-mem-deploy --skill smart-explore-trehansalil

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Smart Explore addresses the challenge of quickly understanding the structure of codebases, finding specific functions, and exploring code without reading through entire files.

Core Features & Use Cases

  • Structural Code Search: Offers a token-optimized approach to code search using tree-sitter AST parsing.
  • Efficient Exploration: Enables quick discovery of files and symbols without pre-scanning, and detailed file structures without reading the entire file.
  • Custom Commands: Provides custom commands like smart_search, smart_outline, and smart_unfold for targeted exploration.

Quick Start

Use the smart-explore skill to search for all occurrences of the 'shutdown' function across the codebase.

Frequently Asked Questions about smart-explore

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

FAQPage Schema
How do I explore a codebase without reading entire files?

Structural code search uses tree-sitter AST parsing to find functions and symbols across a codebase. This token-optimized method identifies specific code patterns and occurrences, like a 'shutdown' function, without reading entire files.

What is structural code search and how does it work?

Structural code search uses tree-sitter AST parsing to find functions and symbols across a codebase. This token-optimized method identifies specific code patterns and occurrences, like a 'shutdown' function, without reading entire files.

How do I get a structural overview of a file using AST parsing?

You can get a structural overview of a file using AST parsing through custom commands like `smart_outline`. This provides a detailed breakdown of file structures and symbols without requiring a full pre-scan of the codebase.

Can I find specific function occurrences across a codebase without pre-scanning?

Yes, you can find specific function occurrences without pre-scanning by using targeted structural search commands. It enables rapid discovery of symbols and functions across the codebase on demand using tree-sitter AST parsing.

Does codebase navigation with tree-sitter require any external dependencies?

Codebase navigation with tree-sitter AST parsing is implemented as a standalone skill with no external dependencies. It provides built-in commands for structural search and file outlining without requiring additional environment setup.