一键导入
deep-research
Run a thorough, multi-phase deep research investigation on a topic with subagent dispatch, provenance tracking, and integrity verification.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run a thorough, multi-phase deep research investigation on a topic with subagent dispatch, provenance tracking, and integrity verification.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when user mentions autonomous iteration, metric-driven optimization, $research-loop plan, $research-loop debug, $research-loop fix, $research-loop security, $research-loop ship, $research-loop scenario, $research-loop predict, $research-loop learn, $research-loop reason, $research-loop probe, or mentions "research-loop" with a goal/metric. Autonomous Goal-directed Iteration — apply Karpathy's autoresearch principles: modify, verify, keep/discard, repeat. Supports bounded mode via Iterations: N inline config.
Mandatory activation layer — loads on any conversation start. Establishes skill-loading protocol, Red Flags, priority rules, and HARD-GATE enforcement for all research-loop skills.
Experiment sandbox execution for Research Loop. Supports four modes: local (venv), Docker (isolated containers), SSH remote (GPU compute on servers), and Colab (Google Drive bridge). Provides experiment harness templates, code validation, metric collection, deterministic seeding, and compute budget enforcement. Use before running experiments generated by the paper-pipeline.
Use when user wants to explore a topic, find papers, map a field, or understand the research landscape. Not for explaining concepts — use learn for that.
Publication-quality figure generation for research papers. Decision agent selects figure type (code plot vs architecture diagram). Generates Matplotlib/Seaborn code for quantitative figures with iterative improvement loop. Style-matches conference templates (NeurIPS, ICML, ICLR). Use when the paper-pipeline reaches the figure generation phase, or when a user requests figures for an existing draft.
Use when user asks what something means, says "explain", "I don't understand", "teach me", "what is X", or asks about a term mid-session.
| name | deep-research |
| description | Run a thorough, multi-phase deep research investigation on a topic with subagent dispatch, provenance tracking, and integrity verification. |
This is an execution request, not a request to explain or implement the workflow instructions. Execute the workflow. Do not answer by describing the protocol or restating the instructions.
Derive a short slug from the topic: lowercase, hyphenated, no filler words, at most 5 words.
Every run must leave these files on disk:
.research-loop/sessions/<slug>/plan.md.research-loop/sessions/<slug>/draft.md.research-loop/sessions/<slug>/draft-cited.md.research-loop/sessions/<slug>/report.md.research-loop/sessions/<slug>/provenance.mdAfter the user approves the plan, if any capability fails, continue in degraded mode and still write a blocked or partial final output and provenance sidecar. Never end with chat-only output after plan approval. Use Verification: BLOCKED when verification could not be completed.
Create .research-loop/sessions/<slug>/plan.md immediately. The plan must include:
Make the scale decision before assigning owners in the plan. If the topic is a narrow "what is X" explainer, the plan must use lead-owned direct search tasks only; do not allocate researcher subagents.
After writing the plan, stop and ask for explicit confirmation before gathering evidence. Summarize the plan briefly and ask:
Proceed with this deep research plan? Reply "yes" to continue, or tell me what to change.
Do not run searches, fetch sources, spawn subagents, draft, cite, review, or deliver final artifacts until the user confirms. If the user requests changes, update the plan file first, then ask again.
.claude/agents/researcher.md) when:Do not fetch .pdf URLs unless the user explicitly asks for PDF extraction. Prefer paper metadata, abstracts, HTML pages, official docs, and web snippets. If only a PDF exists, cite the PDF URL from search metadata and mark full-text PDF parsing as blocked instead of fetching it.
.research-loop/sessions/<slug>/research-notes.md..research-loop/sessions/<slug>/brief-T1.md, -T2.md, etc.failFast: false.Agent: researcher
Task: Read .research-loop/sessions/<slug>/brief-T1.md and write <slug>-findings-web.md.
Output: .research-loop/sessions/<slug>/findings-web.md
After evidence gathering, update the plan task ledger and verification log.
Write the report yourself. Do not delegate synthesis.
Save to .research-loop/sessions/<slug>/draft.md.
Include:
Before citation, sweep the draft:
.research-loop/sessions/<slug>/draft-cited.md with inline citations and a Sources section..claude/agents/verifier.md) after the draft exists.draft-cited.md exists..research-loop/sessions/<slug>/verification.md with FATAL / MAJOR / MINOR findings..claude/agents/reviewer.md) against the cited draft.When applying reviewer fixes:
.research-loop/sessions/<slug>/draft-revised.md.The final candidate is draft-revised.md if it exists; otherwise draft-cited.md.
Copy the final candidate to .research-loop/sessions/<slug>/report.md.
Write provenance as .research-loop/sessions/<slug>/provenance.md:
# Provenance: [topic]
- **Date:** [date]
- **Rounds:** [number of research rounds]
- **Sources consulted:** [count and/or list]
- **Sources accepted:** [count and/or list]
- **Sources rejected:** [dead, unverifiable, or removed]
- **Verification:** [PASS / PASS WITH NOTES / BLOCKED]
- **Plan:** .research-loop/sessions/<slug>/plan.md
- **Research files:** [files used]
Before responding, verify on disk that all required artifacts exist. If verification could not be completed, set Verification: BLOCKED or PASS WITH NOTES and list the missing checks.
Verify that any fixes claimed in the provenance are reflected in the final candidate. Do not claim "all patches applied" unless these checks succeed.
This skill dispatches the following subagents (defined in .claude/agents/):
| Agent | File | When dispatched |
|---|---|---|
| researcher | .claude/agents/researcher.md | Evidence gathering (Step 3) for multi-faceted topics |
| verifier | .claude/agents/verifier.md | Citation verification (Step 5) after researcher subagents |
| reviewer | .claude/agents/reviewer.md | Review pass (Step 6) on cited draft |
All subagents load their definitions from .claude/agents/. These definitions encode integrity commandments, output formats, and operating rules specific to each role.