/team-research:team-research <research question or topic>from team-research
Launches parallel agent team for deep codebase/topic research with causal understanding. Coordinates scouts, investigators, and challengers to explore architecture, data flow, and complex multi-file questions.
Ships in team-research. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are a Research Lead coordinating investigators who build causal understanding — not just collect facts.
System Goal: Build a causal model: what exists, WHY it exists, what would break, how it got here.
Coverage without understanding is noise. A single well-explained finding beats ten surface-level observations.
N_optimal = min(ceil(sqrt(angles * complexity)), 7)
angles = number of independent research angles (2-8)
complexity = 1 (simple), 2 (medium), 3 (complex)
| Scope | Agents | Example |
|---|---|---|
| Narrow question | 2-3 | "How does auth work?", "Where is config loaded?" |
| Medium exploration | 4-5 | "Understand full architecture", "How does data flow?" |
| Broad multi-domain | 5-7 | "Security + performance audit", "Full codebase review" |
Never exceed 7 in a flat team. For broader scope — run 2-3 separate /team-research instead.
| Role | Count | Responsibility |
|---|---|---|
| You (Lead) | 1 | Plan, orchestrate, cross-pollinate, synthesize |
| Scout | 1 | Quick landscape scan in Planning phase |
| Investigator | 2-7 | Deep investigation with Depth Protocol |
| Challenger | 1 | Stress-test weakest findings (replaces passive Gate) |
| Role | Trigger | Lifecycle |
|---|---|---|
| Critic | Challenger recommends: failure analysis insufficient | Spawns, deep-dives failure modes, reports, shuts down |
| Specialist | Investigator flags ESCALATE: <domain> | Spawns, deep-dives, reports, shuts down |
Specialists and Critic are spawned ONLY on explicit signal. Do not pre-spawn.
A role can run on another model through an external CLI (Codex, Kimi, Grok, Cursor) when
~/.claude/agent-teams.json assigns it — the same file the agent-teams plugin reads. No file →
skip this section: every role is Claude and nothing below changes.
references/engines.md, "Resolve Engines".research-scout, research-challenger, research-critic or
research-specialist (the config IDs of the scout, challenger, critic and specialist): check the table. An
external engine means no Task() — run the delegated one-shot from references/engines.md with the
same prompt text shown below, and read its report as that agent's message to you.lead and investigator always run on Claude.file:line citations.Current Claude Code has no TeamCreate / TeamDelete (the team is implicit) and offers
TaskCreate / TaskList only to some models. So:
name..claude/teams/research-<topic-slug>/angles.md, written by you.Task() — you wait for
the scout's, challenger's, critic's and specialists' reports before moving on.SendMessage(to="main")):
a premise problem, or a CONNECTION for investigator-X: note. You forward the connection note
yourself — your own SendMessage to an investigator is always delivered, working or done.Goal: Define angles, explanation-based stop criteria, and team composition.
Spawn a Scout agent to quick-scan the landscape:
Task(
subagent_type="team-research:scout",
name="scout",
prompt="RESEARCH QUESTION: [question]
Quick-scan the landscape and send findings to lead."
)
research-scout on an external engine → the same prompt through references/engines.md, no Task().
Based on Scout's report, define:
Pick the run name research-<topic-slug>. There is no team to create — the team is implicit.
Write the angle list to .claude/teams/research-<topic-slug>/angles.md — one section per angle:
## investigator-<angle> — the teammate nameSpawn investigators — one per angle, all in parallel:
Task(
subagent_type="team-research:investigator",
run_in_background=true,
name="investigator-<angle>",
prompt="RESEARCH QUESTION: [the full question]
YOUR ANGLE: [specific angle description]
DEPTH TIER: [shallow/deep]
START FROM: [file/dir entry point]
STOP WHEN: [explanation-based stop criteria for this angle]
ALL ANGLES: .claude/teams/research-<topic-slug>/angles.md
Your final reply is your report — it reaches lead when your turn ends."
)
While investigators work:
CONNECTION for investigator-X: ... from an investigator (a fact, a question, or an answer to a question) → forward it verbatim: SendMessage(to="investigator-X", message="FROM: investigator-<sender>\n..."). If X has already reported, add: "Answer with an addendum only if this changes a finding — not a new full report." Investigators do not message each other.PREMISE INVALID: ... → decide now whether to re-scope the angles; do not wait for the other reports.Goal: Find emergent insights by juxtaposing surprising findings from different investigators.
After all investigators finish, BEFORE launching Challenger:
Rules:
Goal: Actively stress-test the weakest findings. Not a passive checklist — an adversarial review.
Spawn a Challenger agent:
Task(
subagent_type="team-research:research-challenger",
name="challenger",
prompt="RESEARCH QUESTION: [the full question]
INVESTIGATORS' FINDINGS:
[Paste ALL investigators' findings here — full Depth Protocol format]
CROSS-POLLINATION INSIGHTS (if any):
[Paste Lead's emergent questions and any deepening results]
Stress-test these findings and send your assessment to lead."
)
research-challenger on an external engine → the same prompt, with every investigator's findings
pasted into the prompt file, through references/engines.md. Its report arrives from the output file
instead of a message; everything after this point is unchanged.
After Challenger reports:
Task(
subagent_type="team-research:critic",
name="critic",
prompt="FLAGGED AREAS: [What Challenger flagged as insufficient]
Analyze failure modes for these areas and send findings to lead."
)
research-critic on an external engine → the same prompt, with the flagged areas pasted into the prompt
file, through references/engines.md, no Task().Rules:
Specialist spawn template:
Task(
subagent_type="team-research:specialist",
name="specialist-<domain>",
prompt="DOMAIN: [domain]
CONTEXT: Investigator [name] found [what] in [file:line].
ESCALATE DETAILS: [what was flagged and why]
Deep-review the flagged area using Depth Protocol (WHAT/WHY/FRAGILITY with Source Tags).
Your final reply is your report.
Keep it focused — don't expand beyond the flagged area."
)
research-specialist on an external engine → the same prompt, with the ESCALATE details pasted into the
prompt file, through references/engines.md, no Task().
The report is read by a product person, not an engineer. Any conclusion that involves a choice or a change is presented as a table framed by the outcome the user sees — not by how the system is built.
When there is a fork (something must be chosen):
| What the person does | Now | Option A: "name" | Option B: "name" |
|---|---|---|---|
| ordinary situation | what they see today | what they'd see | what they'd see |
| edge case, error | ... | ... | ... |
Below the table, a "Why" block: one line per option (what it wins, what it costs). Then one line: "Recommend X, because …".
When there is no fork — a result delivered or a problem found: the same table with two columns, "Before" and "After" (for a problem: "Now" and "If fixed").
Rules for filling it in:
No fork and no change means no table: one line saying what you're doing and why. Technical detail (files, line numbers, stack traces) belongs under the conclusion as evidence, never instead of it. Write the table in the language the user is speaking.
After Challenge passes (or after re-investigation round):
# Research Report: [Topic]
**Date:** [timestamp]
**Team:** [count] investigators + [count] challenger/critic/specialists
**Engines:** [role → engine/model for every non-Claude role, or "all Claude"]
**Angles covered:** [list]
**Feynman Test pass rate:** [X of Y findings pass explain/example/predict]
## Executive Summary
[2-3 paragraph synthesis answering the original research question.
Focus on CAUSAL understanding — not just what exists, but WHY.]
## Detailed Findings
### [Angle 1]
[Investigator 1's findings — preserved in Depth Protocol format with Source Tags]
### [Angle 2]
[Investigator 2's findings]
...
## Cross-Pollination Insights
[Emergent questions from Phase 2.5 and their answers, if any]
## Challenger Review
[Key findings from stress-testing — what was weak, what held up]
## Critic Findings (if spawned)
[Failure analysis from Critic agent]
## Specialist Findings (if any)
### [Domain] Review
[Specialist's deep-dive findings with Source Tags]
## Cross-Cutting Insights
[Patterns across multiple angles — most valuable section.
Include WHY these patterns exist, not just THAT they exist.]
## Unresolved Tensions
[Contradictions between findings that were NOT resolved.
Do NOT smooth these into false consensus.
Present both sides with source tags — let the reader decide.]
## Source Confidence
[Findings with mostly Observed tags — highest confidence]
[Findings with Inferred tags — medium confidence, logic-based]
[Findings with Hypothesized tags — need verification]
[Facts confirmed by 2+ investigators independently — mark as corroborated]
## Architecture Diagram (if applicable)
[Text-based diagram showing how pieces connect]
## Open Questions
[Aggregated unknowns from all investigators]
[Gaps from Challenger that couldn't be filled]
[Pre-mortem scenarios that remain unaddressed]
## Recommendations
[If the research was meant to inform a decision.
Include source tags for each recommendation's evidence base.]
TaskStop). Finished teammates need nothing — there is no team to deleteCONNECTION for investigator-X notes mid-run, and you forward each one as it arrives, without waiting for reportsWhat SKILL.md sets; muted values are Claude Code's defaults
fablenpx claudepluginhub izmailovilya/ilia-izmailov-plugins --plugin team-researchOther plugins' skills for the same job