# Data scientist

> Data scientist is an open-source agent skill for analytics and data. Guides an agent through data profiling, statistical tests and leak-safe model baselines. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/tronghieu/agent-skills/tree/main/skills/data-scientist
- **Repository:** https://github.com/tronghieu/agent-skills
- **GitHub stars:** 126
- **License:** MIT
- **Skill name:** data-scientist
- **Collection:** https://github.com/tronghieu/agent-skills
- **Categories:** [analytics and data](https://ai-powered.com/categories/analytics-and-data)
- **Listing updated:** 2026-12-03

## About

This skill sets up an AI coding agent to work like a disciplined data scientist, moving from a business question through exploration, analysis, validation and a decision-oriented report. It requires the agent to inspect a dataset before trusting its schema, attach uncertainty to every estimate, and run a simple baseline before reaching for complex models. Work is organized in a per-project workspace holding a brief, data profile, EDA report, experiment log, model card and insight report.

Two bundled Python scripts do the repeatable groundwork. One profiles a CSV, Parquet or similar file for shape, types, missingness, cardinality, duplicates, correlations and warnings such as constant or ID-like columns. The other runs a dummy baseline and a linear model in cross-validated pipelines, detects regression or classification automatically, supports time-based and group splits, and scans for mechanical leakage. Both write a markdown report and a JSON file. The skill also includes a leakage checklist and a review checklist that the agent works through before any conclusion is presented.

It expects Python with pandas and numpy, plus scikit-learn for the baseline runner. Data can come from local files, SQL tools, database connectors or APIs, as long as it is saved to a file first. The skill recommends options and trade-offs but leaves the business decision to the user.

## When your agent uses it

> Act as an end-to-end data scientist: turn business questions into defensible analysis, validated models, and decision-ready reports. Use whenever the user asks to analyze, explore, or profile a dataset or CSV/Parquet/Excel file; asks what drives a metric or why a number changed ("why did churn go up?"); wants to test whether a difference is real (A/B tests, experiments, "is this significant?", "how many samples do I need?"); wants a predictive model (churn, forecast, scoring, segmentation, classification, regression); asks to review an existing analysis, notebook, or model for flaws; or needs results written up for decision-makers. Triggers in any language ("phân tích dữ liệu", "xây model dự đoán", "kiểm định A/B"), even when they never say "data science" or "statistics".

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/tronghieu/agent-skills/tree/HEAD/skills/data-scientist)
- [No network calls found in its scripts](https://github.com/tronghieu/agent-skills/tree/HEAD/skills/data-scientist)
- [License: MIT](https://github.com/tronghieu/agent-skills/tree/HEAD/skills/data-scientist)

## Features

- **Data profiling script:** Produces a markdown and JSON profile covering types, missingness, duplicates and data-quality warnings.
- **Leak-safe baseline models:** Runs dummy and linear baselines in cross-validated pipelines with time and group split options.
- **Leakage scanning:** Flags features that predict the target suspiciously well and duplicate rows across folds.
- **Statistical interpretation guidance:** Covers hypothesis tests, effect sizes, confidence intervals and sample-size questions.
- **Adversarial review checklist:** Guides a red-team pass over an analysis or notebook before its conclusions are shared.
- **Structured project workspace:** Provides templates for briefs, EDA reports, experiment logs, model cards and insight reports.

## Good for

- Profile a new CSV and flag duplicates, ID columns or class imbalance
- Check whether an A/B test lift is statistically meaningful
- Build a baseline churn model and compare it against a majority-class dummy
- Review a colleague's notebook for leakage and confounders
- Write up analysis results as a decision-ready report for stakeholders

## Install

### Claude Code

This skill ships in the `agent-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add tronghieu/agent-skills
/plugin install agent-skills@tronghieu-skills
```

Or copy only this skill to `~/.claude/skills/data-scientist`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tronghieu/agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/data-scientist &&
cp -R "$tmp/skills/data-scientist" ~/.claude/skills/data-scientist &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/data-scientist` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/data-scientist` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tronghieu/agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/data-scientist &&
cp -R "$tmp/skills/data-scientist" ~/.agents/skills/data-scientist &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/data-scientist` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/data-scientist` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tronghieu/agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/data-scientist &&
cp -R "$tmp/skills/data-scientist" ~/.cursor/skills/data-scientist &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/data-scientist` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/tronghieu/agent-skills.git --path skills/data-scientist
```

Or copy the folder to `~/.gemini/skills/data-scientist` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/data-scientist`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tronghieu/agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/data-scientist &&
cp -R "$tmp/skills/data-scientist" ~/.copilot/skills/data-scientist &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/data-scientist` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/tronghieu/agent-skills.git
```

Then copy `agent-skills/skills/data-scientist` into your agent's skills folder as `data-scientist`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

Python with pandas and numpy for both scripts, and scikit-learn for the baseline model runner.

### Does Data scientist change my data files?

It reads the dataset and writes its reports into a ds-workspace folder for the project.

### When does Data scientist trigger?

When the user asks to analyze or profile a dataset, test whether a difference is real, build a predictive model, review an analysis, or write results up for decision-makers.

### Does Data scientist make business decisions?

No. It recommends options with quantified trade-offs and leaves the decision to the user.

### How do I install Data scientist in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/data-scientist to use it in all your projects, or to .claude/skills/data-scientist in one project. Or install the agent-skills plugin, which includes it: /plugin marketplace add tronghieu/agent-skills, then /plugin install agent-skills@tronghieu-skills.

### Does Data scientist run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Data scientist?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Data scientist?

The closest alternatives to Data scientist are Famou data analysis, Datanalysis credit risk, Data analysis, Data pipeline work and Quantitative analysis.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Famou data analysis](https://ai-powered.com/skills/famou-data-analysis): Famou data analysis is an open-source agent skill for analytics and data.
- [Datanalysis credit risk](https://ai-powered.com/skills/datanalysis-credit-risk): Datanalysis credit risk is an open-source agent skill for analytics and data.
- [Data analysis](https://ai-powered.com/skills/data-analysis): Data analysis is an open-source agent skill for analytics and data.
- [Data pipeline work](https://ai-powered.com/skills/data-pipeline-work): Data pipeline work is an open-source agent skill for analytics and data.
- [Quantitative analysis](https://ai-powered.com/skills/quantitative-analysis): Quantitative analysis is an open-source agent skill for analytics and data.
- [Anomaly investigation](https://ai-powered.com/skills/anomaly-investigation): Anomaly investigation is an open-source agent skill for analytics and data.
- [Data analysis](https://ai-powered.com/skills/data-analysis-melandlabs): Data analysis is an open-source agent skill for analytics and data.
- [Agent platform eval flywheel](https://ai-powered.com/skills/agent-platform-eval-flywheel): Agent platform eval flywheel is an open-source agent skill for ai models and llm tooling.

---
Source: https://ai-powered.com/skills/data-scientist
