# smart-explore

> Claude/Codex skill by [@thedotmack](https://omgskills.com/library/thedotmack/index.md) · 89k stars · Updated 2026-08-02

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.

Tags: ai, ai-agents, ai-memory, anthropic, artificial-intelligence, chromadb, claude, claude-agent-sdk, claude-agents, claude-code, claude-code-plugin, claude-skills, embeddings, long-term-memory, mem0, memory-engine, openmemory, rag, sqlite, supermemory

## Install

```sh
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.

## Links

- HTML page: https://omgskills.com/skills/thedotmack/claude-mem/smart-explore/
- GitHub: https://github.com/thedotmack/claude-mem
- Author: [@thedotmack](https://omgskills.com/library/thedotmack/index.md)

## More from this repo

- [do](https://omgskills.com/skills/thedotmack/claude-mem/plugin/skills/do/index.md) — Execute a phased implementation plan using subagents.
   - [@thedotmack](https://omgskills.com/library/thedotmack/index.md) · 94k stars
- [babysit](https://omgskills.com/skills/thedotmack/claude-mem/plugin/skills/babysit/index.md) — Watch a pull request or review cycle until it is ready to merge.
   - [@thedotmack](https://omgskills.com/library/thedotmack/index.md) · 91k stars
- [cloud-sync](https://omgskills.com/skills/thedotmack/claude-mem/plugin/skills/cloud-sync/index.md) — Set up or check claude-mem cloud sync with cmem.ai Pro.
   - [@thedotmack](https://omgskills.com/library/thedotmack/index.md) · 91k stars
