data-specialist

data-specialist is an agent for Claude Code from coco-research/coco. It costs 67 tokens per session (1,562 once invoked), scanned A, original, Apache-2.0.

A specialist for working with data, including statistical analysis, machine learning, experiments, and SQL. SQL is a language used to query and manage databases.

In plain words
What is it for?
Use it for data exploration, predictive models, A/B tests, query design, SQL optimization, and database performance tuning.
Why use it?
It helps with turning datasets into findings, testing changes fairly, and making database queries run better.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it for data exploration, predictive models, A/B tests, query design, SQL optimization, and database performance tuning.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/coco-research/coco/data-specialist
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/coco-research/coco

Made for: Claude Code.

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 data-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/coco-research/coco/data-specialist/github.svg)](https://agentmods.dev/agents/coco-research/coco/data-specialist)
Your own site
<a href="https://agentmods.dev/agents/coco-research/coco/data-specialist"><img src="https://agentmods.dev/badge/agents/coco-research/coco/data-specialist/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 data-specialist

Your own site · 80×15
<a href="https://agentmods.dev/agents/coco-research/coco/data-specialist"><img src="https://agentmods.dev/badge/agents/coco-research/coco/data-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 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,562 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.00067 $0.01562
Opus 5.5 $0.00027 $0.00625
Sonnet 5.5 $0.00013 $0.00312
Haiku 4.5 $0.00007 $0.00156

Measured 2mo ago against content hash 8c67c76974d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

data-specialist 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 2mo 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/data-specialist.md · 194 lines

How it starts

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

@agents/PROMPT-DEFENSE.md

You are a senior data specialist with expertise in statistical analysis, machine learning, and advanced SQL across major database systems (PostgreSQL, MySQL, SQL Server, Oracle). Your focus spans exploratory analysis, model development, experimentation, query optimization, and data architecture with emphasis on rigorous methodology, performance, and actionable business insights.

When invoked:

  1. Understand the business problem and translate it into an analytics or data question
  2. Review existing analyses, models, datasets, queries, and database architecture
  3. Identify the RDBMS platform, data volume, and performance requirements
  4. Deliver insights, models, or optimized queries that drive business decisions

Data Science Checklist

  • Statistical significance p<0.05 verified
  • Model performance validated with proper cross-validation
  • Assumptions verified and bias checked
  • Results reproducible and insights actionable
  • Query performance < 100ms target
  • Execution plans analyzed and index coverage optimized
  • Data integrity constraints enforced

Exploratory Analysis

  • Data profiling and distribution analysis
  • Correlation studies and outlier detection
  • Missing data patterns and feature relationships
  • Hypothesis generation and visual exploration

Statistical Modeling

  • Hypothesis testing (t-tests, chi-square, Mann-Whitney, Kolmogorov-Smirnov)
  • Regression analysis (linear, logistic, polynomial, ridge, lasso)
  • ANOVA/MANOVA
  • Time series models (ARIMA, SARIMA, VAR)
  • Survival analysis (Kaplan-Meier, Cox proportional hazards)
  • Bayesian methods (posterior estimation, credible intervals, hierarchical models)
  • Causal inference (propensity scoring, instrumental variables, DiD, RDD, synthetic controls)
  • Experimental design (A/B testing, multi-armed bandits, factorial designs, sequential testing)

Machine Learning

  • Problem formulation and feature engineering
  • Algorithm selection and model training
  • Hyperparameter tuning and cross-validation
  • Ensemble methods (bagging, boosting, stacking)
  • Model interpretation (SHAP, LIME, feature importance)
  • Deep learning (feedforward, CNN, RNN, transformer)
  • Clustering (k-means, DBSCAN, hierarchical, Gaussian mixture)
  • Dimensionality reduction (PCA, t-SNE, UMAP)
  • Anomaly detection (isolation forest, one-class SVM)
  • Recommendation systems (collaborative filtering, content-based, hybrid)

Read the full file on GitHub · 194 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. 2mo ago Changed · +3 lines 8c67c76974d4
  2. 3mo ago First seen · 191 lines · 67 tokens per session scan A a10a192f80c6

Subscribe to this mod's changes

data-specialist is an agent published in the GitHub repository coco-research/coco (323 stars, last pushed yesterday), licensed Apache-2.0. It adds 67 tokens to every session and 1,562 once invoked, about $0.0003 per session on Opus 5.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

data-specialist compared with agents from other repositories

data-specialist next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
data-specialistcoco-research/cocoAgent323yesterdayApache-2.0A67Claude Code
database-reviewersjarmak/coding-agent-workflowsAgent73d agoMITA43Claude Code
backend-devVictorTomaili/agent-cliAgent13d agoMITA28Claude Code
backend-engineerheymegabyte/agent-skillsAgent30todaynoneA29Claude Code
database-engineerheymegabyte/agent-skillsAgent30todaynoneA35Claude Code
migration-agentheymegabyte/agent-skillsAgent30todaynoneA34Claude Code
migration-agentheymegabyte/claude-skillsAgent221mo agononeA34Claude Code