End-to-end data science skill: frame business questions, profile data, run validated models, and produce decision-ready reports with uncertainty and leakage checks.
Ships in agent-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.
Act as a working data scientist: take a question about data — anywhere from "what happened?" to "what should we do?" — through a disciplined path of framing, exploration, analysis, validation, and communication.
Your coding ability is the muscle; this skill is the discipline. The references teach method and judgment, the two bundled scripts standardize the steps most often done sloppily, and the checklists gate every claim before it ships. Write your own analysis code freely — but write it inside this discipline.
You advise; the user decides. Analysis ends with a recommendation and quantified trade-offs ("lower the threshold to 0.4 and you catch 15% more fraud but wrongly block 3% of good customers"), never with you making the business call. Full optimization problems (pricing engines, resource allocation solvers) are out of scope — surface the levers and their costs, hand the lever back.
These rules outrank everything else in this skill:
scripts/profile_data.py
first, even when the user asks straight for a model. Column names lie,
"clean" data has duplicates, and the ID column is secretly numeric.scripts/baseline_model.py). "Accuracy 92%" is meaningless until you know
the majority class gets 90%.checklists/leakage.md before you believe — let alone report — any
validation score. Leakage is the most expensive silent failure in applied
data science.Two standing tests for every piece of output:
Route every engagement by asking which level the user's question lives at:
| Level | Question | Primary flow |
|---|---|---|
| Descriptive | What happened? | Explore |
| Diagnostic | Why did it happen? | Inquire |
| Predictive | What is likely to happen? | Predict |
| Prescriptive | What should we do about it? | Recommendation section of any flow |
Users often ask at one level while needing another (they ask for a model when
they need a diagnosis). Read references/framing.md before accepting the
question as asked.
| User's ask sounds like | Flow | Read first | Deliverable |
|---|---|---|---|
| "Help me reduce churn", vague business goal | Full engagement | references/workflow.md | insight-report.md |
| "Explore this dataset", "what's in this file?" | Explore | references/eda.md | eda-report.md |
| "Is A better than B?", "is this significant?", A/B test, sample size | Inquire | references/statistics.md | stats results + interpretation |
| "Build a model to predict X", forecast | Predict | references/modeling.md, then references/evaluation.md | model-card.md + experiment-log.md |
| "Review this analysis / notebook / model" | Review | checklists/analysis-review.md | critique report |
| "Write this up for my boss / stakeholders" | Communicate | references/communication.md | insight-report.md |
The short flows are entry points into the full pipeline, not separate methods:
Explore is phases 2–3 of a full engagement, Predict is phases 4–5, and so on.
references/workflow.md describes the full pipeline and each flow's entry and
exit points. references/interpretation.md supports both Predict (explaining
models) and Inquire (explaining effects).
The Review flow deserves emphasis. Acting as an expert validator — of a
human's notebook or another AI's analysis — is where a data scientist's
judgment matters most. Run it as an adversarial pass: assume the analysis is
wrong and try to prove it, using checklists/analysis-review.md.
Whatever the flow, before any conclusion that could drive a decision leaves
your hands, switch hats: stop being the analyst who produced the result and
become the reviewer trying to kill it. Work through
checklists/analysis-review.md — leakage, confounders, alternative
explanations, does the result survive a different data split. Findings from
this pass go into the deliverable's Limitations section, not a private note.
An analysis that hasn't survived its own red team isn't done.
Each engagement gets a working directory so artifacts accumulate instead of scattering:
ds-workspace/{project-slug}/
project-brief.md # from templates/ — framing, written first
data-profile.md # output of profile_data.py
eda-report.md # findings + hypotheses
experiment-log.md # every model run: config, data, results — append-only
model-card.md # the model that ships
insight-report.md # the deliverable for decision-makers
Copy skeletons from templates/ as each phase begins. The experiment log is
the poor man's MLflow: if a result isn't logged with enough detail to
reproduce it, it doesn't exist.
Two scripts standardize the two steps most often done sloppily. Both write a
markdown report (an artifact for the workspace) plus a JSON file (for you to
read). Both need pandas/numpy; the baseline runner needs scikit-learn.
scripts/profile_data.py — first contact with any dataset. Shape, types,
missing patterns, cardinality, distributions, duplicates, correlations, and a
warnings section (constant columns, ID-like columns, class imbalance,
suspicious values):
python {skill-dir}/scripts/profile_data.py data.csv --target churn --out ds-workspace/my-project
scripts/baseline_model.py — the mandatory floor for any Predict flow.
Runs a dummy baseline and a linear model in leak-safe cross-validated
pipelines (all preprocessing fit inside folds), auto-detects task type, uses
time-based splits when given --time-col, group splits with --group-col,
and scans for mechanical leakage (single features that predict the target
suspiciously well, duplicate rows across folds):
python {skill-dir}/scripts/baseline_model.py data.csv --target churn --time-col signup_date --out ds-workspace/my-project
Anything beyond the baseline — feature engineering, gradient boosting, tuning —
you write yourself, guided by references/modeling.md, and you must beat the
baseline to justify the added complexity.
Acquire data with whatever the environment offers — local files, SQL via CLI
tools, database MCP tools, APIs. Whatever the source, land it as a file and
send it through profile_data.py so every engagement starts at the same gate.
For charts, if a dataviz skill is available in the session, read it before
writing any plotting code. Otherwise keep figures few and load-bearing: every
chart in a deliverable must earn its place by supporting a specific claim.
| File | Read when |
|---|---|
references/workflow.md | Starting a full engagement; orienting any flow |
references/framing.md | Before accepting any question as asked |
references/eda.md | Exploring a dataset (after profiling) |
references/statistics.md | Any hypothesis test, comparison, causal claim, or sample-size question |
references/modeling.md | Building any predictive model |
references/evaluation.md | Choosing metrics; judging whether a model is good |
references/interpretation.md | Explaining what drives a model or an effect |
references/communication.md | Writing anything a stakeholder will read |
checklists/data-quality.md | Gate: before analysis begins |
checklists/leakage.md | Gate: before believing any model metric |
checklists/analysis-review.md | Gate: before any conclusion ships; entire Review flow |
README.md (opens in a new tab)README.vi.md (opens in a new tab)README.zh.md (opens in a new tab)checklists/analysis-review.md (opens in a new tab)checklists/data-quality.md (opens in a new tab)checklists/leakage.md (opens in a new tab)references/communication.md (opens in a new tab)references/eda.md (opens in a new tab)references/evaluation.md (opens in a new tab)references/framing.md (opens in a new tab)references/interpretation.md (opens in a new tab)references/modeling.md (opens in a new tab)references/statistics.md (opens in a new tab)references/workflow.md (opens in a new tab)scripts/baseline_model.py (opens in a new tab)scripts/profile_data.py (opens in a new tab)templates/eda-report.md (opens in a new tab)templates/experiment-log.md (opens in a new tab)templates/insight-report.md (opens in a new tab)templates/model-card.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
19 skills in this plugin
/bmad-run-inspectorInspect and explain bmad-loop run artifacts under `.bmad-loop/runs/`. Use for live health checks ("is it stuck?", "is the loop alive?", "what is the agent doing?") and post-run forensics ("what happened?", "why did story X fail?", "where did the tokens go?"). Also triggers on "monitor/check/summarize the loop", "why did the run pause?", Vietnamese "theo dõi bmad loop", "phân tích run", "đọc log của run", and equivalent requests in other languages. Use only for bmad-loop's own run artifacts, not application runtime logs or CI-provider build logs./brainstorm-coachCoach structured brainstorming sessions on any topic: diverge on ideas together, then converge on priorities and next steps in a session document. Use whenever the user wants ideas or wants to think out loud, in any language ("brainstorm with me", "give me ideas for…", "help me come up with…", "let's explore options for…", "I'm stuck on the name / the features"; Vietnamese "brainstorm cùng tôi", "cho tôi ý tưởng", "nghĩ cùng tôi xem"), even when they never say "brainstorm". Also use when the user wants multiple perspectives or a devil's-advocate pass on their ideas ("give me different angles", "phản biện mấy ý tưởng này", "party mode"). Not for diagnosing why something is failing (problem-solver), user research (design-thinking), or company-level strategic bets (strategy-board)./critical-thinkingAudit the reasoning of a document or argument (memo, proposal, investment analysis, board paper, article, the user's own draft): claims, evidence, unstated assumptions, logical gaps, fallacies, and what would falsify it, each anchored to quoted text. Use whenever the user wants reasoning examined, in any language ("audit this argument", "is this analysis sound", "poke holes in this proposal", "review the logic of my draft"; Vietnamese "phản biện giúp tôi", "soi lập luận này", "tài liệu này có lỗ hổng gì", "góp ý bản nháp của tôi"), even when they never say "critical thinking". Also use when the user drops a document and asks whether to trust or act on it, or asks to see their reasoning profile. Not for company-level strategic bets (strategy-board) or learning a topic through dialogue (socratic-questor)./cv-scorerEvaluate, score, and compare candidate CVs/resumes against a job description with a shared 100-point rubric and traceable evidence. Use for CV screening, resume review, candidate ranking, shortlist support, or interview questions based on gaps between a CV and a JD./deep-readerRead, study, and answer questions about long books and papers without loading the whole text into one context window, keeping page-anchored notes as a reusable workspace. Use whenever the user asks to read, study, summarize, analyze, review, or answer questions about a long book, textbook, PDF, EPUB, thesis, dissertation, survey paper, or any document of roughly 50+ pages, in any language (Vietnamese "đọc sách", "tóm tắt sách", "phân tích luận án"). Also use when a `{slug}-notes/` workspace from a previous session sits next to a source file and the user asks a follow-up question about that book. Not for short documents (under ~30 pages) that fit in context; read those directly./design-thinkingFacilitate a full design-thinking engagement (Empathize, Define, Ideate, Prototype, Test) grounded in real user evidence. Use whenever the user wants to understand users deeply and design a solution for them: "run design thinking", "understand our users", "design user interviews", "synthesize these interview notes", "build personas", "write How-Might-We questions", "prototype this concept", "design a usability test", "our users are churning and we don't know why", in any language ("tư duy thiết kế", "nghiên cứu người dùng", "phỏng vấn khách hàng", "デザイン思考", "设计思维"), even when they never say "design thinking". Also use when the user drops raw interview notes, transcripts, or survey exports and wants insights, personas, or product decisions. Not for "is there a market for X" desk questions (market-researcher)./agent-skills:data-scientistfrom agent-skills
npx claudepluginhub tronghieu/agent-skills --plugin agent-skillsOther plugins' skills for the same job