pipeline
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy + statsmodels + linearmodels + pyfixest +…
Unified Agent Teams orchestrator for Diverga v12.0.0. Manages Agent Teams creation, VS Arena debate, and subagent dispatch. Single entry point for all parallel/debate workflows. Replaces research-orchestrator and vs-arena skills. Triggers: orchestrator, agent team, create team,
$ npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill orchestrator --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/orchestratorContext preview
The summary Claude sees to decide when to auto-load this skill.
Unified Agent Teams orchestrator for Diverga v12.0.0. Manages Agent Teams creation, VS Arena debate, and subagent dispatch. Single entry point for all parallel/debate workflows. Replaces research-orchestrator and vs-arena skills. Triggers: orchestrator, agent team, create team,
name: orchestrator description: | Unified Agent Teams orchestrator for Diverga v12.0.0. Manages Agent Teams creation, VS Arena debate, and subagent dispatch. Single entry point for all parallel/debate workflows. Replaces research-orchestrator and vs-arena skills. Triggers: orchestrator, agent team, create team, parallel agents, debate, competing, collaborate, VS Arena version: "12.0.1"
Execution layer (HOW). Receives agent IDs, decides execution strategy, manages lifecycle.
Does NOT handle:
No circular dependency: coordinator calls orchestrator, never reverse. Orchestrator receives agent IDs and executes; it does not call back into the coordinator.
---
1. **Explicit**: `/diverga:orchestrator` 2. **Natural language**: "create team", "debate", "parallel agents", "run VS Arena", "compare methods", "competing hypotheses" 3. **Auto**: research-coordinator delegates when parallel or debate execution is needed
---
Orchestrator does NOT enforce research checkpoints. It trusts the caller (coordinator or user) to have resolved prerequisites.
---
Request received
|
v
Check config.agent_teams.enabled
|
+-- false --> Always use subagents (Task with run_in_background)
|
+-- true --> Check CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS env var
|
+-- not set --> Subagent fallback + warn user
|
+-- set --> Evaluate scenario
|
+-- Inter-agent debate needed? --> Agent Teams
| (VS Arena, cross-method comparison, competing hypotheses)
|
+-- Parallel independent work? --> Agent Teams
| (multi-DB fetch, parallel review, concurrent analysis)
|
+-- Sequential pipeline? --> Subagents
| (G5->G6->F5 humanize, single agent tasks)
|
+-- Simple single agent? --> Direct Task dispatch---
When `config.agent_teams.enabled = true` AND `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` is set.
1. **Evaluate scenario** -- determine if Teams adds value over subagents 2. **Create team** -- natural language prompt to Claude Code (conversational team creation, NOT raw TeamCreate API call) 3. **Spawn teammates** -- each teammate receives an agent-specific prompt with research context 4. **Monitor progress** -- track teammate status 5. **Collect results** -- gather outputs from all teammates 6. **Present at checkpoint** -- deliver results for user review 7. **Cleanup** -- delete team after user selection or task completion
Gather research context from `diverga_project_status` or user input:
Select 3 of 5 personas (V1-V5) based on paradigm:
| Rule | Always include 1 persona differing from CP_PARADIGM_SELECTION | |------|---------------------------------------------------------------|
| Paradigm | Selection | |----------|-----------| | Quantitative | V1 + V4 + one of V2/V3/V5 | | Qualitative | V4 + V1 + one of V2/V3/V5 | | Mixed | V3 + two of V1/V2/V4/V5 | | No paradigm set | V1 + V3 + V4 (maximum paradigmatic spread) |
All VS Arena personas run on opus.
Create the team and spawn 3 persona teammates:
TeamCreate("vs-arena-{topic}")
Spawn teammate for each selected persona with prompt:
- Research context (question, field, paradigm, variables, journal)
- Persona definition reference (agents/v{N}.md)
- Persona constraints reference (config/personas.json cannotRecommend)
- Instruction: provide exactly ONE methodology recommendationEach persona investigates the research question independently. No inter-agent communication during this stage.
Teammates message each other directly via team mailbox (SendMessage):
Lead collects all positions and presents at CP_METHODOLOGY_APPROVAL:
## VS Arena: Methodology Recommendations ### Option A: [Persona] Recommendation Methodology: [name] T-Score: [score] Rationale: [brief] Cross-critique from other personas: [summaries] ### Option B: ... ### Option C: ... Which methodology would you like to proceed with? (A/B/C)
WAIT for user selection. Record decision.
TeamDelete after user makes selection.
| Scenario | Team Name | Teammates | When | |----------|-----------|-----------|------| | VS Arena | `vs-arena-{topic}` | 3 of V1-V5 | CP_METHODOLOGY_APPROVAL or explicit request | | Systematic Review | `sr-pipeline-{topic}` | I1 x3 (per DB) | I0 multi-DB fetch | | Cross-Method | `method-compare-{topic}` | C1+C2+C3 | Competing design recommendations | | Parallel Review | `review-{topic}` | 2-5 agents | Quality review from multiple angles | | Custom | `{user-specified}` | User-specified | Explicit orchestrator call |
Users can request custom teams via natural language:
U
📌 文档结构(2026-07-22 起): 本文件是中文默认入口 —— banner + badges + 信任面 + 9 阶段流水线速览 + 76 行合集总表。 每个合集的完整描述、按用途分组、精确数字、验证方法在 docs/CONTENT_ZH.md(扩展正文,总表行内的 → 直接跳转到对应锚点)。 English version: README-en.md · 中文扩展正文:docs/CONTENT_ZH.md · README-zh-CN.md 已弃用(重定向占位) 🌐 语言: English |
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy + statsmodels + linearmodels + pyfixest +…
Use when the user asks to run a full empirical / causal analysis in Python — by default in the style of an applied economics paper (AER / QJE / JPE / ReStud /…
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy + statsmodels + linearmodels + pyfixest +…
Classical end-to-end empirical analysis workflow in the traditional Stata ecosystem — native Stata + reghdfe + ivreg2 + csdid + did_imputation +…
Classical end-to-end empirical analysis workflow in the modern tidyverse + econometrics R ecosystem — dplyr + tidyr + haven + fixest + sandwich + lmtest +…
Systematic writing framework for philosophy and interdisciplinary academic papers from optimized outline to submission-ready manuscript. Use when users want…