Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.
Quelldateien prüfen
Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Ein direkter Befehl überspringt den Prüf-Prompt. Prüfen Sie die Quelle, bevor Sie ihn ausführen.
npx skills add https://github.com/majiayu000/claude-skill-registry --skill research
Der Befehl bleibt in einer Zeile. Scrollen Sie horizontal, um ihn vor dem Kopieren vollständig zu prüfen.
Sie bevorzugen eine lokale Kopie? Laden Sie die Dateien herunter, die SkillsMP derzeit vorliegen.
Set effort to low for explore agents — research is breadth-first scanning, not deep reasoning.
Use --from-pr <url> to scope research to a specific PR's changed files when investigating PR-related topics.
Step 3: Launch Explore Agent
YOU MUST DISPATCH AN EXPLORATION AGENT NOW. Select the backend using capability detection:
Backend Selection (MANDATORY)
If spawn_agent is available → Codex sub-agent
Else if TeamCreate is available → Claude native team (Explore agent)
Else if skill tool is read-only (OpenCode) → OpenCode subagent — task(subagent_type="explore", description="Research: <topic>", prompt="<explore prompt>")
Else → Background task fallback
Exploration Prompt (all backends)
Use this prompt for whichever backend is selected. The exploration uses iterative retrieval (see references/iterative-retrieval.md): start broad, score relevance, extract new search terms from high-relevance files, and repeat for up to 3 cycles.
Thoroughly investigate: <topic>
Use iterative retrieval: after each discovery tier, score results 0-1 for relevance.
From files scoring 0.5+, extract new search terms (function names, imports, config keys).
Use extracted terms in subsequent tiers. Max 3 refinement cycles.
Discovery tiers (execute in order, skip if source unavailable):
Tier 1 — Code-Map (fastest, authoritative):
Read docs/code-map/README.md → find <topic> category
Read docs/code-map/{feature}.md → get exact paths and function names
Skip if: no docs/code-map/ directory
Tier 2 — Semantic Search (conceptual matches):
mcp__smart-connections-work__lookup query="<topic>" limit=10
Skip if: MCP not connected
Tier 2.5 — Git History (recent changes and decision context):
git log --oneline -30 -- <topic-related-paths> # scoped to relevant paths, cap 30 lines
git log --all --oneline --grep="<topic>" -10 # cap 10 matches
git blame <key-file> | grep -i "<topic>" | head -20 # cap 20 lines
Skip if: not a git repo, no relevant history, or <topic> too broad (>100 matches)
NEVER: git log on full repo without -- path filter (same principle as Tier 3 scoping)
NOTE: This is git commit history, not session history. For session/handoff history, use /trace.
Tier 3 — Scoped Search (keyword precision):
Grep("<topic>", path="<specific-dir>/") # ALWAYS scope to a directory
Glob("<specific-dir>/**/*.py") # ALWAYS scope to a directory
NEVER: Grep("<topic>") or Glob("**/*.py") on full repo — causes context overload
Tier 4 — Source Code (verify from signposts):
Read files identified by Tiers 1-3 (including git history leads from Tier 2.5)
Use function/class names, not line numbers
Tier 5 — Prior Knowledge (may be stale):
Search ALL .agents/ knowledge dirs by content:
for dir in research learnings knowledge patterns retros plans brainstorm; do
grep -r -l -i "<topic>" .agents/${dir}/ 2>/dev/null
done
Read matched files. Cross-check findings against current source.
Tier 6 — External Docs (last resort):
WebSearch for external APIs or standards
Only when Tiers 1-5 are insufficient
Return a detailed report with:
- Key files found (with paths)
- How the system works
- Important patterns or conventions
- Any issues or concerns
Cite specific file:line references for all claims.
Spawn Research Agents
If your runtime supports spawning parallel subagents, spawn one or more research agents with the exploration prompt. Each agent explores independently and writes findings to .agents/research/.
If no multi-agent capability is available, perform the exploration inline in the current session using file reading, grep, and glob tools directly.
Step 4: Validate Research Quality (mandatory in auto mode)
For thorough research, perform quality validation:
Auto mode enforcement: When --auto is set, quality validation is mandatory. If depth rating < 2 for any critical area (Step 4b), emit WARN and log to .agents/research/quality-warning.md. In interactive mode, this step remains optional.
4a. Coverage Validation
Check: Did we look everywhere we should? Any unexplored areas?
List directories/files explored
Identify gaps in coverage
Note areas that need deeper investigation
4b. Depth Validation
Check: Do we UNDERSTAND the critical parts? HOW and WHY, not just WHAT?
Rate depth (0-4) for each critical area
Flag areas with shallow understanding
Identify what needs more investigation
4c. Gap Identification
Check: What DON'T we know that we SHOULD know?
List critical gaps
Prioritize what must be filled before proceeding
Note what can be deferred
4d. Assumption Challenge
Check: What assumptions are we building on? Are they verified?
List assumptions made
Flag high-risk unverified assumptions
Note what needs verification
Step 5: Synthesize Findings
After the Explore agent and validation swarm return, write findings to:
.agents/research/YYYY-MM-DD-<topic-slug>.md
This refreshes promoted findings and compiled prevention outputs in the same session.
Step 6: Request Human Approval (Gate 1)
Skip this step if --auto flag is set. In auto mode, proceed directly to Step 7.
USE AskUserQuestion tool:
Tool: AskUserQuestion
Parameters:
questions:
- question: "Research complete. Approve to proceed to planning?"
header: "Gate 1"
options:
- label: "Approve"
description: "Research is sufficient, proceed to /plan"
- label: "Revise"
description: "Need deeper research on specific areas"
- label: "Abandon"
description: "Stop this line of investigation"
multiSelect: false
Wait for approval before reporting completion.
Step 7: Report to User
Tell the user:
What you found
Where the research doc is saved
Gate 1 approval status
Next step: /plan to create implementation plan
Key Rules
Actually dispatch the Explore agent - don't just describe doing it
Scope searches - use the topic to narrow file patterns
Cite evidence - every claim needs file:line
Write output - research must produce a .agents/research/ artifact
Thoroughness Levels
Include in your Explore agent prompt:
"quick" - for simple questions
"medium" - for feature exploration
"very thorough" - for architecture/cross-cutting concerns
For onboarding-style research ("what does this do?", new repo orientation), follow references/onboarding-methodology.md for the phased docs-first walk and reusable mental-model template. When the question reduces to "what happens when arrives?", trace one path end-to-end using references/data-flow-from-entry-points.md.
Examples
Investigate Authentication System
User says:/research "authentication system"
What happens:
Agent searches knowledge base for prior auth research
Explore agent investigates via Code-Map, Grep, and file reading
Findings synthesized with file:line citations
Output written to .agents/research/2026-02-13-authentication-system.md