nature-statistics — Claude Code skill for manuscript statistics
Audits and revises statistical reporting in research manuscripts, from experimental units to figure statistics. Use it to review a Methods section, address reviewer comments, or align figures with results.
npx skills add Yuan1z0825/nature-skills --skill nature-statistics -a claude-codeWhat nature-statistics does
The skill examines study design, units of analysis, and replication, then checks whether reported claims match the analyses. It can review Methods and Results text alongside figure legends. Cells, fields of view, and technical replicates are not treated as independent samples without checking the experimental hierarchy.
Its checks cover issues such as nested measurements, multiple comparisons, correlations, and outliers. Separate reference files support journal-specific checks for Nature and Nature Machine Intelligence. When details are missing, it flags questions for the author instead of inventing tests or sample sizes. That makes a source-data check important before submitting revised wording.
For a new calculation, provide data and explicitly request the analysis; this skill does not replace reanalysis of raw data by itself. Install it in Claude Code with npx skills add Yuan1z0825/nature-skills --skill nature-statistics -a claude-code. The skill file is at ~/.claude/skills/nature-statistics/SKILL.md.
What it helps with
- check whether n refers to independent experimental units
- match statistical claims to the study design
- find gaps in Methods and Results reporting
- align figure legends with reported analyses
- draft revisions addressing statistical reviewer comments
Example prompts for the agent
- Audit my Statistical analysis section and flag places where the experimental unit or replication is unclear.
- Compare the figure legends with the Results and draft consistent statistical wording.
- Help answer the reviewer’s concern about multiple comparisons; do not calculate anything without my data.
How to install nature-statistics
1Skills CLI (Vercel)
npx skills add Yuan1z0825/nature-skills --skill nature-statistics -a claude-code2Manually: put the files in place
~/.claude/skills/nature-statistics/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/nature-statistics/
1Skills CLI (Vercel)
npx skills add Yuan1z0825/nature-skills --skill nature-statistics -a codex2Manually: put the files in place
.agents/skills/nature-statistics/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add Yuan1z0825/nature-skills --skill nature-statistics -a cursor2Manually: put the files in place
.cursor/skills/nature-statistics/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Yuan1z0825/nature-skills nature-statistics2Manually: put the files in place
.github/skills/nature-statistics/SKILL.md1Skills CLI (Vercel)
npx skills add Yuan1z0825/nature-skills --skill nature-statistics -a gemini-cli2Platform CLI
gemini skills install https://github.com/Yuan1z0825/nature-skills --path skills/nature-statisticsManually: put the files in place
.devin/skills/nature-statistics/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add Yuan1z0825/nature-skills --skill nature-statistics -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set17
The whole set →Similar
Questions about nature-statistics
How do I install nature-statistics in Claude Code?
Run npx skills add Yuan1z0825/nature-skills --skill nature-statistics -a claude-code. The skill file is available at ~/.claude/skills/nature-statistics/SKILL.md.
What does nature-statistics do?
It reviews statistical reporting in manuscripts, including study design, analysis units, replication, tests, and figure statistics. It can also draft or revise Methods, Results, and reviewer-response text.
Can it run a new statistical analysis?
It can help with a concrete reanalysis when you provide the data and explicitly request computation. Otherwise, it stays within reporting review and editing.
Source text
SKILL.md · Apache-2.0
--- name: nature-statistics description: "Audit or improve manuscript statistical reporting, including experimental units, replication, uncertainty, tests, and figure statistics. Use for 统计审查、统计方法小节、图注统计 and reviewer concerns; compute new analyses only when requested with data." --- # Nature Statistics Reporting Skill Use this skill to make manuscript statistics transparent, reproducible, and appropriately bounded. It is a reporting and review skill, not a substitute for a statistician reanalysing raw data unless the user supplies the data and explicitly asks for computation. ## Default stance - Prioritize design transparency over decorative statistical language. - Separate three questions: what was measured, what unit was analysed, and what inference was claimed. - Treat the independent experimental unit as the default `n`; do not silently treat cells, fields of view, repeated readings, spectra, model runs, or technical replicates as independent biological or experimental samples. - Prefer effect sizes, uncertainty intervals, sample sizes, and exact test definitions over significance-only phrasing. - State missing information as `AUTHOR_INPUT_NEEDED` instead of inventing sample sizes, tests, software, corrections, exclusion rules, randomization, or blinding. - If a journal-specific instruction, study-type guideline, or field standard conflicts with this skill, follow the more specific source and mark the source used. ## Accepted inputs The skill may receive: - a Statistical analysis / Methods subsection - Results paragraphs containing test statistics or p values - figure panels, legends, captions, or source-data notes - reviewer comments about statistics - author notes in Chinese or English - tables of reported comparisons - raw or summary data, only when the user wants a concrete reanalysis or figure-statistics check If the input is partial, run a bounded audit and state which parts cannot be assessed. ## Workflow 1. **Classify the task.** Decide whether the user wants audit, rewrite, draft, reviewer-response support, figure-statistics alignment, or data-backed reanalysis. 2. **Extract the design.** Identify groups, treatments, time points, endpoints, blocking factors, repeated measures, randomization, blinding, exclusions, and missing-data handling. 3. **Define `n` and replication.** Separate independent experimental units, biological replicates, technical replicates, repeated measures, cells/fields/subsamples, simulations, and pooled observations. 4. **Map claims to analyses.** For each result claim, record the comparison/model, test family, assumptions, correction strategy, effect estimate, uncertainty, and exact p-value policy. 5. **Check common failure modes.** Use `references/common-failure-modes.md` when the text involves nested data, many comparisons, cell-level measurements, interaction claims, correlations, regression, outliers, small samples, or significance-only reasoning. 6. **Check reporting completeness.** Use `references/statistical-reporting.md` to verify that Methods and Results give enough information for readers and reviewers to understand the analysis. If the target is the flagship journal Nature, also use `references/nature-article-requirements.md` for its exact tail, `n`, repeat, P-value, test-statistic and degrees-of-freedom requirements. If the target is Nature Machine Intelligence, also use `../nature-shared/journal-formats/nature-machine-intelligence.md` for its legend-statistics, source-data, reporting-summary and stage-specific checks. 7. **Align figure statistics.** Use `references/figure-statistics.md` when figure legends, panel labels, stars, error bars, box plots, violin plots, source data, or supplementary figure notes are involved. 8. **Draft or revise.** Produce conservative, ready-to-paste text. Keep claims within the supplied design and evidence. Do not upgrade statistical association into mechanism or causality. 9. **Run final QA.** Use `references/reviewer-checklist.md` before final delivery for severity labels, unresolved author questions, and reviewer-facing risk. ## Output format Unless the user asks for another format, return: ```text Statistics review scope - Input reviewed: - Boundary / missing materials: - Study design readout: - Independent unit and replication readout: Major statistical issues - [P0/P1/P2] Issue: Evidence from supplied text: Why it matters: Fix: Ready-to-paste revision [Rewritten Statistical analysis / Results / figure legend text] AUTHOR_INPUT_NEEDED - [short factual questions only] Reviewer-risk note - What a statistical reviewer may still challenge: ``` For a clean drafting request with enough information, skip the long issue list and return: ```text Draft Statistical analysis [ready-to-paste text] Reporting notes - n definition: - tests/models: - multiple comparisons: - software/version: - unresolved fields: ``` ## Red lines - Do not invent p values, sample sizes, degrees of freedom, confidence intervals, software versions, correction methods, preregistration, exclusion rules, or power calculations. - Do not recommend a statistical test as final when the unit of analysis or design is unclear. - Do not accept `n = number of cells/images/measurements` as independent replication without checking the experimental hierarchy. - Do not use “significant” as a synonym for important, large, causal, or biologically meaningful. - Do not hide non-significant or weak results by rewriting them into stronger claims. - Do not give medical, regulatory, or clinical-trial statistical advice beyond reporting checks unless the user provides the relevant protocol and asks for bounded manuscript wording. ## Related files | File | Open when | |---|---| | [references/source-basis.md](references/source-basis.md) | You need the source hierarchy or want to justify why the skill emphasizes transparency, reproducibility, and design reporting | | [references/nature-article-requirements.md](references/nature-article-requirements.md) | The target is the flagship journal Nature or the user requests its exact statistical submission checklist | | [../nature-shared/journal-formats/nature-machine-intelligence.md](../nature-shared/journal-formats/nature-machine-intelligence.md) | The target is Nature Machine Intelligence or NMI-specific legend, source-data, reporting or stage requirements affect the audit | | [references/statistical-reporting.md](references/statistical-reporting.md) | You are drafting or auditing Statistical analysis, Methods, Results, or Supplementary Methods text | | [references/common-failure-modes.md](references/common-failure-modes.md) | You see nested measurements, many comparisons, interaction claims, correlation/regression, outliers, tiny samples, or overstrong p-value language | | [references/figure-statistics.md](references/figure-statistics.md) | You are checking figure legends, panel statistics, error bars, stars, box/violin plots, source-data notes, or graphical reporting | | [references/reviewer-checklist.md](references/reviewer-checklist.md) | You are finalizing an audit or preparing a reviewer-facing risk summary | | [../nature-shared/core/consistency-sweep.md](../nature-shared/core/consistency-sweep.md) | The same statistic appears in more than one place, or interval terminology is in question: one metric at two precisions across table and text, SD/Std abbreviation drift, `confidence interval` used where `prediction interval` is meant, or overlapping error bars described as outperformance | ## Source hierarchy Use sources in this order: 1. User-supplied manuscript, data, protocol, statistical analysis plan, reviewer comments, and journal instructions. 2. Nature Portfolio reporting standards and reporting-summary requirements. 3. Nature Methods / Nature Portfolio statistics guidance summarized in `references/source-basis.md`. 4. Study-type reporting guidelines where relevant, for example CONSORT, STROBE, PRISMA, ARRIVE, or field-specific community standards. 5. Conservative statistical reporting practice. If the supplied material is insufficient for a defensible statistical recommendation, ask for the missing design facts or provide a bounded wording option rather than guessing.
© Yuan1z0825 · Apache-2.0 · Yuan1z0825/nature-skills