research-deep — скилл для Claude Code: параллельный ресёрч
Скилл читает outline.yaml и запускает отдельного агента на каждый пункт списка, чтобы собрать данные в структурированные JSON-файлы.
npx skills add Weizhena/Deep-Research-skills --skill research-deep -a claude-codeЧто делает research-deep
Скилл берёт на себя рутину массового ресёрча. Он ищет файл */outline.yaml в рабочей директории, читает список пунктов и настройки запуска, включая items_per_agent и batch_size. Дальше на каждый пункт поднимается отдельный агент с веб-поиском, работает в фоне, а вывод задачи отключён — результат агент пишет в файл.
Пункты обрабатываются партиями. Перед следующей партией скилл ждёт вашего подтверждения, так что можно проверить промежуточные результаты и не жечь лимиты вслепую. Если часть JSON уже лежит в output_dir, готовые пункты пропускаются — прерванный прогон продолжается с места остановки.
Промпт для каждого агента жёстко зафиксирован: подставляются только значения переменных вроде {item_name} и {output_path}, структура и формулировки не меняются. Поля берутся из fields.yaml, спорные значения помечаются [uncertain], а в конце JSON идёт массив с их именами. После записи файла запускается python ~/.codex/skills/research/validate_json.py — задача считается выполненной только при пройденной валидации. Путь к скрипту в шаблоне привязан к ~/.codex, поэтому в Claude или Cursor его придётся поправить под свою установку.
Какие задачи решает
- собрать структурированные данные по длинному списку пунктов из outline
- распараллелить веб-ресёрч между несколькими агентами
- продолжить прерванный прогон, не переделывая готовые пункты
- проверить полноту полей в каждом JSON перед сдачей
- разбить работу на партии с подтверждением между ними
Примеры запросов агенту
- /research-deep
- Запусти research-deep по outline.yaml, партиями по 5 пунктов
- Продолжи research-deep с того места, где остановились
Как установить research-deep
1Через Skills CLI (Vercel)
npx skills add Weizhena/Deep-Research-skills --skill research-deep -a claude-code2Вручную: положить файлы
~/.claude/skills/research-deep/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/research-deep/
1Через Skills CLI (Vercel)
npx skills add Weizhena/Deep-Research-skills --skill research-deep -a codex2Вручную: положить файлы
.agents/skills/research-deep/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add Weizhena/Deep-Research-skills --skill research-deep -a cursor2Вручную: положить файлы
.cursor/skills/research-deep/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install Weizhena/Deep-Research-skills research-deep2Вручную: положить файлы
.github/skills/research-deep/SKILL.md1Через Skills CLI (Vercel)
npx skills add Weizhena/Deep-Research-skills --skill research-deep -a gemini-cli2Командой платформы
gemini skills install https://github.com/Weizhena/Deep-Research-skills --path skills/research-codex-en/research-deepВручную: положить файлы
.devin/skills/research-deep/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add Weizhena/Deep-Research-skills --skill research-deep -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о research-deep
Как установить research-deep в Claude?
Выполните npx skills add Weizhena/Deep-Research-skills --skill research-deep -a claude-code. Скилл встанет в ~/.claude/skills/research-deep/SKILL.md.
Что делает research-deep?
Читает outline.yaml, запускает по агенту на каждый пункт списка и складывает результат в JSON-файлы по схеме из fields.yaml. Готовые пункты при повторном запуске пропускаются.
Что нужно подготовить до запуска?
Файл outline.yaml с пунктами и настройками, а также fields.yaml с определениями полей. Для валидации нужен скрипт validate_json.py — в шаблоне путь указан как ~/.codex/skills/research/validate_json.py.
Исходный текст
SKILL.md · MIT
---
name: research-deep
description: Read research outline, launch independent agent for each item for deep research. Disable task output.
---
# Research Deep - Deep Research
## Trigger
`/research-deep`
## Workflow
### Step 1: Auto-locate Outline
Find `*/outline.yaml` file in current working directory, read items list, execution config (including items_per_agent).
### Step 2: Resume Check
- Check completed JSON files in output_dir
- Skip completed items
### Step 3: Batch Execution
- Batch by batch_size (need user approval before next batch)
- Each agent handles items_per_agent items
- Launch web-search-agent (background parallel, disable task output)
**Parameter Retrieval**:
- `{topic}`: topic field from outline.yaml
- `{item_name}`: item's name field
- `{item_related_info}`: item's complete yaml content (name + category + description etc.)
- `{output_dir}`: execution.output_dir from outline.yaml (default: ./results)
- `{fields_path}`: absolute path to {topic}/fields.yaml
- `{output_path}`: absolute path to {output_dir}/{item_name_slug}.json (slugify item_name: replace spaces with _, remove special chars)
**Hard Constraint**: The following prompt must be strictly reproduced, only replacing variables in {xxx}, do not modify structure or wording.
**Prompt Template**:
```python
prompt = f"""## 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 ~/.codex/skills/research/validate_json.py -f {fields_path} -j {output_path}
Task is complete only after validation passes.
"""
```
**One-shot Example** (assuming researching 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 ~/.codex/skills/research/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 current batch to complete
- Launch next batch
- Display progress
### Step 5: Summary Report
After all complete, output:
- Completion count
- Failed/uncertain marked items
- Output directory
## Agent Config
- Background execution: Yes
- Task Output: Disabled (agent has explicit output file when complete)
- Resume support: Yes
© Weizhena · MIT · Weizhena/Deep-Research-skills