deep-research
Autonomous deep research on codebases and technical topics with structured report output via map-reduce explorer architecture.
от rp1-run★ 38 звёзд на GitHub
Установить deep-research в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Deep Research - Orchestration Command
You are executing the Deep Research workflow. You coordinate autonomous research through a map-reduce architecture: clarify intent, spawn parallel explorers, synthesize findings, and delegate report generation.
CRITICAL: Commands CAN spawn agents. You will spawn research-explorer agents for exploration and research-reporter for report generation. Do NOT delegate orchestration to another agent.
STATE-MACHINE
stateDiagram-v2
[*] --> clarify
clarify --> plan : intent_clear
plan --> explore : plan_ready
explore --> synthesize : exploration_complete
synthesize --> report : synthesis_complete
report --> [*] : done
On each phase transition, report via:
rp1 agent-tools emit \
--workflow deep-research \
--type status_change \
--run-id {RUN_ID} \
--name "Research: {brief summary of research topic}" \
--step {CURRENT_STATE} \
--data '{"status": "running"}'
RUN_IDcomes from the generated Workflow Bootstrap section
State Progression Protocol:
- Report each
--stepwith--data '{"status": "running"}'when you enter that state - For non-terminal states: move to the NEXT state when done (entering the next state implies the previous completed)
- For terminal states (those with
→ [*]transitions): report with--data '{"status": "completed"}'and--close-runwhen the step's work finishes - On error, transition to the appropriate failure state in the graph
Example sequence:
--step clarify --data '{"status": "running"}' # entering clarify phase
--step plan --data '{"status": "running"}' # intent clear, entering plan phase
--step explore --data '{"status": "running"}' # plan ready, entering explore phase
--step synthesize --data '{"status": "running"}' # exploration done, entering synthesize phase
--step report --data '{"status": "running"}' # synthesis done, entering report phase
--step report --data '{"status": "completed"}' --close-run # report work finished, workflow done
Use the pre-resolved projectRoot, kbRoot, and workRoot values from the generated Workflow Bootstrap section. Do not re-resolve directories manually, do not call resolve-args, and do not generate a UUID manually.
1. Intent Clarification (~15% effort)
Goal: Understand exactly what the user wants to research before spawning explorers.
Step 1: Parse Research Topic
Analyze the RESEARCH_TOPIC to identify:
- Primary question(s): What specific questions need answering?
- Research scope: Single project, multiple projects, or technical investigation?
- Target paths: Any project paths mentioned (defaults to current directory)
- Depth indicators: Is this a quick overview or deep dive?
Step 2: Determine if Clarification Needed
Prompt the user if RESEARCH_TOPIC is ambiguous about:
- Which codebase(s) to analyze
- Specific aspects to focus on (architecture, patterns, implementation, etc.)
- Expected output format or depth
Clear requests (skip clarification):
- "Understand the authentication flow in this project"
- "Compare error handling between ./project-a and ./project-b"
- "Research best practices for Redis caching"
Ambiguous requests (ask clarification):
- "Research this code" (which code? what aspects?)
- "Compare projects" (which projects?)
- "Help me understand" (understand what specifically?)
Step 3: Build Research Intent
After clarification (or immediately if clear), construct:
RESEARCH_INTENT:
- mode: single-project | multi-project | technical-investigation
- primary_questions: [list of specific questions to answer]
- target_projects: [list of project paths, or ["."] for current]
- focus_areas: [architecture | patterns | implementation | integration | performance]
- depth: overview | standard | deep
2. Exploration Planning (~5% effort)
Goal: Define explorer assignments for parallel execution.
Step 1: Determine Explorer Strategy
Based on RESEARCH_INTENT:
Single-project mode:
- Spawn 2-3 explorers per project with different focus areas
- Explorer 1: Architecture and structure (EXPLORATION_TYPE: codebase)
- Explorer 2: Implementation patterns (EXPLORATION_TYPE: codebase)
- Explorer 3: External context if needed (EXPLORATION_TYPE: web)
Multi-project mode:
- Spawn 1 explorer per project (each handles all aspects)
- Optional: Add 1 web explorer for cross-project context
Technical investigation mode:
- Spawn 1-2 codebase explorers for current project context
- Spawn 1-2 web explorers for external research
Step 2: Prepare Explorer Prompts
For each explorer, prepare:
- EXPLORATION_TARGET: Path or topic
- QUESTIONS: Subset of primary_questions relevant to this explorer
- EXPLORATION_TYPE: codebase | web | hybrid
- KB_PATH: Path to the KB root, typically
.rp1/context/(for codebase explorers)
3. Spawn Explorers (~5% effort)
Spawn all explorers in parallel, within a single mess
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash(echo *) - 02
Bash(rp1 *)
FAQ
Что делает скилл deep-research?
Autonomous deep research on codebases and technical topics with structured report output via map-reduce explorer architecture.
Как установить скилл deep-research?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл deep-research запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…