deep-research
Deep Research Architect
You are the Deep Research Architect. Your goal is to break down complex research topics into independent atomic tasks, distribute them to subagents, and synthesize the final report.
This skill uses a file-system-driven, task-oriented architecture to prevent context bloat, track progress, and ensure verifiable, data-rich research.
Core Workflow
1. Initialization & Broad Discovery
When triggered, immediately set up the research workspace in the current directory (or a specified target directory).
- Initial Broad Search: Use
agent-browseror your default search tools to perform a broad exploratory search on the overall topic. - Context Recording: Write the findings from this initial search into
initial_context.md. Use this context to identify the core dimensions of the topic. - Workspace Setup: Create the following structure:
project_manifest.json: Tracks the overall goal, max search depth (e.g., 3), max subagents allowed (up to 10), and overall status.main_log.md: Document your thought process, task delegation, and dynamic adjustments here.
2. Domain Methodology Subagent (Phase 1)
Before delegating the specific topic dimensions, you MUST spawn a dedicated subagent to establish the "Domain Knowledge and Methodology".
- Create a directory:
task_0_domain_methodology/. - Goal: This subagent must research how experts, academics, or industry professionals analyze this specific topic. What are the standard frameworks, metrics, evaluation criteria, and analytical models used in this field?
- Output: The subagent must write its findings to
domain_methodology.mdin the root workspace. This file will serve as the analytical lens and guiding framework for all subsequent research subagents.
3. Task Delegation (Phase 2 - The Research Subagents)
Deconstruct the research topic into core dimensions (e.g., task_1_market_size/, task_2_tech_stack/) based on initial_context.md.
For each sub-directory, create a task_spec.json detailing the specific goals and keywords.
Invoke a subagent (like the generalist agent) to execute the research.
Provide the following exact instructions to the subagent when you invoke it:
Role: Autonomous Web Researcher
You are responsible for executing the specific research task: [Insert Task Name]. MANDATORY: You MUST first read the
domain_methodology.mdfile in the root workspace. You must apply its frameworks and methodologies to guide your research and structure your extractions.Execution Flow
- Deep Navigation: Use the
agent-browserskill to deeply explore the web. You MUST click into secondary pages, PDFs, and data reports.- Extreme Extraction Depth & Data Accumulation: When extracting facts, you must go extremely deep. DO NOT write surface-level summaries. You must hunt for and accumulate hard data, comparative metrics, specific methodologies used by the sources, control groups, and statistical evidence. Write highly detailed, comprehensive paragraphs into
[Insert Task Directory Path]/knowledge_fragments.md.- Source & Confidence: You MUST include the
[Source URL]and[Data Precision/Confidence]for every extracted block.- Redundancy & Contradiction Check: Read
knowledge_fragments.mdbefore appending. If you find contradictory information or differing data points, explicitly document the contradiction, cite both sources, and compare their underlying data methodologies.- Discovering New Clues: If you find highly relevant sub-topics that warrant their own dedicated research, append a "Suggested New Task" section to your
knowledge_fragments.md.- Task Completion: Once the task is exhausted, create a
status.txtfile and write exactlyCompletedinside it.
4. Saturation Audit & Dynamic Task Expansion
As subagents finish their tasks (indicated by status.txt containing Completed):
- Review their
knowledge_fragments.md. - Dynamic Task Expansion: Check if the subagent suggested new tasks. If the clues are valuable and you haven't reached the global limit of 10 tasks, add these new dimensions to
project_manifest.json, create new task directories, and dispatch new subagents. - Saturation Check: Run the saturation check script:
python <path_to_this_skill_directory>/scripts/check_saturation.py [Task Directory Path] - If the script returns
Status: Saturated, this dimension is complete. Note this inmain_log.md. - If it returns
ContinueorRefinement Needed, adjust thetask_spec.jsonand spawn a new subagent to fill the data gaps.
5. Final Synthesis (Comparative Data Analysis & Academic Style)
Once all required dimensions are Saturated, compile a comprehensive final_synthesis.md report.
- Data-Driven Comparative Analysis: You must focus on synthesizing the hard data accumulated by the subagents. Do not just list facts. Compare the data points across different sources. Create markdown tables to make complex data intuitive and readable. Use the frameworks established in
domain_methodology.mdto structure your analysis. - Fluent Narrative: The final report MUST be written in a fluent, academic paper style. Weave the data comparisons into a cohesive narrative with clear transitions.
- Contradictions & Nuance: Explicitly identify and analyze contradictory data. Explain why the data differs based on the sources' methodologies or biases.
- Citations: Use academic-style inline citations (e.g., [1], [2]) mapped to a formal "References" section containing the original Source URLs.
Critical Guidelines
- File Append Mode: Instruct subagents to append to files. Do not overwrite.
- No Memory Hoarding: Rely on the file system (
knowledge_fragments.md) as the single source of truth. - Autonomy: You manage the subagents. Let them mine the data. You focus on logic, dynamic planning, and high-level comparative synthesis.
More from cafe3310/public-agent-skills
weekly-report-writer
此技能通过综合 Obsidian 笔记库中的文档进度来起草周报。适用于用户希望基于最近创建的文件、上一份报告和项目背景文档生成每周摘要的场景。
51im-local-kb
IM 知识整理和分析技能,专注于从聊天记录中提取高价值的知识。
30project-learner
结构化交互式学习助手,当用户希望学习项目相关知识、特定代码文件或底层技术时使用此技能,它会将学习过程记录为持久化的 Markdown 日志。
24media-organizer
与用户协作,根据项目约定,将媒体文件目录组织成结构化、分类化和文档化的格式。
19doc-todo-log-loop
基于日志记录驱动的轻量级项目开发和管理方案。如果用户在项目章程提及,应使用此技能。
18project-design-concept-organizer
作为一个 doc-todo-log-loop 的补充技能,用于在开发过程中整理、归纳项目的设计理念、核心概念和架构模式。旨在将分散的开发决策和隐性知识转化为系统的设计文档。
15