Download for MacApple silicon, macOS 14+
Skill

smart-explore

@thedotmack Updated 2026-10-29

Token-optimized structural code search using tree-sitter AST parsing. Use instead of reading full files when you need to understand code structure, find functions, or explore a codebase efficiently.

aiai-agentsai-memoryanthropicartificial-intelligencechromadbclaudeclaude-agent-sdk

Install

With your agent

Install OMGSkills skill "thedotmack/claude-mem:smart-explore" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/thedotmack/claude-mem /tmp/claude-mem && ln -s /tmp/claude-mem/plugin/skills/smart-explore ~/.claude/skills/smart-explore

From README

Smart Explore Structural code exploration using AST parsing. This skill overrides your default exploration behavior. While this skill is active, use smartsearch/smartoutline/smartunfold 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: Do NOT run Grep, Glob, Read, or find to discover files first. smartsearch walks directories, parses all code files, and returns ranked symbols in one call. It replaces the Glob → Grep → Read discovery cycle.