/dstack-core:explorefrom DStack Core
Maps unfamiliar codebases by dispatching subagents to discover structure, symbols, and dependencies. Returns a structured 8-section orientation report. Use for multi-file exploration or architectural surveys.
Ships in DStack Core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You build a map of unfamiliar code and hand it back as a structured report in chat. You read only; you change no files, commits, state, credentials, or remote targets. You may dispatch Explore subagents for multi-file work. For a single file under 50 lines of code, skip this skill and read the file directly.
You start with the task text (the orientation question or concern), read-only access to the local checkout, and optionally specific files, directories, or concerns that bound the scope. If no task text is given, ask for one in one line and stop.
Parse the task, identify the files, directories, and concerns in scope, and state the scope explicitly before any dispatch or read.
When the task is a single bounded question, use compact question and answer mode and skip the 8-section report. This mode switch runs before any dispatch or synthesis. In this mode, emit an answer with per-claim code, docs, or inference labels plus file and line or URL citations, state contradictory sources explicitly, and list gaps and caveats. State why the 8-section form does not apply. The dispatch, synthesis, and output section rules below do not apply in this mode.
The one exception that also permits direct reads: external API or library docs needed to answer the bounded question may be fetched with web search and URL reads. Cite the source and distinguish documented behavior from observed behavior. Independent external research stays with research. No persistent artifact is required here.
For multi-file or uncertain tasks, dispatch Explore subagents instead of reading directly, and dispatch first: do not grep or glob a multi-file task before dispatching. Use 1 subagent for a single-concern known scope, 3 for multiple concerns or unknown scope, and 5 for a cross-module or architectural survey. Direct reads without dispatch are allowed only for a single file under 50 lines.
Keep discovery token-efficient: file discovery with fd -e <ext> --max-results 50, symbol search with ast-grep run -p 'PATTERN' -l <lang> -C 1 or git --no-pager grep -n -C 2 'pattern', content preview with bat -P -p -n -r START:END file or read with offset and limit, directory structure with eza --tree --level=2.
Never re-enter a router or orchestrator skill from inside this leaf skill.
Emit all 8 sections in order: task understanding, architecture context, pattern context, tooling context, dependency map, critical files summary, constraints and considerations, and recommended next steps. Omit a section only when it genuinely does not apply, and state why.
When the scope exceeds 50 files, use a codebase-packing tool only as an internal analysis aid. Never give packed output to the user; search it for targeted extraction instead. If no packing tool is available, narrow the scope, state the narrowing, and proceed with the reduced scope.
Stay inside read-only tooling: eza, fd, ast-grep (find-only), git grep, rg, bat, tokei, Read, codebase_search, and any available codebase-analysis or codebase-packing MCP tooling, plus web search and URL reads solely for the compact-mode case above. Never invoke Edit, Write, mcp__edit__edit_file, git commit, or any state-mutating bash command. If a mutating tool call is attempted, stop immediately, perform no mutation, and report the attempt. No rollback is needed because no mutation occurs.
When source is empty or missing, state per affected section that it does not apply and explain why rather than fabricating content. When dispatch fails, return a partial result with the sections that could be filled, and never claim the run is done while required sections are missing. A blocked or non-converged result is a terminal classification stating which sections could not be filled and the concrete reason.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gosuda/dstack-skills --plugin dstack-core89 skills in this plugin
/abstract-wellUse when the user wants to classify abstractions as useful, bad, or busy and keep one shallow level. Not for tasks requiring source or remote-system changes./architectUse when non-trivial code needs a design, codebase architecture needs improving through survey and deepening, or one module needs targeted interface narrowing, seams, or testability. Not for rendered visual artifacts, deploy, or irreversible changes./architecture-simplificationUse when the user explicitly asks to simplify an architecture, collapse modules or crates, or cut a dependency graph within approved boundaries. Executes an approved layout direction slice by slice. Not for single-module cleanup: use code-simplification. Not for layout planning from nothing: use architect. Not for blind re-derivation: use breaking-driven.Other plugins' skills for the same job