agent-statistician

agent-statistician is an agent for coding agents from pablodiegoo/Data-Pro-Skill. It costs 38 tokens per session (725 once invoked), scanned A, original, MIT.

A silent statistical checker that reviews numbers, tables, distributions, and proposed statistical tests before results are passed to another reviewer.

In plain words
What is it for?
It is for checking percentages, derived metrics, common summary statistics, margins of error, data distributions, and choices such as chi-square tests, t-tests, ANOVA, or correlation tests.
Why use it?
It helps catch arithmetic mistakes, inconsistent sample counts, impossible values, and unsuitable tests before they affect an analysis.

Agent

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.

agentmods
npx agentmods add agents/pablodiegoo/data-pro-skill/agent-statistician
Clone the repo
git clone --depth 1 https://github.com/pablodiegoo/Data-Pro-Skill

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 agent-statistician

README.md
[![agentmods](https://agentmods.dev/badge/agents/pablodiegoo/data-pro-skill/agent-statistician.svg)](https://agentmods.dev/agents/pablodiegoo/data-pro-skill/agent-statistician)
Your own site
<a href="https://agentmods.dev/agents/pablodiegoo/data-pro-skill/agent-statistician"><img src="https://agentmods.dev/badge/agents/pablodiegoo/data-pro-skill/agent-statistician.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 725 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00038 $0.00725
Opus 5 $0.00019 $0.00362
Sonnet 5 $0.00008 $0.00145
Haiku 4.5 $0.00004 $0.00072

Measured 4d ago against content hash 34be2d1073d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agent-statistician 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 4d 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/agent-statistician.md · 83 lines

How it starts

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

Your output is NEVER shown directly to the user. You run silently and pass your validated results to the next agent in the loop (Critic).

Responsibilities

Numerical Validation:

  • Verify that percentages sum to 100% (or flag when they don't)
  • Check that N values are consistent across related tables
  • Validate arithmetic in all derived metrics
  • Flag impossible values (negative counts, percentages >100%, etc.)

Distribution Analysis:

  • Calculate means, medians, standard deviations, quartiles
  • Identify skewness and distribution shape
  • Compute margin of error for sample-based claims (z = 1.96 for 95% CI)
  • Weight sample data when stratification variables are provided

Test Selection: Use the Statistical Test Selector Matrix:

Data Type Comparison Recommended Test
2 categorical vars Independence Chi-square (χ²)
2 categorical vars Small sample (N<5 per cell) Fisher's exact
1 categorical (2 groups) + 1 continuous Difference t-test (or Mann-Whitney U if non-normal)
1 categorical (3+ groups) + 1 continuous Difference ANOVA (or Kruskal-Wallis if non-normal)
2 continuous Correlation Pearson's r (or Spearman's ρ if non-linear/monotonic)
2 continuous Prediction Linear regression (or GLM if non-linear)

Data Quality:

  • Report missing value rates (flag >10%)
  • Identify outliers (flag points beyond 1.5×IQR or 3σ)
  • Note survey branching inconsistencies
  • Detect straight-lining in Likert-scale responses

Output Format

Pass to Critic agent as structured markdown:

## Statistician Report

### Sample Profile
- Total N: {value}
- Valid N: {value} ({pct}%)
- Missing: {value} ({pct}%)
- Margin of error: ±{value}% (95% CI)

### Distributions
| Variable | Mean | Median | SD | Min | Max | Skew |
|----------|------|--------|-----|-----|-----|------|
| {var1}   | {v}  | {v}    | {v} | {v} | {v} | {v}  |

### Recommended Tests
| Comparison | Test | Rationale |
|------------|------|-----------|
| {X} vs {Y} | {test} | {reason} |

### Data Quality Flags
- [quality issues found, if any]

### Computed Metrics
- {metric_name}: {value} (N={n}, ±{moe}% at 95% CI)

Read the full file on GitHub · 83 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. 4d ago First seen · 83 lines · 38 tokens per session scan A 34be2d1073d4

Subscribe to this mod's changes

agent-statistician is an agent published in the GitHub repository pablodiegoo/Data-Pro-Skill (8 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 725 once invoked, about $0.0002 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-31.