research-deep
Read an existing research outline and fan out independent background agents to deeply research each item, producing one structured JSON per item against the…
от julianobarbosa★ 18 звёзд на GitHub
Установить research-deep в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Research Deep — Per-Item Deep Research
Reads the outline produced by /research-outline, launches one background agent per batch, each populating an item's full JSON against the field schema.
Trigger
/research-deep
Pipeline position
/research-outline → /research-add-* → ► /research-deep ◄ → /research-report
Workflow
Step 1 — Auto-locate the outline
Glob */outline.yaml from the current working directory. Read it to get items, execution.batch_size, execution.items_per_agent, and execution.output_dir.
Step 2 — Resume check
Glob {output_dir}/*.json to find already-completed items. Skip them — only schedule items that don't yet have a JSON.
Step 3 — Batch execution
- Group remaining items into batches of
batch_size. - For each batch: launch agents via the
Tasktool withsubagent_type: general-purpose(or your project's research subagent if one is registered),run_in_background: true. Disable per-agent output — agents write directly to their assigned JSON path, so streaming their dialogue back into the parent context just burns tokens. - Each agent handles up to
items_per_agentitems. - Wait for the user to approve the next batch before launching it (lets the user spot-check the first batch's output and stop early if quality is off).
Parameters captured per item:
{topic}—topicfield fromoutline.yaml{item_name}— the item'snamefield{item_related_info}— the item's full YAML stanza (name + category + description + …){output_dir}—execution.output_dirfromoutline.yaml(default./results){fields_path}— absolute path to{topic_dir}/fields.yaml{output_path}— absolute path to{output_dir}/{item_name_slug}.json
Slug rule for {item_name_slug}: lowercase, replace runs of any non-alphanumeric character with _, strip leading/trailing _. Concretely: re.sub(r"[^a-z0-9]+", "_", item_name.lower()).strip("_"). Examples: GitHub Copilot → github_copilot, Cursor (Anysphere) → cursor_anysphere.
Why the prompt below is templated literally: the subagent runs in isolation. Its prompt carries every parameter explicitly, and small wording drifts cause the JSON shape to drift across runs. Treat the template as a stable contract — replace {xxx} variables, keep the rest as-is.
Prompt template:
## Task
Research {item_related_info}, output structured JSON to {output_path}
## Field Definitions
Read {fields_path} to get all field definitions
## Output Requirements
1. Output JSON according to fields defined in fields.yaml
2. Mark uncertain field values with [uncertain]
3. Add uncertain array at the end of JSON, listing all uncertain field names
4. All field values must be in English
## Output Path
{output_path}
## Validation
After completing JSON output, run validation script to ensure complete field coverage:
python ~/.claude/skills/research-outline/validate_json.py -f {fields_path} -j {output_path}
Task is complete only after validation passes.
Worked example (item = "GitHub Copilot"):
## Task
Research name: GitHub Copilot
category: International Product
description: Developed by Microsoft/GitHub, first mainstream AI coding assistant, ~40% market share, output structured JSON to {project_dir}/results/github_copilot.json
## Field Definitions
Read {project_dir}/fields.yaml to get all field definitions
## Output Requirements
1. Output JSON according to fields defined in fields.yaml
2. Mark uncertain field values with [uncertain]
3. Add uncertain array at the end of JSON, listing all uncertain field names
4. All field values must be in English
## Output Path
{project_dir}/results/github_copilot.json
## Validation
After completing JSON output, run validation script to ensure complete field coverage:
python ~/.claude/skills/research-outline/validate_json.py -f {project_dir}/fields.yaml -j {project_dir}/results/github_copilot.json
Task is complete only after validation passes.
Step 4 — Wait and monitor
- Wait for the current batch to finish (each agent signals completion by emitting its JSON).
- Launch the next batch after the user's go-ahead.
- Display progress (
N/totalitems complete).
Step 5 — Summary report
After all batches finish, output:
- count complete
- list of items marked failed or with
uncertainentries - path to
{output_dir}/
Agent config
- Background execution: yes (
run_in_background: true) - Task output: disabled — each agent's deliverable is the JSON file it writes
- Resume support: yes (Step 2 skips completed items)
Gotchas
- The validator path
~/.claude/skills/research-outline/validate_json.pyis install-coupled. It assumes theresearch-outlineskill is installed at~/.claude/skills/research-outline/, which is whatclaude-code-skills/scripts/link-skills.shandinstall-skills.shset up. If you copied the skill anywhere else (e.g. a project-local.claude/skills/), the validator path in the
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash - 02
Read - 03
Glob - 04
Task
FAQ
Что делает скилл research-deep?
Read an existing research outline and fan out independent background agents to deeply research each item, producing one structured JSON per item against the shared field schema. Resumable, batched, with output disabled per agent (each agent has its explicit output file). Use when `outline.yaml` + `fields.yaml` from `/research-outline` are in place and you want to parallelise the per-item investigation — academic paper deep-dives, product comparisons, benchmark fills, multi-target competitive analysis. Trigger this after `/research-outline`, before `/research-report`.
Как установить скилл research-deep?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл research-deep запускает скрипты?
Нет, скилл состоит только из инструкций (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…