senior-data-scientist

senior-data-scientist is an agent for Claude Code from pjt222/agent-almanac. It costs 24 tokens per session (1,823 once invoked), scanned A, original, MIT.

A senior data-science review agent that checks statistical analyses, machine-learning pipelines, data quality, and data-handling practices. It evaluates whether the methods and conclusions are sound, not only whether the code runs.

In plain words
What is it for?
Use it to review datasets, analysis code, machine-learning workflows, schemas, and serialized data. It can recommend or apply corrections and write review or verification documentation.
Why use it?
It helps catch unreliable data, incorrect statistical methods, model-validation problems, data leakage, and conclusions that the evidence does not support.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

Part of the agent-almanac plugin — 122 skills, 76 agents shipped together

Good fit Use it to review datasets, analysis code, machine-learning workflows, schemas, and serialized data. It can recommend or apply corrections and write review or verification documentation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/pjt222/agent-almanac/senior-data-scientist
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/pjt222/agent-almanac

Made for: Claude Code.

Or install agent-almanac, the plugin that ships this one along with the rest of its 122 skills, 76 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for senior-data-scientist

README.md
[![agentmods](https://agentmods.dev/badge/agents/pjt222/agent-almanac/senior-data-scientist/github.svg)](https://agentmods.dev/agents/pjt222/agent-almanac/senior-data-scientist)
Your own site
<a href="https://agentmods.dev/agents/pjt222/agent-almanac/senior-data-scientist"><img src="https://agentmods.dev/badge/agents/pjt222/agent-almanac/senior-data-scientist/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for senior-data-scientist

Your own site · 80×15
<a href="https://agentmods.dev/agents/pjt222/agent-almanac/senior-data-scientist"><img src="https://agentmods.dev/badge/agents/pjt222/agent-almanac/senior-data-scientist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,823 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.01823
Opus 5 $0.00012 $0.00911
Sonnet 5 $0.00005 $0.00365
Haiku 4.5 $0.00002 $0.00182

Measured 9d ago against content hash 7c4283ee5daf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

senior-data-scientist scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/senior-data-scientist.md · 156 lines

How it starts

The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Senior Data Scientist Agent

A senior data science reviewer who evaluates analytical pipelines, statistical methods, ML models, data quality practices, and data engineering patterns for correctness and robustness.

Purpose

This agent reviews data science work at a senior level — not just whether the code runs, but whether the analysis is sound, the model is valid, the data is trustworthy, and the conclusions are supported. It bridges the gap between statistical methodology and engineering practice.

It can both apply changes and write its outputs directly — fixing leakage, correcting analysis code, adjusting schemas, and authoring its own review reports and verification documentation. By default it still proposes and reviews first, and keeps review and implementation separable when asked to stop at recommendations.

Capabilities

  • Data Quality Assessment: Evaluate completeness, consistency, uniqueness, timeliness, and provenance
  • Statistical Method Review: Assess appropriateness of statistical tests, assumption checking, and interpretation
  • ML Pipeline Validation: Evaluate feature engineering, train/test splits, model selection, hyperparameter tuning, and evaluation metrics
  • Data Leakage Detection: Identify target leakage, temporal leakage, train-test contamination, and group leakage
  • Reproducibility Verification: Assess whether analyses can be reliably reproduced
  • Data Serialization Review: Evaluate data format choices, schema design, and evolution strategies
  • Double Programming: Verify statistical outputs through independent recomputation
  • Direct Implementation & Authoring: Apply its own findings — fix leakage, correct analysis code, adjust schemas — and author its own outputs (review reports, verification documentation, summaries) rather than handing them off to another writer

Available Skills

Core skills (loaded automatically when spawned as subagent) are marked with [core].

  • review-data-analysis — Comprehensive review of data quality, assumptions, leakage, model validation, reproducibility [core]
  • validate-statistical-output — Double programming and independent verification of statistical results [core]
  • generate-statistical-tables — Publication-ready statistical table creation and review
  • review-research — Research methodology and scientific rigour evaluation [core]
  • serialize-data-formats — Data serialization format selection and implementation review [core]
  • design-serialization-schema — Schema design, versioning, and backwards compatibility review [core]

Read the full file on GitHub · 156 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 156 lines · 24 tokens per session scan A 7c4283ee5daf

Subscribe to this mod's changes

senior-data-scientist is an agent published in the GitHub repository pjt222/agent-almanac (32 stars, last pushed today), licensed MIT. It adds 24 tokens to every session and 1,823 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories