/engineering-advanced-skills:senior-data-scientistfrom engineering-advanced-skills
Designs and analyzes A/B tests, engineers features with leakage checks, evaluates ML models from saved predictions, and runs causal-inference workflows. Use when sizing experiments, vetting features, or scoring models before release.
Ships in engineering-advanced-skills. 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; scripts run unread.
Expert data science for statistical modeling, experimentation, ML deployment, and data-driven decision making — A/B test design and analysis, feature engineering, model training/evaluation, production deployment, and causal inference.
data-science, machine-learning, statistics, a-b-testing, causal-inference, feature-engineering, mlops, experiment-design, model-deployment, python, scikit-learn, pytorch, tensorflow, spark, airflow
Before running an analysis or pipeline, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
Three standard-library Python tools. Each takes --format text|json, prints a sample input with --example, and writes a JSON file only when you pass --output DIR (it will not overwrite an existing one without --force). Sample inputs live in assets/.
| Script | Purpose | Example |
|---|---|---|
scripts/experiment_designer.py | Per-arm sample size, power and test duration for a two-proportion or difference-in-means A/B test, with Bonferroni adjustment for extra arms and warnings for underpowered or very long designs | python scripts/experiment_designer.py --baseline 0.10 --mde 0.02 --daily-traffic 5000 |
scripts/feature_engineering_pipeline.py | Profiles a CSV (types, nulls, cardinality, quantiles, skew), flags constant, ID-like and highly correlated columns, scores features against a target, flags leakage suspects, and drafts a keep/transform/drop plan | python scripts/feature_engineering_pipeline.py --input assets/customers_sample.csv --target churned |
scripts/model_evaluation_suite.py | Scores saved predictions: classification (confusion matrix, precision, recall, F1, ROC AUC, log loss, Brier) or regression (MAE, RMSE, R², MAPE), side by side, with a fold stability check and pass/fail against thresholds | python scripts/model_evaluation_suite.py --input assets/predictions_sample.csv --folds 5 --config assets/eval_thresholds.json |
Exit codes: 0 the run completed (a NOT READY verdict or an underpowered warning is still exit 0; read the verdict); 2 bad input (missing or malformed file, unknown column, invalid value, existing output without --force).
For hypothesis testing, causal inference, and regression analysis, use inline scipy/statsmodels — see references/statistical_methods_advanced.md.
Load the reference that matches the task — keep this file lean and pull detail on demand:
This skill covers:
What the tools do and do not do:
experiment_designer.py sizes a test with the normal approximation. It does not analyze results, check for sample ratio mismatch, or size tests for ratio metrics, CUPED or sequential designs. Below a 1% baseline treat its numbers as a lower bound.feature_engineering_pipeline.py profiles and recommends. It does not generate or write transformed features, and its leakage check is statistical (|association| of 0.90 or more with the target), so a leak that is only weakly correlated still needs a timing review.model_evaluation_suite.py evaluates predictions you already have. It does not train or retrain models, so its fold check shows how stable a metric is across subsets of the same predictions, not cross-validated generalization. Classification is binary only, and rows with a missing actual are skipped. Readiness verdicts use only the thresholds a model can be measured on; the others are listed as not applicable. Latency, error rate and drift need serving metrics; config keys for them are reported as ignored.This skill does NOT cover:
senior-data-engineersenior-ml-engineersenior-prompt-engineersenior-computer-vision| Skill | Use for |
|---|---|
senior-data-engineer | Upstream data pipelines and data-quality checks |
senior-ml-engineer | Serving, monitoring and retraining after evaluation |
Mistake: Checking an A/B test daily and stopping the first time p < 0.05.
Why it happens: Early wins are exciting and traffic is expensive.
Instead: Fix the sample size with experiment_designer.py before launch and analyse once it is reached, or use a sequential design built for interim looks. Repeated peeking inflates the false-positive rate far above the nominal 5%.
Mistake: Training on columns recorded after the outcome (refund issued, account closed date).
Why it happens: They correlate strongly, so models built on them look excellent offline.
Instead: Check every feature's timestamp against the prediction time. feature_engineering_pipeline.py flags statistical suspects; the timing review is still yours.
Mistake: Shipping on a single AUC from one random split.
Why it happens: It is the default output of most tutorials.
Instead: Evaluate on a temporal holdout that mirrors production, report calibration and the business threshold metrics, and check stability across folds (--folds).
| File | Purpose |
|---|---|
scripts/experiment_designer.py | Sample size, power and duration for two-arm or multi-arm tests |
scripts/feature_engineering_pipeline.py | CSV profiling, leakage suspects and a keep/transform/drop plan |
scripts/model_evaluation_suite.py | Classification/regression metrics, fold stability, readiness verdict |
assets/customers_sample.csv | Features with a planted leak (refund_issued) and a duplicate column |
assets/predictions_sample.csv, regression_sample.csv | Saved predictions for the evaluation suite |
assets/eval_thresholds.json, experiment_design.json | Threshold config and experiment input |
references/*.md | Workflows, operations and CLI reference, statistics, experiment design, feature patterns |
assets/customers_sample.csv (opens in a new tab)assets/eval_thresholds.json (opens in a new tab)assets/experiment_design.json (opens in a new tab)assets/predictions_sample.csv (opens in a new tab)assets/regression_sample.csv (opens in a new tab)references/ds-operations.md (opens in a new tab)references/ds-workflows.md (opens in a new tab)references/experiment_design_frameworks.md (opens in a new tab)references/feature_engineering_patterns.md (opens in a new tab)references/statistical_methods_advanced.md (opens in a new tab)scripts/experiment_designer.py (opens in a new tab)scripts/feature_engineering_pipeline.py (opens in a new tab)scripts/model_evaluation_suite.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
100 skills in this plugin
/a11y-auditStatic WCAG scan of HTML files (alt text, headings, labels, ARIA, lang, landmarks) and colour contrast checks for colour pairs or CSS. Use when auditing templates for accessibility, checking contrast, or adding an a11y gate to CI.
/agent-designerDesigns multi-agent system architectures with orchestration patterns, tool schemas, and performance evaluation. Use when building AI agent systems, designing agent workflows, creating tool schemas, or evaluating agent performance.
/agent-harnessTest and evaluation harness for AI agents — scenario suites, deterministic replay, regression diffing, cost and latency budgets. Use when agent quality is vibe-checked, before shipping a prompt or model change, or when evals drift.
/agenthubRuns a multi-agent job as a dependency graph: validates the DAG, tracks each agent's state on a board, then ranks and merges their outputs. Use when spawning parallel agents, monitoring a run, or merging results.
/agentic-evaluation-frameworkBuilds LLM and agent evals: weighted rubrics, LLM-as-judge design, inter-rater agreement and pairwise ranking (Elo, Bradley-Terry) from scores you collect. Use when setting up a judge, scoring outputs, or comparing model or prompt variants.
/agent-protocolDesign AI agent communication protocols: MCP tool schemas, A2A, function calling, and inter- agent messaging. Use when building multi-agent systems, defining tool interfaces, or implementing agent-to-agent communication.
npx claudepluginhub borghei/claude-skills --plugin engineering-advanced-skillsOther plugins' skills for the same job