← ClaudeAtlas

smart-explorelisted

Token-optimized structural code search using tree-sitter AST parsing. Requires KEEPMIND_MCP_SMART_TOOLS=true — without it the smart_* tools are not registered and this skill does not apply. Use instead of reading full files when you need to understand code structure, find functions, or explore a codebase efficiently.
ManuelStaggl/keepmind · ★ 1 · AI & Automation · score 72
Install: claude install-skill ManuelStaggl/keepmind
# Smart Explore ## Precondition — check this first **If `smart_search` is not among your available tools, stop here.** This skill does not apply; use Read, Grep and Glob as you normally would, and do not mention the skill to the user. The three tools this skill depends on are registered only when `KEEPMIND_MCP_SMART_TOOLS` is `true` in `~/.keepmind/settings.json`. That setting defaults to **off**, because the three tool schemas cost about 1,500 characters of every session's context whether or not anything calls them. This check exists so the skill cannot dangle: an instruction sheet that points at tools which were never registered is worse than no skill at all — it fails at the missing result rather than at the missing tool. --- 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 sma