# Stats Consistency Checker

> Automated numerical consistency auditor for cross-checking statistics across manuscripts and reports.

Stats Consistency Checker is a free AI agent skill on Agensi by NiKo, in Research & Analysis. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [NiKo](https://www.agensi.io/creators/niko)
- Category: [Research & Analysis](https://www.agensi.io/skills/research-analysis)
- Version: 1.0
- Last updated: 2026-11-28
- Security: scan passed (2026-11-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/stats-consistency-checker
- Tags: research, documentation, python, data-analysis, academic-writing

## About this skill

Statistical manuscripts often fail peer review due to simple arithmetic errors or sections that contradict each other. A result reported as significant in the abstract might have a p-value above 0.05 in the results table, or sub-group totals might not sum to the stated sample size. This skill identifies these numerical discrepancies before submission by cross-referencing values across your entire document.

### What it does
- **Cross-section verification** compares numbers between abstracts, results sections, and tables to find mismatches.
- **Summation auditing** verifies that totals in rows and columns equal the sum of their constituent parts.
- **Statistical sanity checks** flags internal contradictions between estimates, confidence intervals, and p-values.
- **Denominator tracking** detects when percentage denominators silently shift from the stated sample size.
- **Deterministic reporting** provides a clear BLOCKED, INCOMPLETE, or OK status based on script-driven logic rather than LLM guesswork.

### How it works
1. **Identify locations** where the same quantities are reported in at least two different sections of the document.
2. **Extract quantities** to a structured fact sheet, capturing sample sizes, percentages, estimates, CIs, and p-values.
3. **Execute engine** using the provided Python script to perform deterministic consistency checks.
4. **Generate report** following a standardized template that quotes specific values and locations for every finding.

### Frameworks & tools
The skill utilizes a Python-based consistency engine and a structured JSON fact-sheet schema. It relies on standard statistical parameters such as significance levels and z-values for interval verification.

### Why this beats prompting it yourself
Standard LLM prompts often hallucinate arithmetic or miss subtle rounding drifts across long documents. This skill uses a deterministic script to ensure every check is mathematically sound and produces a reproducible verdict that can be diffed across document versions.

### Use cases
- **Pre-submission audit** of a journal paper to ensure the abstract matches the final data tables.
- **Grant report validation** to verify that budget figures or participant counts are consistent throughout the narrative.
- **Thesis chapter review** to catch rounding errors or sample size discrepancies before a defense.
- **Reviewer response** to address specific criticisms regarding inconsistent confidence intervals or totals.

### Known limitations
Does not validate study design, model specification, or raw data accuracy. Requires at least two instances of a reported quantity to perform a cross-check.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Stats Consistency Checker skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill prevent my manuscript from failing peer review?

This skill performs a deterministic audit of your document to catch arithmetic errors, mismatched totals, and contradictions between your abstract, text, and tables that often lead to peer review rejection.

### Why should I use this skill instead of just asking an AI to check my math?

Unlike standard LLMs that often hallucinate math, this skill uses a Python-based engine to perform actual calculations, ensuring that p-values, confidence intervals, and row totals are mathematically sound.

### Which AI agents or platforms are compatible with the Stats Consistency Checker?

The skill is designed to work with most major AI agents that support file analysis and Python execution environments, though it works best with agents capable of processing long-form PDF or Word documents.

### What specific components am I getting with this skill purchase?

Your purchase includes the logic-driven consistency engine, the structured JSON fact-sheet schema for data extraction, and a standardized reporting template for auditing your results.

### Can this skill verify if my reported numbers match my raw underlying dataset?

No, it identifies internal contradictions within your report (e.g., if a sub-group total doesn't match the N= value), but it does not have access to your raw database to verify if those original numbers are correct.

### What types of statistical values can the checker verify?

The engine is optimized for standard frequentist statistics, including p-values, confidence intervals, sample sizes (N), and percentage distributions across rows and columns.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
