From mz-dev-base
ALWAYS invoke when the user wants exhaustive multi-source research on any topic. Triggers:"research X","deep dive into","comprehensive analysis of","what is the state of". Provide a topic as the argument.
npx claudepluginhub doctormozg/claude-pipelines --plugin mz-dev-baseThis skill is limited to using the following tools:
Conduct exhaustive, multi-agent research on a topic by decomposing it into independent domains, dispatching parallel domain-researcher agents, and synthesizing findings into a single report under `.mz/research/`.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Conduct exhaustive, multi-agent research on a topic by decomposing it into independent domains, dispatching parallel domain-researcher agents, and synthesizing findings into a single report under .mz/research/.
Triggers: "research X", "deep dive into", "comprehensive analysis of", "what is the state of".
review-branch or audit.$ARGUMENTS is the research topic or question. If empty, ask the user.
| # | Phase | Details |
|---|---|---|
| 0 | Setup | inline below |
| 1 | Decomposition + approval gate | inline below |
| 2-5 | Research, synthesis, report | phases/research_and_report.md |
$ARGUMENTS. If the research topic is empty, escalate via AskUserQuestion — never guess.task_name = <YYYY_MM_DD>_deep_research_<slug> where <YYYY_MM_DD> is today's date (underscores) and <slug> is a snake_case summary of the topic (max 20 chars); on same-day collision append _v2, _v3..mz/task/<task_name>/.state.md with Status: running, Phase: 0, Started: <ISO timestamp>, Topic: <original argument>, Subtopics: [].task_name, topic, working dir, report dir (.mz/research/).Break $ARGUMENTS into 3-7 independent research domains/subtopics. Each subtopic should be:
Example for "State of WebAssembly in 2026":
This orchestrator (not a subagent) must present the decomposition to the user via AskUserQuestion. This step is interactive and must not be delegated.
Mandatory pre-write + capture: Write the decomposition to .mz/task/<task_name>/decomposition.md as a numbered list of 3-7 subtopics, each with a 1-3 sentence description and rationale. Then Read that file with the Read tool to capture its full contents into context for the gate.
Mandatory inline-verbatim presentation: The AskUserQuestion question body must contain the verbatim contents of decomposition.md. Never substitute a path, status summary, count, or <numbered list of subtopics with descriptions> placeholder — the user must review the actual decomposition in the question itself, not have to open the file separately.
Before invoking AskUserQuestion, emit a text block to the user:
**Decomposition ready for review**
The research topic has been broken into 3–7 independent subtopics, each researchable independently and broad enough to warrant substantial research.
- **Approve** → proceed to parallel dispatch of domain-researcher agents across all subtopics
- **Reject** → abort the task and mark state as aborted_by_user
- **Feedback** → adjust the decomposition and re-present the updated list for further review
Invoke AskUserQuestion with this body (where <verbatim decomposition.md contents> is replaced by the bytes you just read):
Research decomposition ready. Please review:
<verbatim decomposition.md contents>
Feedback examples: add a subtopic, merge two topics, or drop one.
Type **Approve** to proceed, **Reject** to cancel, or type your feedback.
Response handling:
aborted_by_user and stop. Do not proceed.decomposition.md, return to this gate, re-read decomposition.md, and re-present via AskUserQuestion with the full new contents — never diff-only, never summary-only, since context compaction may have destroyed the user's memory of earlier iterations. This is a loop — repeat until the user explicitly approves. Never proceed to Phase 2 without explicit approval; never dispatch researchers without explicit approval.Launch a domain-researcher agent per subtopic in parallel. See phases/research_and_report.md → Step 2 for the dispatch prompt template.
After all agents complete, cross-reference findings, identify emergent patterns, and assess coverage. See phases/research_and_report.md → Step 3.
Write the final report to .mz/research/ using the naming convention <YYYY_MM_DD>_research_<slugified_topic>.md. See phases/research_and_report.md → Step 4 for the template.
Display path, source count, subtopic count, and top 3-5 findings.
Techniques: delegated to phase files — see phases/research_and_report.md.
N/A — collaboration/reference skill, not discipline.
.mz/research/<file>.md.Output the final report path (.mz/research/<YYYY_MM_DD>_research_<slug>.md), confirm the file exists on disk, and print the number of subtopics researched alongside the top 3-5 findings.
WebSearch/WebFetch unavailable, Agent tool absent) → escalate via AskUserQuestion rather than degrade silently.state.md and escalate via AskUserQuestion before writing the final report.