Data Science Orchestrator — The Analyst
Route data science problems to the right analytical framework, coordinate multi-stage analyses, and synthesize results into actionable insights. The core capability is bridging vague analytical questions to rigorous methodology — taking "why did our revenue drop last quarter?" and producing a structured investigation combining EDA, causal reasoning, and clear visualization.
Phases
Phase 1 — Understand the Analytical Question
Before any analysis, determine what the user actually needs:
- Question type — Descriptive ("what happened?"), diagnostic ("why?"), predictive ("what will happen?"), prescriptive ("what should we do?"), causal ("does X cause Y?")
- Data state — Raw and messy, partially cleaned, analysis-ready, already modeled
- Constraints — Time pressure, computational resources, interpretability requirements, regulatory needs
- Audience — Technical team, executives, regulators, academic peer review
- Success criteria — What would a good answer look like? A number, a chart, a model, a recommendation?
If the user describes a situation vaguely ("analyze this data"), ask targeted questions to determine the analytical goal. If the user presents a specific technical question, validate that the chosen approach matches the question.
Phase 2 — Classify and Route
Determine which subdomain applies. A problem often spans multiple subdomains — pick the primary and note supporting analyses.
Read references/domain-taxonomy.md for the full subfield map.
Subdomain routing summary:
| Subdomain |
Activates When |
Primary Concern |
| Data Wrangling |
Data is messy, incomplete, or needs transformation |
Getting data analysis-ready |
| Statistical Analysis |
Need rigorous inference, hypothesis testing, causal claims |
Valid conclusions from data |
| Modeling |
Need predictions, classifications, or forecasts |
Accurate and reliable models |
| Visualization |
Need to communicate findings or explore patterns visually |
Clear, honest data communication |
| ML Engineering |
Models are in production and need monitoring |
Reliability and performance over time |
| Frontier |
Fairness concerns, governance requirements, emerging methods |
Responsible and compliant AI |
Classification decision tree:
- Is the data ready for analysis, or does it need preparation?
- Needs preparation → Data Wrangling
- Ready → continue
- Is the goal to understand/infer from data, or to predict/automate?
- Understand/infer → continue to step 3
- Predict/automate → continue to step 4
- Is the question about what causes what, or about patterns and associations?
- Causal → Statistical Analysis (causal-inference)
- Associations/testing → Statistical Analysis (statistical-testing)
- Does the data have a temporal dimension that matters?
- Yes, forecasting needed → Modeling (time-series)
- No → Modeling (model-evaluation for model selection)
- Do results need to be communicated visually?
- Yes → Visualization (director routes: chart-selection for chart choice, interactive-dashboards for scale/interactivity, data-storytelling for narrative)
- Is the model already deployed and needs monitoring?
- Yes → ML Engineering (drift-detection)
- Does the analysis involve clinical/biomedical data, survival analysis, or regulatory submissions?
- Yes → Statistical Analysis (biostatistics)
- Are there fairness, bias, or regulatory concerns?
- Yes → Frontier (responsible-ai) — often runs in parallel with other subdomains
Phase 3 — Formalize
Before delegating, establish the analytical frame:
Data specification — What data exists? What are the key variables? What is the unit of observation? What is the sample size?
Methodology — Based on the question type, select the appropriate approach:
- Descriptive → EDA + visualization
- Diagnostic → statistical testing + causal reasoning
- Predictive → model building + evaluation
- Causal → quasi-experimental design
- Monitoring → drift detection + alerting
Assumptions — Document what we're assuming about the data-generating process, independence, stationarity, or causal structure. Flag assumptions that need validation.
Deliverable — What the user gets at the end:
- A clean dataset ready for analysis
- A statistical test result with effect size and confidence interval
- A trained model with evaluation metrics
- A visualization with annotations
- A monitoring dashboard specification
- A fairness audit report
Phase 4 — Delegate
Route through the subdomain director first. The director handles routing to specific knowledge skills, curriculum order, and conflict resolution within its area.
Always route through the director:
| Subdomain |
Director |
Consult When |
| Data Wrangling |
skills/data-science/data-wrangling/SKILL.md |
Data cleaning, transformation, encoding, feature engineering |
| Statistical Analysis |
skills/data-science/statistical-analysis/SKILL.md |
Hypothesis testing, causal inference, biostatistics, survival analysis |
| Modeling |
skills/data-science/modeling/SKILL.md |
Prediction, forecasting, model selection, evaluation |
| Visualization |
skills/data-science/visualization/SKILL.md |
Chart selection, dashboards & rendering at scale, data storytelling |
| ML Engineering |
(no director yet — route directly) |
Production monitoring, drift detection |
| Frontier |
(no director yet — route directly) |
Fairness, bias, governance, responsible AI |
Direct knowledge skill paths (prefer routing through the director when one exists):
| Skill |
Path |
Activates When |
| Data Cleaning |
skills/data-science/data-wrangling/data-cleaning/SKILL.md |
Missing values, outliers, deduplication, type issues |
| Feature Engineering |
skills/data-science/data-wrangling/feature-engineering/SKILL.md |
Encoding, transforms, feature creation, feature selection |
| Statistical Testing |
skills/data-science/statistical-analysis/statistical-testing/SKILL.md |
Hypothesis tests, power analysis, multiple comparisons |
| Causal Inference |
skills/data-science/statistical-analysis/causal-inference/SKILL.md |
Treatment effects, quasi-experiments, causal identification |
| Biostatistics |
skills/data-science/statistical-analysis/biostatistics/SKILL.md |
Survival analysis, clinical trial design, diagnostic tests, epidemiological measures, meta-analysis, regulatory stats |
| Model Evaluation |
skills/data-science/modeling/model-evaluation/SKILL.md |
Metrics, validation, model comparison, calibration, fairness |
| Time Series |
skills/data-science/modeling/time-series/SKILL.md |
Temporal data, forecasting, seasonality, trend analysis |
| Chart Selection |
skills/data-science/visualization/chart-selection/SKILL.md |
Choosing charts, design principles, accessibility (WCAG 2.2) |
| Interactive Dashboards |
skills/data-science/visualization/interactive-dashboards/SKILL.md |
Rendering by data volume, 2026 framework choice, dashboards, streaming, embedded |
| Data Storytelling |
skills/data-science/visualization/data-storytelling/SKILL.md |
Narrative structure, annotation-as-message, scrollytelling, pacing |
| Drift Detection |
skills/data-science/ml-engineering/drift-detection/SKILL.md |
Production monitoring, drift types, retraining triggers |
| Responsible AI |
skills/data-science/frontier/responsible-ai/SKILL.md |
Fairness metrics, bias, governance, model cards |
When launching an agent for analysis, always pass:
- The formalized question from Phase 3
- The specific data context (variables, sample size, constraints)
- What deliverable the user expects
For multi-stage analyses, execute sequentially — each stage receives prior results to maintain coherence. Common multi-stage patterns:
- Full pipeline: data-cleaning → feature-engineering → model-evaluation → chart-selection
- Causal study: data-cleaning → causal-inference → chart-selection
- Production deployment: model-evaluation → drift-detection → responsible-ai
- Diagnostic deep-dive: statistical-testing → causal-inference → chart-selection
Phase 5 — Synthesize and Present
After analysis completes:
Plain-language interpretation — Translate statistical results into business insight. "The DiD estimate is 12.3 percentage points (95% CI: 8.1-16.5, p < 0.001)" becomes "the new feature increased conversion by about 12 percentage points, and we're highly confident the true effect is between 8 and 17 points."
Limitations and caveats — Every analysis has them. Be explicit about what assumptions could be wrong, what data limitations exist, and what the analysis cannot tell us.
Recommendations — If the user asked "what should we do?", provide ranked options with the analytical justification behind each.
Next steps — What additional analysis would strengthen the conclusions? What data would we need? What experiments could we run?
Cross-domain connections — Note when the analysis connects to other domains:
- Design: data visualization principles, dashboard design, chart aesthetics
- Game Theory: strategic implications of findings, incentive design
- Worldbuilding: data-driven world parameters, realistic simulations
- Investing: performance attribution (causal-inference), macro cycles (time-series), factor validation (statistical-testing), alt data signals (feature-engineering), strategy monitoring (drift-detection), risk model calibration (model-evaluation)
Knowledge Layer
Always route through the orchestrator first — don't load knowledge skills directly unless the user explicitly names one.
| Subdomain |
Skills |
Consult When |
| Data Wrangling |
data-cleaning, feature-engineering |
Data preparation, transformation, encoding |
| Statistical Analysis |
statistical-testing, causal-inference, biostatistics |
Inference, hypothesis testing, treatment effects, survival analysis, clinical trials |
| Modeling |
model-evaluation, time-series |
Prediction, forecasting, model selection |
| Visualization |
chart-selection, interactive-dashboards, data-storytelling |
Chart design, dashboards & rendering at scale, data storytelling |
| ML Engineering |
drift-detection |
Production monitoring, model degradation |
| Frontier |
responsible-ai |
Fairness, bias, governance, compliance |
Failure Recovery
- If the user's question doesn't map cleanly to a subdomain, ask what decision they're trying to make — the decision usually reveals the right analytical approach
- If data quality is too poor for the intended analysis, route to data-cleaning first and be transparent about limitations
- If multiple analytical approaches apply (e.g., both predictive and causal), explain the trade-off and let the user choose
- If the user rejects an analysis, ask which assumption or framing feels wrong rather than re-running the same approach
- If a skill is not yet built for the specific task, provide the best analysis possible from the orchestrator level and note what specialist depth would add
Scope Boundaries
This orchestrator handles data science analysis and methodology. It does NOT:
- Write production-grade code (it provides methodology; implementation is a separate task)
- Replace domain expertise (it provides analytical frameworks; domain interpretation requires context)
- Make business decisions (it provides evidence and recommendations; decisions are human)
- Guarantee causal claims without appropriate study design (it flags when causal language is warranted vs. not)
- Serve as a statistics textbook (it provides practical decision frameworks, not theoretical proofs)
1---2name: data-science-orchestrator3description: Orchestrate data science analysis across the full project lifecycle. Use when the user needs to clean or prepare data, perform exploratory analysis, engineer features, run statistical tests, build or evaluate models, design causal studies, create visualizations, monitor deployed models, or apply responsible AI principles. Routes to the right specialist skill based on where the user is in the data science workflow.4---56# Data Science Orchestrator — The Analyst78Route data science problems to the right analytical framework, coordinate multi-stage analyses, and synthesize results into actionable insights. The core capability is **bridging vague analytical questions to rigorous methodology** — taking "why did our revenue drop last quarter?" and producing a structured investigation combining EDA, causal reasoning, and clear visualization.910## Phases1112### Phase 1 — Understand the Analytical Question1314Before any analysis, determine what the user actually needs:1516- **Question type** — Descriptive ("what happened?"), diagnostic ("why?"), predictive ("what will happen?"), prescriptive ("what should we do?"), causal ("does X cause Y?")17- **Data state** — Raw and messy, partially cleaned, analysis-ready, already modeled18- **Constraints** — Time pressure, computational resources, interpretability requirements, regulatory needs19- **Audience** — Technical team, executives, regulators, academic peer review20- **Success criteria** — What would a good answer look like? A number, a chart, a model, a recommendation?2122If the user describes a situation vaguely ("analyze this data"), ask targeted questions to determine the analytical goal. If the user presents a specific technical question, validate that the chosen approach matches the question.2324### Phase 2 — Classify and Route2526Determine which subdomain applies. A problem often spans multiple subdomains — pick the primary and note supporting analyses.2728Read `references/domain-taxonomy.md` for the full subfield map.2930**Subdomain routing summary:**3132| Subdomain | Activates When | Primary Concern |33|-----------|---------------|-----------------|34| Data Wrangling | Data is messy, incomplete, or needs transformation | Getting data analysis-ready |35| Statistical Analysis | Need rigorous inference, hypothesis testing, causal claims | Valid conclusions from data |36| Modeling | Need predictions, classifications, or forecasts | Accurate and reliable models |37| Visualization | Need to communicate findings or explore patterns visually | Clear, honest data communication |38| ML Engineering | Models are in production and need monitoring | Reliability and performance over time |39| Frontier | Fairness concerns, governance requirements, emerging methods | Responsible and compliant AI |4041**Classification decision tree:**42431. Is the data ready for analysis, or does it need preparation?44 - Needs preparation → Data Wrangling45 - Ready → continue462. Is the goal to **understand/infer** from data, or to **predict/automate**?47 - Understand/infer → continue to step 348 - Predict/automate → continue to step 4493. Is the question about **what causes what**, or about **patterns and associations**?50 - Causal → Statistical Analysis (causal-inference)51 - Associations/testing → Statistical Analysis (statistical-testing)524. Does the data have a **temporal dimension** that matters?53 - Yes, forecasting needed → Modeling (time-series)54 - No → Modeling (model-evaluation for model selection)555. Do results need to be **communicated visually**?56 - Yes → Visualization (director routes: chart-selection for chart choice, interactive-dashboards for scale/interactivity, data-storytelling for narrative)576. Is the model **already deployed** and needs monitoring?58 - Yes → ML Engineering (drift-detection)597. Does the analysis involve **clinical/biomedical data**, survival analysis, or **regulatory submissions**?60 - Yes → Statistical Analysis (biostatistics)618. Are there **fairness, bias, or regulatory** concerns?62 - Yes → Frontier (responsible-ai) — often runs in parallel with other subdomains6364### Phase 3 — Formalize6566Before delegating, establish the analytical frame:67681. **Data specification** — What data exists? What are the key variables? What is the unit of observation? What is the sample size?69702. **Methodology** — Based on the question type, select the appropriate approach:71 - Descriptive → EDA + visualization72 - Diagnostic → statistical testing + causal reasoning73 - Predictive → model building + evaluation74 - Causal → quasi-experimental design75 - Monitoring → drift detection + alerting76773. **Assumptions** — Document what we're assuming about the data-generating process, independence, stationarity, or causal structure. Flag assumptions that need validation.78794. **Deliverable** — What the user gets at the end:80 - A clean dataset ready for analysis81 - A statistical test result with effect size and confidence interval82 - A trained model with evaluation metrics83 - A visualization with annotations84 - A monitoring dashboard specification85 - A fairness audit report8687### Phase 4 — Delegate8889Route through the subdomain director first. The director handles routing to specific knowledge skills, curriculum order, and conflict resolution within its area.9091**Always route through the director:**9293| Subdomain | Director | Consult When |94|-----------|----------|-------------|95| Data Wrangling | `skills/data-science/data-wrangling/SKILL.md` | Data cleaning, transformation, encoding, feature engineering |96| Statistical Analysis | `skills/data-science/statistical-analysis/SKILL.md` | Hypothesis testing, causal inference, biostatistics, survival analysis |97| Modeling | `skills/data-science/modeling/SKILL.md` | Prediction, forecasting, model selection, evaluation |98| Visualization | `skills/data-science/visualization/SKILL.md` | Chart selection, dashboards & rendering at scale, data storytelling |99| ML Engineering | (no director yet — route directly) | Production monitoring, drift detection |100| Frontier | (no director yet — route directly) | Fairness, bias, governance, responsible AI |101102**Direct knowledge skill paths** (prefer routing through the director when one exists):103104| Skill | Path | Activates When |105|-------|------|----------------|106| Data Cleaning | `skills/data-science/data-wrangling/data-cleaning/SKILL.md` | Missing values, outliers, deduplication, type issues |107| Feature Engineering | `skills/data-science/data-wrangling/feature-engineering/SKILL.md` | Encoding, transforms, feature creation, feature selection |108| Statistical Testing | `skills/data-science/statistical-analysis/statistical-testing/SKILL.md` | Hypothesis tests, power analysis, multiple comparisons |109| Causal Inference | `skills/data-science/statistical-analysis/causal-inference/SKILL.md` | Treatment effects, quasi-experiments, causal identification |110| Biostatistics | `skills/data-science/statistical-analysis/biostatistics/SKILL.md` | Survival analysis, clinical trial design, diagnostic tests, epidemiological measures, meta-analysis, regulatory stats |111| Model Evaluation | `skills/data-science/modeling/model-evaluation/SKILL.md` | Metrics, validation, model comparison, calibration, fairness |112| Time Series | `skills/data-science/modeling/time-series/SKILL.md` | Temporal data, forecasting, seasonality, trend analysis |113| Chart Selection | `skills/data-science/visualization/chart-selection/SKILL.md` | Choosing charts, design principles, accessibility (WCAG 2.2) |114| Interactive Dashboards | `skills/data-science/visualization/interactive-dashboards/SKILL.md` | Rendering by data volume, 2026 framework choice, dashboards, streaming, embedded |115| Data Storytelling | `skills/data-science/visualization/data-storytelling/SKILL.md` | Narrative structure, annotation-as-message, scrollytelling, pacing |116| Drift Detection | `skills/data-science/ml-engineering/drift-detection/SKILL.md` | Production monitoring, drift types, retraining triggers |117| Responsible AI | `skills/data-science/frontier/responsible-ai/SKILL.md` | Fairness metrics, bias, governance, model cards |118119When launching an agent for analysis, always pass:120- The formalized question from Phase 3121- The specific data context (variables, sample size, constraints)122- What deliverable the user expects123124For multi-stage analyses, execute sequentially — each stage receives prior results to maintain coherence. Common multi-stage patterns:125126- **Full pipeline**: data-cleaning → feature-engineering → model-evaluation → chart-selection127- **Causal study**: data-cleaning → causal-inference → chart-selection128- **Production deployment**: model-evaluation → drift-detection → responsible-ai129- **Diagnostic deep-dive**: statistical-testing → causal-inference → chart-selection130131### Phase 5 — Synthesize and Present132133After analysis completes:1341351. **Plain-language interpretation** — Translate statistical results into business insight. "The DiD estimate is 12.3 percentage points (95% CI: 8.1-16.5, p < 0.001)" becomes "the new feature increased conversion by about 12 percentage points, and we're highly confident the true effect is between 8 and 17 points."1361372. **Limitations and caveats** — Every analysis has them. Be explicit about what assumptions could be wrong, what data limitations exist, and what the analysis cannot tell us.1381393. **Recommendations** — If the user asked "what should we do?", provide ranked options with the analytical justification behind each.1401414. **Next steps** — What additional analysis would strengthen the conclusions? What data would we need? What experiments could we run?1421435. **Cross-domain connections** — Note when the analysis connects to other domains:144 - Design: data visualization principles, dashboard design, chart aesthetics145 - Game Theory: strategic implications of findings, incentive design146 - Worldbuilding: data-driven world parameters, realistic simulations147 - Investing: performance attribution (causal-inference), macro cycles (time-series), factor validation (statistical-testing), alt data signals (feature-engineering), strategy monitoring (drift-detection), risk model calibration (model-evaluation)148149## Knowledge Layer150151**Always route through the orchestrator first** — don't load knowledge skills directly unless the user explicitly names one.152153| Subdomain | Skills | Consult When |154|-----------|--------|-------------|155| Data Wrangling | data-cleaning, feature-engineering | Data preparation, transformation, encoding |156| Statistical Analysis | statistical-testing, causal-inference, biostatistics | Inference, hypothesis testing, treatment effects, survival analysis, clinical trials |157| Modeling | model-evaluation, time-series | Prediction, forecasting, model selection |158| Visualization | chart-selection, interactive-dashboards, data-storytelling | Chart design, dashboards & rendering at scale, data storytelling |159| ML Engineering | drift-detection | Production monitoring, model degradation |160| Frontier | responsible-ai | Fairness, bias, governance, compliance |161162## Failure Recovery163164- If the user's question doesn't map cleanly to a subdomain, ask what decision they're trying to make — the decision usually reveals the right analytical approach165- If data quality is too poor for the intended analysis, route to data-cleaning first and be transparent about limitations166- If multiple analytical approaches apply (e.g., both predictive and causal), explain the trade-off and let the user choose167- If the user rejects an analysis, ask which assumption or framing feels wrong rather than re-running the same approach168- If a skill is not yet built for the specific task, provide the best analysis possible from the orchestrator level and note what specialist depth would add169170## Scope Boundaries171172This orchestrator handles **data science analysis and methodology**. It does NOT:173- Write production-grade code (it provides methodology; implementation is a separate task)174- Replace domain expertise (it provides analytical frameworks; domain interpretation requires context)175- Make business decisions (it provides evidence and recommendations; decisions are human)176- Guarantee causal claims without appropriate study design (it flags when causal language is warranted vs. not)177- Serve as a statistics textbook (it provides practical decision frameworks, not theoretical proofs)