Agent skill

Data Scientist

by magnus919 in magnus919/hermes-profiles

PhD-level expertise in data science, statistics, and machine learning.

MITAuto-check passedResearch & Science

Install Data Scientist

skills CLI
$ npx skills add magnus919/hermes-profiles --skill data-scientist -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install magnus919/hermes-profiles data-scientist --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/magnus919/hermes-profiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/data-scientist .claude/skills/data-scientist && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
data-scientist
GitHub stars
282
Token cost
~3.3k tokens
SKILL.md length
1,258 words
Files
28 (incl. scripts, references, assets)
Skills in repo
31
Repo updated
First seen
Licence
MIT

At a glance

PhD-level expertise in data science, statistics, and machine learning.

  • Works in 5 steps: What kind of data? (numeric,… → What kind of question? (descriptive,… → What's the target? (population… → …
  • The task requires rigorous statistical analysis
  • SKILL.md covers Core Competencies, Decision Framework, Statistical Philosophy and Problem Formulation Protocol, plus 4 more sections
  • Runs Python scripts from its folder

What it does

Data Scientist is an agent skill from magnus919/hermes-profiles. PhD-level expertise in data science, statistics, and machine learning. Use when the task requires rigorous statistical analysis, experimental design, causal inference, advanced modeling, research methodology, or data science project leadership. Load when the user asks about statistical methods, experimental design, model selection, A/B testing, hypothesis testing, power analysis, regression, causality, Bayesian analysis, or research methodology.

Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 30 other files, including scripts, reference files and assets (for example `README.md`, `assets/experimental-plan-template.md` and `assets/report-template.md`). Compatibility notes: Python 3.10+ with scipy, statsmodels, scikit-learn, pandas, numpy. Optional R engine via rpy2.

It sits in Research & Science, covering Experimental design, Statistics and A/B testing. The repository describes itself as: Curated Hermes Agent profiles for specialist swarms — opinionated, Hermes-optimized, artifact-pyramid native. The licence is MIT.

When your agent uses it

  • The task requires rigorous statistical analysis
  • Experimental design
  • Causal inference
  • Advanced modeling

Example prompts

  • “/data-scientist”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Python 3.10+ with scipy, statsmodels, scikit-learn, pandas, numpy. Optional R engine via rpy2.

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. What kind of data? (numeric, categorical, time series, text, spatial, censored, hierarchical, high-dimensional)
  2. What kind of question? (descriptive, predictive, causal, mechanistic, exploratory)
  3. What's the target? (population parameter, future observation, treatment effect, latent structure)
  4. What's available? (sample size, features, access to more data, computational constraints)
  5. What's at stake? (consequential decisions, exploratory only, internal vs external audience)

What it can do on your machine

Read from SKILL.md and the folder at commit 867a555. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python, from the files we listed), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Python 3.10+ with scipy, statsmodels, scikit-learn, pandas, numpy. Optional R engine via rpy2.

    From compatibility in the SKILL.md frontmatter.

Context cost

Data Scientist loads about 3.3k tokens when it runs, and up to ~43k if it reads all its reference files. Until then it costs about 116 tokens; SKILL.md has 1,258 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~116
When it runs · the whole SKILL.md, loaded when a task matches
~3.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~43k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from magnus919/hermes-profiles at commit 867a555, republished under its MIT licence (© magnus919). 1,258 words, ~3,280 tokens.

Download SKILL.mdSave it as .claude/skills/data-scientist/SKILL.md (or your agent's skills folder). This skill also uses 27 other files; get the full folder from GitHub.
name
data-scientist
description
PhD-level expertise in data science, statistics, and machine learning. Use when the task requires rigorous statistical analysis, experimental design, causal inference, advanced modeling, research methodology, or data science project leadership. Load when the user asks about statistical methods, experimental design, model selection, A/B testing, hypothesis testing, power analysis, regression, causality, Bayesian analysis, or research methodology.
compatibility
Python 3.10+ with scipy, statsmodels, scikit-learn, pandas, numpy. Optional R engine via rpy2.
license
MIT
metadata.spec-version
1.0
metadata.skills
research-methodology, statistics, machine-learning, causal-inference, bayesian-analysis, experimental-design
metadata.requires-toolsets
terminal

PhD-Level Data Science

Core Competencies

A PhD-level data scientist masters eight competency domains. This skill encodes all of them. When loaded, the agent operates within this scope:

#CompetencyWhat It Enables
1Mathematical & Statistical FoundationsProbability theory, statistical inference, linear algebra, optimization, asymptotic theory — the language in which all methods are expressed
2Research Design & MethodologyFormulating testable questions, study design (observational vs experimental), power analysis, bias identification, preregistration
3Statistical Modeling & InferenceParametric and nonparametric methods, regression (linear, GLM, mixed, GAM, nonparametric), Bayesian inference, time series, survival analysis, multivariate methods
4Machine Learning & Computational MethodsSupervised/unsupervised/deep/reinforcement learning, learning theory, model selection, regularization, ensembles, transformers, probabilistic ML
5Causal Inference & ExperimentationDAGs, potential outcomes, identification strategies (IV, RDD, DID, matching, synthetic control), A/B testing, sensitivity analysis
6Reproducibility & MLOpsVersion control, environment management, pipeline orchestration, experiment tracking, model deployment, monitoring
7Communication & ImpactScientific writing, visualization, uncertainty communication, stakeholder translation, peer review, grant writing
8Research LeadershipIdentifying novel research questions, literature synthesis, mentoring, cross-disciplinary collaboration, ethical conduct

Important: This skill does not make the agent a domain expert in specific application fields (medicine, economics, biology, etc.). It provides the statistical and methodological expertise to collaborate with domain experts.


Decision Framework

Before answering any data science question, classify it into one of these types. The classification determines the response structure and rigor required.

Question Classifier
User asks a data question.
│
├─ "What model/technique should I use?"
│  → TYPE: ADVICE
│  → Respond with: options + tradeoffs + recommendation + what I'd need to know
│  → Mode: consultative, conditional recommendations
│
├─ "Is this result significant? / Analyze this data."
│  → TYPE: ANALYSIS
│  → Respond with: assumptions check → appropriate test → effect size → uncertainty → interpretation
│  → Mode: rigorous protocol, every step documented
│
├─ "Does X cause Y? / What drives Z?"
│  → TYPE: RESEARCH
│  → Respond with: causal framework → identification strategy → sensitivity → limitations
│  → Mode: causal language, no correlation claims without identification
│
├─ "How should I set up this experiment / study?"
│  → TYPE: DESIGN
│  → Respond with: design taxonomy → power analysis → blocking → randomization → analysis plan
│  → Mode: prescriptive, pre-registration-style
│
├─ "Review this analysis / paper / result."
│  → TYPE: REVIEW
│  → Respond with: methodology check → assumption audit → robustness → reproducibility → summary
│  → Mode: critical, constructive, specific
│
├─ "Compare these methods / Justify an approach."
│  → TYPE: METHODOLOGY
│  → Respond with: criteria → comparison table → recommendation with rationale
│  → Mode: structured, multi-dimensional evaluation
│
├─ Unclear / exploratory
│  → TYPE: CLARIFY
│  → Respond with: ask about data type, question structure, available data, decision context
│  → Mode: investigative
Response Rigor by Type
TypeMust IncludeMust Not Do
ADVICETradeoffs, assumptions, when NOT to useGive single answer without caveats
ANALYSISAssumption checks, effect sizes, CIs, diagnosticsStop at p-value
RESEARCHIdentification strategy, sensitivity, causal frameworkClaim causality from observational data without caveats
DESIGNPower analysis, randomization scheme, sample size justificationPromise significance
REVIEWSpecific issues with evidence, reproducibility checkVague criticism
METHODOLOGYCriteria-based comparison, explicit rationalePersonal preference

Statistical Philosophy

First Principle: Assumptions Before Methods

The most important question is never "which test do I use?" but "what am I willing to assume about how these data were generated?" Every statistical method is a set of assumptions expressed as mathematics. Violate the assumptions and the method produces nonsense with high confidence.

Sequence: Data generating process → assumptions → method selection → diagnostics → sensitivity → conclusion

Frequentist vs Bayesian Decision Rule
Use Frequentist WhenUse Bayesian When
Well-established standard in your fieldPrior information exists and should be used explicitly
P-values are expected by your audienceYou need probabilistic statements about parameters
You need a clear decision boundarySmall sample sizes with strong domain knowledge
The analysis must be fully specified upfrontComplex hierarchical models
Speed / simplicity mattersYou want posterior uncertainty quantification

Never present only p-values. Report effect sizes with confidence intervals (frequentist) or credible intervals (Bayesian) in every case.

Replicability Stance

Assume your analysis will be audited by someone with your dataset and your code. What would they need to get the same results? If there's a researcher degrees-of-freedom choice (how to handle outliers, which covariates to include, which test to run), document the decision and justify it.


Problem Formulation Protocol

When the user presents an ambiguous data science request, translate it through these steps before touching any method:

  1. What kind of data? (numeric, categorical, time series, text, spatial, censored, hierarchical, high-dimensional)
  2. What kind of question? (descriptive, predictive, causal, mechanistic, exploratory)
  3. What's the target? (population parameter, future observation, treatment effect, latent structure)
  4. What's available? (sample size, features, access to more data, computational constraints)
  5. What's at stake? (consequential decisions, exploratory only, internal vs external audience)

Then map to a method using the framework above.

Example:

  • User: "I ran an A/B test and want to know if the new design is better."
  • Reformulated: "We have a binary outcome (conversion), two independent groups, a randomized assignment. Question: is there a difference in conversion rates, and if so, how large? Stake: product decision."
  • Method: Two-proportion z-test with CI, or chi-square, or Bayesian beta-Binomial model if prior data exists.

Show full SKILL.md (614 more words)Show less

Core Principles

  1. Assumptions precede methods. Never apply a method without checking whether its assumptions hold for your data. Every reference file in this skill includes assumption-checking guidance.

  2. Effect sizes over p-values. Statistical significance tells you about sample size, not importance. Always report magnitude and precision (CI/CrI).

  3. Causal questions need causal methods. If the question involves "effect of X on Y," you need identification strategy, not just regression. See references/causal-inference-framework.md.

  4. Diagnose before trust. Every fitted model gets assumption diagnostics before interpretation. See scripts/assumption-diagnostics.py.

  5. Uncertainty is not optional. Every estimate comes with uncertainty quantification. If you can't quantify uncertainty, say so and explain why.

  6. Design before data. If you can influence data collection, do power analysis and randomization planning first. See references/experimental-design.md and scripts/power-analysis.py.

  7. Reproducibility is non-negotiable. Code, data, environment, and random seeds must be documented. See assets/experimental-plan-template.md.

  8. The simplest defensible model wins. Favor interpretability until complexity demonstrably improves predictions or inference. Justify complexity with evidence (cross-validation, model comparison, sensitivity analysis).

  9. Dimensionality reduction is exploratory, not inferential. PCA, t-SNE, UMAP, and factor analysis reveal structure — they don't test hypotheses. A component that explains 26% of variance is a real finding; it means no single factor dominates. Never present PCA as confirmation of a hypothesis; use it for discovery, diagnostics, and feature engineering. See references/pca-workflow.md and scripts/pca-analysis.py.


Communication Standards

Structure for Analysis Reports
  1. Question & Context — what was asked, what data available, what's at stake
  2. Methods — what was done, with assumptions and justifications
  3. Results — effect sizes with uncertainty, visuals with proper encoding
  4. Diagnostics — assumption checks, robustness checks
  5. Limitations — what was assumed, what could go wrong, what can't be concluded
  6. Conclusion — answer the original question, with appropriate hedging
Uncertainty Communication
  • Continuous estimates: report point estimate ± uncertainty with interval type clearly stated (95% CI, 95% CrI, ±2 SE)
  • Categorical decisions: use phrases like "the data are consistent with X, but do not rule out Y"
  • Visual: show distributions, not just point estimates. Error bars must be labeled (SD, SE, CI — these are not interchangeable)
  • Never say "prove" or "disprove." Use "support," "are consistent with," "provide evidence for/against"
Visual Best Practices
  • Label axes clearly with units
  • Show uncertainty (error bars, bands, credible intervals)
  • Use color only to encode data, not decoration
  • Prefer violin/box plots over bar charts for distributions
  • Always include a caption describing what the reader should see

Available Resources

This skill ships with supporting reference files and scripts:

  • references/statistical-methodology.md — test selection decision tree, assumptions, diagnostics
  • references/experimental-design.md — design taxonomy, power analysis, A/B testing
  • references/causal-inference-framework.md — DAGs, potential outcomes, identification strategies
  • references/regression-modeling.md — model hierarchy, assumption checks, interpretation
  • references/bayesian-workflow.md — prior elicitation, MCMC diagnostics, model comparison
  • references/pca-workflow.md — PCA workflow: data prep, assumptions, interpretation, pitfalls
  • scripts/pca-analysis.py — run PCA on a CSV with standardized output (variance explained, loadings, group means)
  • scripts/power-analysis.py — compute sample size or minimum detectable effect
  • scripts/assumption-diagnostics.py — run diagnostics on fitted models
  • scripts/model-comparison.py — compare models with AIC, BIC, CV, WAIC
  • scripts/effect-size-calculator.py — compute effect sizes with confidence intervals
  • scripts/experimental-design.py — generate experimental designs

Trigger Conditions

Load this skill when the user's request contains signals from any of these categories:

Statistical methods: hypothesis test, t-test, chi-square, ANOVA, regression, p-value, confidence interval, Bayesian, prior, posterior, MCMC, bootstrap, permutation, PCA, principal component, dimensionality reduction, factor analysis, loadings, scree plot, variance explained

Research design: experiment, A/B test, clinical trial, observational study, cohort, case-control, randomization, confounding, bias, power analysis, sample size

Causal: causality, causal inference, effect of, impact, treatment effect, DAG, directed acyclic graph, instrumental variable, DID, difference-in-differences, RDD, regression discontinuity

Modeling: machine learning, predict, classification, clustering, feature selection, overfitting, cross-validation, regularization, ensemble, gradient boosting, neural network, deep learning

General: data analysis, statistical analysis, analyze this data, methodology, what model should I use, review my analysis

© magnus919, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 27 other files (scripts, references, assets) in skills/data-scientist of magnus919/hermes-profiles.

  • SKILL.md
  • README.md
  • assets/experimental-plan-template.md
  • assets/report-template.md
  • references/bayesian-workflow.md
  • references/causal-inference-framework.md
  • references/data-science-coding-workflow.md
  • references/docker-experiment-isolation.md
  • references/experimental-campaign-protocol.md
  • references/experimental-design.md
  • references/pca-workflow.md
  • references/pytorch-integration.md
  • references/regression-modeling.md
  • references/sklearn-integration.md
  • references/statistical-methodology.md
  • references/subagent-experiment-supervision.md
  • scripts/Dockerfile
  • scripts/assumption-diagnostics.py
  • … and 10 more

Open the folder on GitHubat commit 867a555

Compare with similar skills

Data Scientist next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Data Scientist compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Data Scientist this skillmagnus919/hermes-profiles282—~3.3kAutomated safety check: PassMIT
Data Scientistmagnus919/agent-skills116—~4.1kAutomated safety check: PassMIT
Statistical Analystalirezarezvani/claude-skills28k—~2.5kAutomated safety check: PassMIT
Power Analysisgaasher/Agent-Loop-Skills174—~2.2kAutomated safety check: PassMIT
Experimentation Analyticsrampstackco/claude-skills941—~8.9kAutomated safety check: PassMIT
Review Experiment Resultsharness/harness-skills115—~3.9kAutomated safety check: PassApache-2.0

Similar skills

  • Data Scientist

    magnus919/agent-skills

    A skill your agent uses for PhD-level expertise in data science, statistics, and machine learning: rigorous statistical analysis, experimental design, causal inference, advanced modeling, research…

    116 GitHub stars~4.1k tokensUpdated yesterday
    Research & ScienceAuto-check passed
  • Statistical Analyst

    alirezarezvani/claude-skills

    Run hypothesis tests, analyze A/B experiment results, calculate sample sizes, and interpret statistical significance with effect sizes.

    28k GitHub stars~2.5k tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed
  • Power Analysis

    gaasher/Agent-Loop-Skills

    A skill your agent uses when the user is planning a two-arm comparison (an A/B test, a simple RCT, a behavioral study, or a two-model/two-config evaluation) and needs to size it and preregister it…

    174 GitHub stars~2.2k tokensUpdated 3 mo ago
    Data & AnalyticsAuto-check passed
  • Experimentation Analytics

    rampstackco/claude-skills

    How to read experiment results without fooling yourself. An agent skill from rampstackco/claude-skills.

    941 GitHub stars~8.9k tokensUpdated 2 days ago
    Data & AnalyticsAuto-check passed
  • Review Experiment Results

    harness/harness-skills

    Explain Harness FME experiment results: winner determination, statistical significance, guardrail metric impact, and data-quality caveats (low sample size, missing data).

    115 GitHub stars~3.9k tokensUpdated 3 days ago
    Data & AnalyticsAuto-check passed
  • Statistical Power

    K-Dense-AI/scientific-agent-skills

    Calculates sample sizes and statistical power for study planning.

    48k GitHub starsUsed in 1 repo~4.4k tokens
    Research & ScienceAuto-check: notes

More from magnus919/hermes-profiles

All 31 skills in this repo
  • Brand Designer

    magnus919/hermes-profiles

    Create comprehensive brand identity documentation for any brand.

    282 GitHub stars~2.3k tokensUpdated 3 mo ago
    Auto-check passed
  • Sdd Authoring

    magnus919/hermes-profiles

    Specification authoring for AI-native SDD — writes formal specifications in structured formats (Gherkin, user stories, acceptance criteria), enforces spec quality gates, and produces…

    282 GitHub stars~1.4k tokensUpdated 3 mo ago
    Auto-check passed
  • Sdd Verification

    magnus919/hermes-profiles

    SDD acceptance criteria verification — maps specification acceptance criteria to tests, validates implementation output against spec requirements, and produces artifact-pyramid-compliant…

    282 GitHub stars~1.8k tokensUpdated 3 mo ago
    Auto-check passed
  • Sdd Work Decomposition

    magnus919/hermes-profiles

    SDD work decomposition — translates formal specifications into dependency-aware task plans with per-task acceptance criteria.

    282 GitHub stars~1.4k tokensUpdated 3 mo ago
    Auto-check passed
  • Artifact Pyramids

    magnus919/hermes-profiles

    Progressive disclosure for what AI agents produce. An agent skill from magnus919/hermes-profiles.

    282 GitHub stars~2.5k tokensUpdated 3 mo ago
    Auto-check passed
  • SEO Audit

    magnus919/hermes-profiles

    Full-spectrum SEO + AEO audit skill — technical crawl analysis, on-page content optimization, structured data (JSON-LD/Schema.org) validation, Ghost CMS metadata completion, answer engine…

    282 GitHub stars~1k tokensUpdated 3 mo ago
    Auto-check passed

Questions about Data Scientist

What does Data Scientist do?

PhD-level expertise in data science, statistics, and machine learning. Data Scientist is an agent skill from magnus919/hermes-profiles. PhD-level expertise in data science, statistics, and machine learning.

When should I use Data Scientist?

Data Scientist fits situations like: the task requires rigorous statistical analysis; experimental design; causal inference; advanced modeling.

How do I install Data Scientist in Claude Code?

Run `npx skills add magnus919/hermes-profiles --skill data-scientist -a claude-code`. Or copy the skill folder (skills/data-scientist in magnus919/hermes-profiles) into .claude/skills/data-scientist in your project. Claude Code loads it when a task matches its description.

How do I install Data Scientist in Codex?

Run `npx skills add magnus919/hermes-profiles --skill data-scientist -a codex`. Or copy the skill folder (skills/data-scientist in magnus919/hermes-profiles) into .agents/skills/data-scientist in your project. Codex loads it when a task matches its description.

Can I use Data Scientist in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add magnus919/hermes-profiles --skill data-scientist -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/data-scientist, .gemini/skills/data-scientist, .github/skills/data-scientist and .opencode/skills/data-scientist in your project.

What does Data Scientist need to run?

Going by SKILL.md and its folder, Data Scientist needs Python for the scripts in its folder. Our summary lists: Python 3. Compatibility (from SKILL.md): Python 3.10+ with scipy, statsmodels, scikit-learn, pandas, numpy. Optional R engine via rpy2..

Does Data Scientist access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Data Scientist safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Data Scientist use?

Data Scientist is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Data Scientist use?

About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 40k tokens, read only when the agent opens those files.

What are the alternatives to Data Scientist?

Skills that share tags, products or a category with Data Scientist: Data Scientist (magnus919/agent-skills, 116 stars), Statistical Analyst (alirezarezvani/claude-skills, 28k stars), Power Analysis (gaasher/Agent-Loop-Skills, 174 stars) and Experimentation Analytics (rampstackco/claude-skills, 941 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Data Scientist?

magnus919 (a GitHub user) maintains it in magnus919/hermes-profiles, which has 282 GitHub stars. The repository holds 31 skills in this directory. The repository was last updated on June 27, 2026.

Source: magnus919/hermes-profiles on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.