Explore
Explore local codebase, trace dependencies, and check tests before a code change; persists EXPLORE.md via fresh-context subagent (change-prep/explain…
от melodic-software★ 34 звезды на GitHub
Установить Explore в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Explore
Arguments. [--output change-prep|explain] [scope]. --output sets the reply shape for this run (Reply shape) and is not part of the scope. e.g., /discovery:explore payments module dependencies, /discovery:explore tests, /discovery:explore git, /discovery:explore config
Repository context. Gather first
Run each command below as its own Bash call, all sent together in one message (worktree isolation).
Keep any bound in the command's own pipe (output limits).
Unless this section says otherwise, treat a failure (not a repository, git unavailable) as an unknown value and carry on. Keep these as body calls, never ## Pre-computed context lines (gather-block convention).
- Current branch,
git branch --show-current - Working tree status (empty = clean),
git status --porcelain | head -20 - Project root,
git rev-parse --show-toplevel
These values orient this session only. Resolve files against the project root, an absolute machine path, but never echo it into EXPLORE.md; the handoff artifact records relative paths (outcome gate below).
Reply shape: explore_output
Resolve explore_output before routing; it decides only the final reply. EXPLORE.md and its
sidecars are written the same way under every value. Lowest layer first, a later one winning
(key contract: ${CLAUDE_PLUGIN_ROOT}/reference/config.md):
- the default,
auto; - the
userConfigvalue,${user_config.explore_output}(a literal unexpanded token means unset;autohere is reported as the default, since the two cannot be told apart); explore_outputindocs/conventions/discovery.yamlat the project root;- an
--output change-prepor--output explainargument on this invocation.
Read the file with the Read tool; a missing file or key leaves that layer unset, and the file does
not apply when the project root is unknown. No ~/.claude file, .claude/ file or personal override
sets this key. A value other than auto, change-prep or
explain in any layer (or an --output value other than the two) is named in the reply, with the
file or userConfig that held it, the key, and the value, and that layer is dropped. A valid
higher layer (such as --output) still wins; with none, the run continues on the default, auto,
reported as the default level with the invalid value named. It never falls through to a lower
layer's value.
Under auto, pick the concrete shape:
explainonly when a person asked, in their own message, how something works ("how does the retry scheduler work", "walk me through the login flow").change-prepfor everything else: a request made before a change, and every invocation from another skill (a skill body told you to run/discovery:explore, or you are a subagent another skill dispatched), however its scope is worded. A calling skill that wants a walkthrough passes--output explain.
State one line in the reply: the concrete shape and the layer that supplied the value, e.g.
explore_output: explain (auto from the default; how-does-it-work request) or
explore_output: change-prep (docs/conventions/discovery.yaml).
The two shapes:
change-prep: the handoff summary: what exists, the constraints and patterns a change must respect, the open questions with recommended defaults, and the next stage (/discovery:researchor/planning:plan(if enabled)).explain: a walkthrough of how the scope works, in the order a request or call moves through it, each step citing thepath:lineit rests on, from files the run Read. Open questions are still surfaced. No next-stage recommendation unless the person asked for one.
Routing. Dispatch by default
From the main conversation, this skill dispatches the discovery:explorer subagent. Exploration reads many files; keeping that out of the orchestrator's context window is the point. The agent loads the project's path-scoped rules, runs the six dimensions, writes the artifact set, and returns a bounded summary plus a file pointer, not the reads. The parent resolves the pre-dispatch envelope first, six fields (scope, reason, memory-slice path, memory root, budget, capability flags), written into the dispatch prompt as the labeled template in ${CLAUDE_PLUGIN_ROOT}/reference/parent-contract.md, not as prose the agent has to parse, and owns the post-dispatch boundary after: re-surfacing `o
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- evals/evals.json
- reference/dispatch.md
- reference/ecosystem-discovery.md
- reference/native-explore.md
- reference/workflow.md
FAQ
Что делает скилл Explore?
Explore local codebase, trace dependencies, and check tests before a code change; persists EXPLORE.md via fresh-context subagent (change-prep/explain, read-only). Use when: 'what exists for X', 'how does this work', 'what tests cover this'. Not for bare locates (Explore agent), rationale: /discovery:trace-intent, or non-repo: /discovery:research.
Как установить скилл Explore?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Explore запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…