Enforces results-reporting transparency as a discipline gate: every analysis run must be disclosed before any claim is written. Includes a Gate Function, Excuse-vs-Reality table, and Red-Flags-STOP list for selective reporting, cherry-picking, and bare p-values.
Ships in alterlab-methodology. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Skill type: DISCIPLINE-ENFORCING. This skill is not a how-to for running statistics. It is a gate that stands between analyses you ran and the sentence you are about to write in the Results section. It exists to stop the single most common integrity failure in quantitative write-ups: reporting the analyses that "worked" and quietly dropping the rest.
It orchestrates, it does not reimplement:
alterlab-statistical-analysis runs the tests,
checks assumptions (its alterlab-statistical-analysis/scripts/assumption_checks.py),
computes effect sizes and CIs, and produces the APA-formatted numbers. This
skill checks that those outputs are all present and disclosed before a claim
is written.alterlab-preregistration-discipline owns the
frozen plan. This skill checks that confirmatory claims match it and that
deviations are labelled.alterlab-open-science owns the disclosure mechanics (TOP Guidelines,
registration links, data/code availability).alterlab-scientific-thinking owns judging evidence quality; this skill
only enforces reporting completeness.NO RESULTS CLAIM WITHOUT REPORTING EVERY ANALYSIS RUN
Violating the letter of full reporting is violating the spirit of the science. "Reporting every analysis" means every test you actually executed against the data for this hypothesis — including the ones that returned p > .05, the specification you abandoned, and the outlier rule you tried first. A Results section is a census of what you did, not a highlight reel of what confirmed you.
Invoke it the moment a results claim is being written or defended:
If you are choosing which test to run, checking assumptions, or computing
an effect size, that is alterlab-statistical-analysis — come back here when you
move from computing numbers to claiming findings.
| The request is really about… | Route to |
|---|---|
| Choosing/running a test, assumption checks, computing effect size or CI | alterlab-statistical-analysis |
| Whether the analysis plan was frozen before data; HARKing / optional stopping | alterlab-preregistration-discipline |
| Picking the right test before seeing the p-value (test-shopping guard) | alterlab-test-selection-guard |
| Where/how to disclose: TOP Guidelines, registration link, data/code availability | alterlab-open-science |
| Judging evidence quality (GRADE, risk of bias, confounding, design validity) | alterlab-scientific-thinking |
| Verifying cited references exist / are not fabricated | alterlab-citation-verifier |
| Section-by-section peer review and an accept/revise/reject verdict | alterlab-paper-reviewer |
| Drafting the full IMRaD manuscript from a finished synthesis | alterlab-paper-writer |
| Writing the grant's final/technical report narrative | alterlab-grant-reporting |
Hand-off rule. When the request matches a row above, open your answer by naming that skill by its exact id (for example alterlab-statistical-analysis) and saying in one line why it fits better, then stop applying this skill's procedure. Name it even when you also need to ask for missing input. If only part of the request is out of scope, name the skill for that part and do only the in-scope part. A brief general pointer is fine; the named skill does the work.
Before any results claim is written, run these steps in order. This mirrors the
verification-before-completion gate (obra/superpowers): evidence before
assertions, always.
alterlab-statistical-analysis/scripts/assumption_checks.py
(normality, homogeneity, linearity, outliers) must appear in the write-up, with
the remediation taken if any were violated.alterlab-preregistration-discipline) is named and labelled
confirmatory vs. exploratory.A self-contained checker that enforces steps 2–5 over a small JSON manifest of
the claim is scripts/reporting_gate.py (stdlib only; see Quick Start).
Analogous to the verification-gap table: the left column does not clear the gate; the right column is the actual requirement.
| Looks done (NOT sufficient) | Actual requirement to clear the gate |
|---|---|
| "p < .05" | Test name, statistic, df, exact p, effect size + 95% CI |
| "the effect was significant" | The direction, magnitude (effect size + CI), and the n it rests on |
| Only the significant tests shown | Every test run on this hypothesis, significant or not |
| "assumptions were fine" | The reported normality / homogeneity / linearity / outlier results |
| Results match the paper's story | Results match the frozen plan, with deviations labelled exploratory |
| "we removed outliers" | The pre-specified rule, or a sensitivity analysis with and without them |
Seeded from the rationalizations that precede selective reporting. When you hear yourself think the left column, the right column is the truth.
| Excuse | Reality |
|---|---|
| "I'll just report the analyses that worked." | The ones that did not work are data. Omitting them is selective reporting — report all planned analyses, significant or not. |
| "It's only a p-value, the effect size is obvious." | A bare p-value is not interpretable. Effect size + 95% CI is mandatory; existence is not magnitude. |
| "We dropped 3 outliers so the test would pass." | Outlier rules must be pre-specified or reported as a sensitivity analysis — not chosen because they flip significance. |
| "The covariate obviously belongs in the model." | A covariate added after seeing the result is a researcher degree of freedom. Pre-specify it or label the model exploratory. |
| "We switched to a non-parametric test, it's more appropriate." | If you switched after the parametric test was non-significant, that is test-shopping. Decide before, via alterlab-test-selection-guard. |
| "This subgroup is interesting (we didn't predict it)." | Unplanned subgroups are exploratory. Report them as hypothesis-generating, never as confirmatory. |
| "Reporting the failed analyses will confuse readers." | A supplementary table of all analyses run is standard transparency (TOP). Clarity is not a license to hide. |
| "The pre-registration was too rigid; I'm following the scientific spirit." | Iterate in the exploratory section. The confirmatory claim needs the frozen plan. |
If you catch yourself thinking any of these, STOP. You are about to exploit a researcher degree of freedom. Either report it in full or label it exploratory.
All of these mean: STOP. Run the Gate Function. Report everything, or label it exploratory.
Mirrors the systematic-debugging "3 failures = wrong approach" rule:
Ran 3+ tests on the same hypothesis searching for significance? STOP. This is multiple comparisons / test-shopping. Either correct for all of them (Bonferroni / FDR — via
alterlab-statistical-analysis) or declare the analysis exploratory. Do not run test #4 to find p < .05.
# 1. Build a tiny manifest of the claim and what was actually run (see references).
# 2. Run the gate; non-zero exit = claim is not clear to write.
uv run python scripts/reporting_gate.py claim.json
The script is a deterministic transparency linter, not a statistics engine: it
checks that the manifest lists all runs, that an effect size + CI accompany every
reported claim, that assumption results are present, and that deviations are
labelled. It never computes a p-value or an effect size — that is
alterlab-statistical-analysis's job.
references/gate_function.md — the full gate walkthrough, the claim-manifest
schema, and a worked pass/fail example.references/transparency_standards.md — what a complete Results report
contains (CONSORT 2025/STROBE results items, the TOP 2025 Results Transparency
check, APA results requirements) and how this skill maps onto sibling skills.alterlab-statistical-analysis reported?Part of the AlterLab Academic Skills suite.
What SKILL.md sets; muted values are Claude Code's defaults
/alterlab-methodology:alterlab-results-transparencyfrom alterlab-methodology
npx claudepluginhub alterlab-ieu/alterlab-academic-skills --plugin alterlab-methodology3 skills in this plugin
/alterlab-preregistration-disciplineEnforces pre-registration discipline with the Iron Law NO DATA ANALYSIS WITHOUT A PRE-REGISTERED ANALYSIS PLAN FIRST, a spirit-vs-letter line, an Excuse-vs-Reality rationalization table, and a Red-Flags-STOP list (HARKing, optional stopping, post-hoc covariates, outlier-dropping, test-shopping). Runs a PLAN/COLLECT/CONFIRM/EXPLORE workflow that freezes hypotheses, tests, exclusions, and stopping rules before data, then forces unplanned findings to be labeled exploratory (their p-values lose confirmatory status, per COS confirmatory/exploratory model). Orchestrates, not replaces, alterlab-open-science (OSF/AsPredicted registration), alterlab-statistical-analysis (test selection, assumptions), and alterlab-scientific-thinking (bias grading). Use when analyzing data without a frozen plan, switching the primary outcome or adding covariates after seeing results, weighing early stopping, dropping outliers post-hoc, pre-registering a study, or rationalizing deviation. Part of the AlterLab Academic Skills suite./alterlab-test-selection-guardEnforces statistical-test selection as a discipline, holding the Iron Law NO TEST CHOSEN AFTER SEEING THE P-VALUE: routes the choice through a fixed decision tree (outcome type -> groups -> paired? -> normality) terminating in named tests (t-test, Mann-Whitney U, ANOVA, Kruskal-Wallis, Wilcoxon, Friedman, chi-square, Pearson/Spearman, regression), gates interpretation behind a mandatory Shapiro-Wilk/Levene/linearity assumption check, blocks test-shopping with an Excuse-vs-Reality table and Red-Flags-STOP list, and applies a 3+-tests escalation gate forcing Bonferroni/FDR correction or an exploratory label. Use when choosing or switching a statistical test, asking which test to run, dropping a test after a non-significant result, or running many tests hunting for significance. For executing the chosen test prefer alterlab-statistical-analysis or alterlab-statsmodels; for the broader frozen-plan discipline see alterlab-preregistration-discipline. Part of the AlterLab Academic Skills suite.2 plugins in one repository ship this exact skill · first indexed Nov 9, 2026
Other plugins' skills for the same job