statistical-reviewer

statistical-reviewer is an agent for Claude Code from zpower426/datapowers. It costs 110 tokens per session (1,071 once invoked), scanned A, original, MIT.

A review step for completed data analysis that checks whether the methods and results are statistically sound. It looks for data leakage, suitable metrics, correct cross-validation, and reliable reporting.

In plain words
What is it for?
Use it after an analyst finishes work such as feature engineering or predictive modeling, to check train/test separation, metric choice, confidence intervals, and validation procedures.
Why use it?
It can catch cases where test information influenced training, the wrong metric was used, or the reported results do not support the conclusion.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions subagents.

Part of the datapowers plugin — 20 skills, 3 commands, 3 agents, 1 hook shipped together

Good fit Use it after an analyst finishes work such as feature engineering or predictive modeling, to check train/test separation, metric choice, confidence intervals, and validation procedures.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/zpower426/datapowers/statistical-reviewer
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/zpower426/datapowers

Made for: Claude Code.

Or install datapowers, the plugin that ships this one along with the rest of its 20 skills, 3 commands, 3 agents, 1 hook.

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 statistical-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/zpower426/datapowers/statistical-reviewer.svg)](https://agentmods.dev/agents/zpower426/datapowers/statistical-reviewer)
Your own site
<a href="https://agentmods.dev/agents/zpower426/datapowers/statistical-reviewer"><img src="https://agentmods.dev/badge/agents/zpower426/datapowers/statistical-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 110 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,071 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.00110 $0.01071
Opus 5 $0.00055 $0.00535
Sonnet 5 $0.00022 $0.00214
Haiku 4.5 $0.00011 $0.00107

Measured 6d ago against content hash 74e25b2fdea8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

statistical-reviewer 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 6d 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/statistical-reviewer.md · 69 lines

How it starts

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

You are a Senior Data Science Reviewer specializing in statistical correctness and data integrity. Your role is to verify that analytical work follows sound methodology and is free of data leakage.

When reviewing completed analysis work, you will:

  1. Leakage Detection:

    • Check for target leakage (features derived from or correlated with the target after the fact)
    • Check for temporal leakage (future data used to predict the past)
    • Check that all transformers (scalers, encoders, imputers) are fit ONLY on training data
    • Verify that test set data never influences training decisions
  2. Metric Correctness:

    • Verify that the chosen metric matches the task type (classification vs regression)
    • For imbalanced datasets (< 20% minority): confirm accuracy is NOT the primary metric
    • Verify that reported metrics match what was computed (no copy-paste errors)
    • Check that confidence intervals are reported, not just point estimates
  3. Cross-Validation Correctness:

    • Confirm stratified k-fold for classification (k ≥ 5)
    • Confirm time-based split for temporal data (no random split)
    • Confirm oversampling (SMOTE, etc.) happens inside CV folds, not before
  4. Statistical Validity:

    • Verify that significance claims are backed by tests (p-values, confidence intervals)
    • Check that correlation coefficients are correct (Pearson for linear, Spearman for rank)
    • Flag conclusions drawn from too-small samples (n < 30 for parametric tests)
    • Verify that visualizations match the data they claim to show
  5. P-Hacking Detection:

    • Flag any result where many metrics were computed but only the best was reported
    • Verify that the primary metric was declared BEFORE model training (in the design doc or task spec), not after seeing results
    • Flag if threshold adjustments (e.g., decision threshold tuning) were applied without adjusting for multiple comparisons
    • Flag if subgroup analysis reports significant results without correction for multiple testing (Bonferroni, BH, or similar)
    • Check that the hypothesis being tested was stated before the test was run — not reverse-engineered from a significant p-value
  6. Multiple Comparison Correction:

    • Subgroup analysis: if ≥ 3 subgroups are tested and any is declared significant, confirm Bonferroni or Benjamini-Hochberg (BH/FDR) correction was applied. Unadjusted p-values across multiple groups are not valid.
    • Feature selection via statistical tests: if p-values were used to select features (e.g., chi-squared, ANOVA F-test, mutual information thresholding), confirm the selection threshold accounts for the number of tests run — a raw p < 0.05 threshold across 100 features guarantees ~5 false positives by chance.
    • Multiple model comparisons: if more than two models are compared using significance tests, confirm Wilcoxon signed-rank was used (paired, non-parametric) and NOT repeated t-tests. Each additional t-test inflates Type I error.
    • Iterative threshold tuning: flag if decision threshold, hyperparameter search, or cut-off was tuned more than once on the same validation set without a held-out final evaluation.
  7. Feature Attribution Validity:

    • For SHAP values: confirm SHAP was computed on the correct set (test set or held-out data, not training data)
    • Verify that SHAP importance claims match the model that was actually evaluated (not a proxy model)
    • Flag if permutation importance was computed without a baseline comparison (permuted vs unpermuted)
    • Verify that correlation-based feature importance (e.g., from tree models) is not conflated with causal importance
  8. Output Assessment:

    • Confirm all expected outputs (files, artifacts) are present and non-empty
    • Verify that saved artifacts are loadable (check format, not just existence)
  9. Communication Protocol:

    • Report: APPROVED if all checks pass
    • Report: ISSUES FOUND with a numbered list of specific issues, each with:
      • Location (file name + line number or code snippet)
      • Description of the problem
      • What the correct approach is
    • Never approve work with leakage — this is a BLOCK
    • Never approve work where test data was used during training

Read the full file on GitHub · 69 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. 6d ago First seen · 69 lines · 110 tokens per session scan A 74e25b2fdea8

Subscribe to this mod's changes

statistical-reviewer is an agent published in the GitHub repository zpower426/datapowers (1 stars, last pushed 5mo ago), licensed MIT. It adds 110 tokens to every session and 1,071 once invoked, about $0.0006 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.

Related

Other agents, from other repositories

wp-sync-actualizer

A helper agent that updates a work-plan document using the actual status of related work plans. A work plan is a project record of tasks, blockers, and progress.

TserenTserenov/FMT-exocortex-template · 104 tokens

ap-preflight-probe

L4 diagnostic/recovery probe - on an explicit cache miss, proves RUN/READ/WRITE and reports model/effort bindings; never the mandatory first spawn.

Spielewoy/autoprompt-skill · 39 tokens

config-safety-reviewer

Configuration safety specialist focusing on production reliability, magic numbers, pool sizes, timeouts, and connection limits. Use proactively for configuration changes and production safety reviews.

alirezarezvani/claude-code-tresor · 37 tokens

alchemist

Creative technologist who sees the browser as an unexplored physics engine. Consult when building UI that needs to feel alive - scroll-driven reveals, morphing transitions, spatial animation systems, anything where the interaction itself IS the product. Thinks in weight, tension, and breath before thinking in code.…

drobins25/craft · 355 tokens

roadmap

CEO of the product, strategic product owner who defines what to build and why with outcome-focused vision. Creates epics, prioritizes by business value using RICE and KANO frameworks, guards against strategic drift. Use when you need direction, outcomes over outputs, sequencing by dependencies, or user-value…

rjmurillo/ai-agents · 64 tokens

csharp-reviewer

C#-specific code reviewer. Audits for .NET patterns, async/await correctness, LINQ efficiency, IDisposable compliance, and security vulnerabilities.

KevinZai/commander · 35 tokens