Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

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.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add Yuan1z0825/nature-skills --skill nature-statistics -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/nature-statistics/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/nature-statistics/

From the same set17

The whole set →
nature-figure Yuan1z0825 A skill that builds, revises and audits scientific figures for manuscripts in Python or R. Useful when plots go to submission, not to a report. Claude Code CX Codex Cursor +1 18,700installs nature-polishing Yuan1z0825 A skill that polishes, translates and tightens existing academic prose. Facts, terminology and evidence boundaries stay intact. Claude Code CX Codex Cursor +1 17,400installs nature-paper2ppt Yuan1z0825 Builds a Chinese academic .pptx from a scientific paper or reading notes, with figures from the source and speaker notes. Claude Code CX Codex Cursor +1 16,000installs nature-citation Yuan1z skill, refactored into static/dynamic layers Finds Nature and CNS-family papers for manuscript claims, maps claims to sources, and prepares a reference-manager export. Use it when the journal scope matters. Claude Code CX Codex Cursor +1 15,600installs nature-writing Yuan1z0825 A skill that drafts and restructures scientific manuscript sections and first-submission materials from evidence you supply. Claude Code CX Codex Cursor +1 15,600installs nature-data Yuan1z skill, refactored into static/dynamic layers nature-data drafts or audits manuscript data and code availability statements, dataset access routes, repository plans, and FAIR metadata. Claude Code CX Codex Cursor +1 15,300installs nature-academic-search Yuan1z0825 Searches research literature, checks citations, and builds MeSH strategies. Useful for source discovery, bibliography work, and citation audits. Claude Code CX Codex Cursor +1 15,200installs nature-response Yuan1z0825 A skill that drafts, audits and revises responses to peer review, revision cover letters and marked manuscripts. Claude Code CX Codex Cursor +1 15,100installs

Similar

academic-pipeline Imbad0202 Coordinates academic research from source gathering and drafting through integrity checks, peer review, revisions, and finalization. Useful for a complete paper workflow. Claude Code CX Codex Cursor +1 7,200installs repo-intake-and-plan lllllllama Scans a repository through its README and project files, then builds a small reproduction plan. Use it before running experiments. Claude Code CX Codex Cursor +1 474,500installs minimal-run-and-audit lllllllama Captures and normalizes execution evidence from deep learning smoke tests and inference commands into standardized repro_outputs/ files. Claude Code CX Codex Cursor +1 474,400installs read-arxiv-paper karpathy This skill reads an arXiv paper from its source files and writes a Markdown report. It is useful when research needs to be connected to nanochat. Claude Code CX Codex Cursor +1 2,800installs jupyter-notebook official openai Scaffolds reproducible Jupyter notebooks for experiments and tutorials using bundled templates and a helper script. It prevents manual raw JSON editing errors. Claude Code CX Codex Cursor +1 5,600installs anysearch anysearch-ai This skill gives an agent web search, domain-specific queries, parallel batch search, and page extraction. Use it when a task needs current information or a claim needs checking. Claude Code CX Codex Cursor +1 38,500installs academic-paper Imbad0202 This skill runs a 12-agent academic pipeline across 11 modes. It guides projects from literature searches and outlines to citation audits and rebuttal reviews. Claude Code CX Codex Cursor +1 10,800installs academic-paper-reviewer Imbad0202 This skill reviews an academic paper through five role-based perspectives. Use it for peer review, revision checks, or a focused methodology assessment. Claude Code CX Codex Cursor +1 9,800installs

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

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor