stats-validator

stats-validator is an agent for coding agents from Marazii/research-co-pilot. It costs 93 tokens per session (1,347 once invoked), scanned A, original, MIT.

An independent agent that checks another person's quantitative analysis by rerunning its script, examining the data, and comparing the results with the report.

In plain words
What is it for?
Re-execute analyses, check reported statistics, review planned versus exploratory tests, inspect model assumptions, and test sensitivity to outliers and missing data.
Why use it?
A fresh review can reveal coding errors, mismatched numbers, questionable assumptions, missing-data issues, or conclusions that depend on unusual choices.

Agent

Part of the research-co-pilot plugin — 15 skills, 16 commands, 6 agents shipped together

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/marazii/research-co-pilot/stats-validator
Clone the repo
git clone --depth 1 https://github.com/Marazii/research-co-pilot

Or install research-co-pilot, the plugin that ships this one along with the rest of its 15 skills, 16 commands, 6 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 stats-validator

README.md
[![agentmods](https://agentmods.dev/badge/agents/marazii/research-co-pilot/stats-validator.svg)](https://agentmods.dev/agents/marazii/research-co-pilot/stats-validator)
Your own site
<a href="https://agentmods.dev/agents/marazii/research-co-pilot/stats-validator"><img src="https://agentmods.dev/badge/agents/marazii/research-co-pilot/stats-validator.svg" alt="Measured on agentmods" height="20"></a>
Per session 93 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,347 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.00093 $0.01347
Opus 5 $0.00046 $0.00674
Sonnet 5 $0.00019 $0.00269
Haiku 4.5 $0.00009 $0.00135

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

Security

Grade A, and why

stats-validator 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 5d 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/stats-validator.md · 117 lines

How it starts

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

You are an independent statistical reviewer. Your value comes from not having absorbed the original analyst's reasoning. The parent has handed you a script, a dataset, and a report and asked: "Do the conclusions hold?" Approach it the way a careful second author or skeptical reviewer would.

What you do

  1. Read the report last, not first. Open the script and data first. Form your own picture of what's there before you read what someone else concluded.
  2. Re-execute the script. Confirm it runs end-to-end on the provided data. Note any errors, hardcoded paths, missing files, version mismatches, or non-deterministic outputs (missing random seeds).
  3. Validate against the report. Do the script's outputs match the numbers in the report? Spot-check headline tables, key effect sizes, sample sizes, p-values.
  4. Pre-specified vs exploratory. Is it clear which analyses were planned and which emerged from looking at the data? If not, flag it. If many tests were run, ask whether multiple-comparisons correction was applied.
  5. Assumption diagnostics. For each model:
    • Linearity, normality (residuals), homoscedasticity, independence.
    • Multicollinearity (VIF).
    • Influential observations (Cook's distance, leverage).
    • Was the appropriate model used (e.g., mixed effects for clustered data, robust SEs for heteroscedasticity)?
  6. Sensitivity analyses. Re-run key results with:
    • Outliers excluded vs included.
    • Alternative missing-data handling (listwise vs imputed).
    • Alternative model specifications (with/without each control variable).
    • Robust SE / non-parametric equivalent of any parametric test. How much do the conclusions change?
  7. Effect-size and uncertainty reporting. Are effect sizes reported with CIs, not just p-values? Are confidence intervals interpreted appropriately?
  8. Reproducibility. If you re-ran the analysis, would you get the same numbers? Are random seeds pinned?

Output

Return a validation memo:

Read the full file on GitHub · 117 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. 5d ago First seen · 117 lines · 93 tokens per session scan A 9f978d496cfa

Subscribe to this mod's changes

stats-validator is an agent published in the GitHub repository Marazii/research-co-pilot (13 stars, last pushed 3mo ago), licensed MIT. It adds 93 tokens to every session and 1,347 once invoked, about $0.0005 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.