stats-integrity

stats-integrity is a skill for Claude Code, Codex from ai4s-research/open-science. It costs 105 tokens per session (932 once invoked), scanned B, original, no licence file.

A workflow for running statistical analysis in social-science research, including regression and hypothesis tests, or reading Stata and SPSS data files.

In plain words
What is it for?
Running or reviewing regression, hypothesis tests, and econometric analysis, plus working with .dta and .sav datasets.
Why use it?
It separates reporting statistical results from making interpretations, and checks the work against a preregistered analysis plan when one exists.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Running or reviewing regression, hypothesis tests, and econometric analysis, plus working with .dta and .sav datasets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ai4s-research/open-science/stats-integrity
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.

Any agent
npx skills add ai4s-research/open-science --skill stats-integrity
Clone the repo
git clone --depth 1 https://github.com/ai4s-research/open-science

Made for: Claude Code, Codex.

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-integrity

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai4s-research/open-science/stats-integrity/github.svg)](https://agentmods.dev/skills/ai4s-research/open-science/stats-integrity)
Your own site
<a href="https://agentmods.dev/skills/ai4s-research/open-science/stats-integrity"><img src="https://agentmods.dev/badge/skills/ai4s-research/open-science/stats-integrity/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 stats-integrity

Your own site · 80×15
<a href="https://agentmods.dev/skills/ai4s-research/open-science/stats-integrity"><img src="https://agentmods.dev/badge/skills/ai4s-research/open-science/stats-integrity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 932 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00105 $0.00932
Opus 5 $0.00053 $0.00466
Sonnet 5 $0.00021 $0.00186
Haiku 4.5 $0.00011 $0.00093

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

Security

Grade B, and why

stats-integrity scanned grade B with 1 finding 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (stats_integrity_check.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Subtle steeringmediumPrompt injection

Instructions that bias recommendations or shape behaviour without the user noticing.

renders it as dismissible reviewer cards. Never tell the user the analysis is
runtime/skills/core/stats-integrity/SKILL.md · 87 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 87 lines · 105 tokens per session scan B cf67dd8551b4

Subscribe to this mod's changes

stats-integrity is a skill published in the GitHub repository ai4s-research/open-science (1,609 stars, last pushed today), with no licence file. It adds 105 tokens to every session and 932 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (subtle steering). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

integrity-auditor

Use when the user wants a paper audited for integrity issues — image misuse, numerical anomalies, logical gaps — and needs a reviewable evidence report. Works on external papers (PDF / DOI / arXiv) and on outputs from a local paper-writer run. Single-stage skill.

ai4s-research/ai4s-skills · 63 tokens

experiment-suite

Use when the user has a research question and needs a complete experiment package — design document, runnable code, results (measured or simulated with honest provenance), publication-grade figures, structured report. Single-stage, no Python runtime.

ai4s-research/ai4s-skills · 48 tokens

ai4s-agent

Use when the user wants an end-to-end AI4S research pipeline — broad direction or specific topic in, full research package out (exploration + literature survey + experiment + paper). Meta-skill that chains the four downstream skills in order. Pure markdown, no Python runtime.

ai4s-research/ai4s-skills · 61 tokens

mindmap-render

Generate beautiful, high-resolution mindmaps from Markdown unordered lists. Outputs interactive HTML, HD PNG, and PDF with colorful branch themes.

ai4s-research/ai4s-skills · 30 tokens

paper-writer

Use when the user wants a complete, publication-grade research paper on a specific topic — produces 200+ real citations, 4–8 publication-grade figures, and 7 sections of substantive prose compiled to PDF in one pass. No skeleton stage.

ai4s-research/ai4s-skills · 54 tokens

literature-survey

Use when the user wants a comprehensive literature survey on a specific research topic. Outputs a complete PDF survey (6–20 pages, 60+ real citations, 100+ recommended) with LaTeX source, topic-specific publication figures, and a classified literature table. Single-stage, no Python runtime.

ai4s-research/ai4s-skills · 66 tokens