Agent-orchestrated research that takes input text and conducts parallel multi-agent investigation. Accepts research questions, briefs, or seed context. Spawns parallel agents for web research, local project analysis, and specialized investigation. Produces citation-backed markdown reports. Triggers: "deep research", "research X", "comprehensive analysis", "investigate", "compare X vs Y", "analyze trends". Do NOT use for simple lookups (1-2 searches), debugging, or document analysis without web research.
Agent-orchestrated research pipeline. Takes input text, decomposes into parallel agent tasks, synthesizes results into a citation-backed report.
Context budget: Orchestrator stays lean. Agents write to files, return summaries. Synthesis is delegated to a sub-agent. NEVER read agent output files or reference files into orchestrator context — pass paths to sub-agents. NEVER use run_in_background — it causes TaskOutput to return full agent logs. If context approaches limit before synthesis, the research is lost.
Classify the input:
Determine complexity (drives agent count):
Break research into 3-5 independent investigation angles. Each angle becomes a Task agent.
Decomposition heuristics:
Agent types (see agent-templates for full prompts):
| Type | Tools | Use when |
|------|-------|----------|
| web-researcher | WebSearch, WebFetch | External facts, data, current info |
| local-analyst | Grep, Read, Glob | Project files, meeting notes, internal docs |
| deep-diver | WebSearch, WebFetch | Single source/topic requiring multi-step investigation |
CRITICAL: Launch ALL agents in a single message with multiple Task tool calls.
CRITICAL: Do NOT use run_in_background: true. Launch all agents as parallel Task calls in a single message. They execute concurrently, and each returns ONLY the agent's final message (the 3-5 line summary). Background agents write full conversation logs to output files — reading those with TaskOutput will overflow orchestrator context.
Context management: Do NOT read reference files into orchestrator context. Instead, inline the relevant template from agent-templates directly into each agent's prompt.
Output directory: Before launching agents, create an output directory:
[report-directory]/research-data/
Each agent prompt MUST include these instructions:
[output-dir]/agent-[angle-slug].md using the Write tool[Single message — all parallel]
Task(subagent_type="general-purpose", description="Research angle A", prompt=<template with OUTPUT_DIR + file-write instructions>)
Task(subagent_type="general-purpose", description="Research angle B", prompt=<template with OUTPUT_DIR + file-write instructions>)
Task(subagent_type="general-purpose", description="Research angle C", prompt=<template with OUTPUT_DIR + file-write instructions>)
Task(subagent_type="Explore", description="Local context analysis", prompt=<template with OUTPUT_DIR + file-write instructions>)
...
Each agent returns ONLY a concise summary (NOT full findings) — see return format in agent-templates. Full findings are written to the agent's output file.
CRITICAL: Do NOT synthesize in main context. Delegate to a synthesis sub-agent.
Output location: [relevant-project-or-area-folder]/research-[topic-slug]-[YYYY-MM-DD].md
If no clear project context, ask the user where to save.
Spawn a single general-purpose synthesis agent using the prompt from synthesis-templates. Fill in:
research-data/~/.claude/skills/deep-research/templates/report_template.mdThe orchestrator receives only a summary — the full report is written to disk by the sub-agent.
If agents complete after synthesis, spawn a patch agent using the prompt from synthesis-templates. Fill in the late agent's output file path and the existing report path.
Run validation after writing:
python ~/.claude/skills/deep-research/scripts/validate_report.py --report [path]
Optionally verify citations:
python ~/.claude/skills/deep-research/scripts/verify_citations.py --report [path]
If validation fails: fix and re-validate (max 2 attempts).
scripts/validate_report.py — Report quality validationscripts/verify_citations.py — Citation verification (DOI + URL checks)scripts/source_evaluator.py — Source credibility scoring (0-100)scripts/citation_manager.py — Citation tracking utilitiesGoogle Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
Manage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move, and export notes). Use when a user asks OpenClaw to add a note, list notes, search notes, or manage note folders.
Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.
Use when you need to control Slack from OpenClaw via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
Manage Apple Reminders via remindctl CLI (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.
Manage Trello boards, lists, and cards via the Trello REST API.
Category:productivity