End-to-end statistical writing assistant for LaTeX - draft title/abstract/keywords, expand outlines into sections, audit manuscripts, write reviewer reports and response letters, and scaffold book…

CC0-1.0Auto-check passedDocuments & Office

Install Stat Writing

skills CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill stat-writing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install brycewang-stanford/Auto-Empirical-Research-Skills stat-writing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/06-fuhaoda-stats-paper-writing/stat-writing .claude/skills/stat-writing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
stat-writing
GitHub stars
4.5k
Token cost
~1.9k tokens
SKILL.md length
706 words
Files
21 (incl. references)
Skills in repo
383
Repo updated
First seen
Licence
CC0-1.0

At a glance

End-to-end statistical writing assistant for LaTeX - draft title/abstract/keywords, expand outlines into sections, audit manuscripts, write reviewer reports and response letters, and scaffold book…

  • Works in 6 steps: Generate compliant front matter (title,… → Expand outlines into complete sections… → Audit a manuscript for structure, style,… → …
  • Tasks that involve LaTeX
  • SKILL.md covers Positioning: Hybrid + JDS…, When to use this skill, Inputs to ask for (minimal) and Output conventions, plus 5 more sections
  • Calls python

What it does

Stat Writing is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. End-to-end statistical writing assistant for LaTeX - draft title/abstract/keywords, expand outlines into sections, audit manuscripts, write reviewer reports and response letters, and scaffold book manuscripts.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 21 other files, including reference files (for example `references/10-title.md`, `references/11-abstract.md` and `references/12-keywords.md`). Compatibility notes: Codex (CLI + IDE). Optional scripts require Python 3.

It sits in Documents & Office, covering LaTeX and Scientific writing. It works with LaTeX. The repository describes itself as: 🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI… The licence is CC0-1.0.

When your agent uses it

  • Tasks that involve LaTeX
  • Tasks that involve Scientific writing

Example prompts

  • “/stat-writing”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Codex (CLI + IDE). Optional scripts require Python 3.

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Generate compliant front matter (title, abstract, keywords).
  2. Expand outlines into complete sections in LaTeX.
  3. Audit a manuscript for structure, style, references, and reproducibility quality.
  4. Draft reviewer reports.
  5. Draft point-by-point response letters.
  6. Scaffold a book manuscript from a chapter plan.

What it can do on your machine

Read from SKILL.md and the folder at commit 9fa87d8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • copaper.ai
    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Codex (CLI + IDE). Optional scripts require Python 3.

    From compatibility in the SKILL.md frontmatter.

Context cost

Stat Writing loads about 1.9k tokens when it runs, and up to ~13k if it reads all its reference files. Until then it costs about 56 tokens; SKILL.md has 706 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~13k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from brycewang-stanford/Auto-Empirical-Research-Skills at commit 9fa87d8, republished under its CC0-1.0 licence (© brycewang-stanford). 706 words, ~1,892 tokens.

Download SKILL.mdSave it as .claude/skills/stat-writing/SKILL.md (or your agent's skills folder). This skill also uses 20 other files; get the full folder from GitHub.
name
stat-writing
description
End-to-end statistical writing assistant for LaTeX - draft title/abstract/keywords, expand outlines into sections, audit manuscripts, write reviewer reports and response letters, and scaffold book manuscripts.
compatibility
Codex (CLI + IDE). Optional scripts require Python 3.
license
CC0-1.0
metadata.author
stat-writing-one-skill
metadata.version
3.0
<!--
  ╔══════════════════════════════════════════════════════════════╗
  ║  本文件为开源 Skill 原始文档,收录仅供学习与研究参考        ║
  ║  CoPaper.AI 收集整理 | https://copaper.ai                  ║
  ╚══════════════════════════════════════════════════════════════╝

  来源仓库: https://github.com/fuhaoda/stats-paper-writing-agent-skills
  项目名称: stats-paper-writing-agent-skills
  开源协议: MIT License
  收录日期: 2026-04-02

  声明: 本文件版权归原作者所有。此处收录旨在为社会科学实证研究者
  提供 AI Agent Skills 的集中参考。如有侵权,请联系删除。
-->

Statistical Writing (One Skill)

This is a single "workbench" skill for statistical manuscripts written in LaTeX.

Guidance is split into focused references under references/. Deterministic checks live in scripts/. Ready-to-use templates live in assets/.

Positioning: Hybrid + JDS profile

Default behavior is journal-agnostic. For Journal of Data Science (JDS), apply the JDS profile:

  • Maintain strong literature positioning and explicit novelty.
  • Require clean cross-referencing and cleaned BibTeX.
  • Prefer vector graphics for figures in the manuscript.
  • Enable line numbers for review drafts.
  • Include reproducibility artifacts (code/data/supplement) when possible.

When to use this skill

Use this skill when the user wants to:

  1. Generate compliant front matter (title, abstract, keywords).
  2. Expand outlines into complete sections in LaTeX.
  3. Audit a manuscript for structure, style, references, and reproducibility quality.
  4. Draft reviewer reports.
  5. Draft point-by-point response letters.
  6. Scaffold a book manuscript from a chapter plan.

Inputs to ask for (minimal)

Prefer file paths over pasted text.

  • Manuscript tasks: root TeX file (for example main.tex).
  • Reference checks: BibTeX file(s) (for example refs.bib).
  • Response letters: full reviewer/editor comments + revised text if available.
  • Reviewer report: manuscript or extended abstract being reviewed.
  • Book manuscript: chapter list, audience, tone, and desired notation style.

If details are missing, proceed with placeholders like odo{...} and ask only critical questions.

Output conventions

Unless the user requests otherwise:

  • Return LaTeX-ready output.
  • For audits: rank issues as HIGH/MED/LOW with concrete fixes.
  • For rewrites: include revised text and short change log.
  • Never invent results or citations. Use odo{add citation} or odo{verify result}.

Task routing map

Open only the reference files needed for the task.

  • Title: references/10-title.md
  • Abstract: references/11-abstract.md
  • Keywords: references/12-keywords.md
  • Outline to section drafting: references/60-outline-to-section.md
  • Introduction: references/20-introduction.md
  • Data: references/21-data.md
  • Methods: references/22-methods.md
  • Simulation (ADEMP): references/23-simulation.md
  • Application/Results: references/24-application.md
  • Discussion: references/25-discussion.md
  • Other sections: references/30-other-sections.md
  • General style/storyline: references/31-general-style.md
  • English pitfalls: references/32-english.md
  • BibTeX/natbib: references/40-bibtex-natbib.md
  • Labels/cross-references: references/41-cross-referencing.md
  • Reviewer report: references/50-review-report.md
  • Response to reviewers: references/51-response-to-reviewers.md
  • Research proposal/project cycle: references/70-project-proposal.md
  • Book manuscript workflow: references/71-book-manuscript.md
  • Tooling/reproducibility: references/80-tooling.md

Built-in assets

  • Response letter (LaTeX): assets/response-letter-template.tex
  • Reviewer report (Markdown): assets/reviewer-report-template.md
  • Reviewer report (LaTeX): assets/reviewer-report-template.tex
  • Generic section skeleton: assets/section-skeleton.tex
  • Manuscript starter (LaTeX): assets/manuscript-template.tex
  • Book manuscript starter (LaTeX): assets/book-manuscript-template.tex

Optional scripts (deterministic checks)

  • Manuscript checks: python scripts/check_tex.py path/to/main.tex
  • Citation/BibTeX checks: python scripts/check_bib.py --tex path/to/main.tex --bib path/to/refs.bib
  • Combined run: python scripts/audit_paper.py --tex path/to/main.tex --bib path/to/refs.bib

These checks are heuristic and do not compile LaTeX.

Workflows

Workflow A - Finished paper to abstract + keywords
  1. Read introduction/methods/results/discussion.
  2. Use references/11-abstract.md and references/12-keywords.md.
  3. Draft abstract (default 6-8 sentences, acceptable 4-10, no citations, no math notation).
  4. Draft 6-10 keywords, alphabetized, avoid repeating title terms.
  5. Return:
    • egin{abstract}...nd{abstract}
    • \keywords{...} (or venue-specific command)
    • short compliance checklist.
Show full SKILL.md (282 more words)Show less
Workflow B - Manuscript audit
  1. Run check_tex.py (and check_bib.py if .bib exists).
  2. Use references/31-general-style.md, references/40-bibtex-natbib.md, and section-specific references.
  3. Return top issues ranked by severity and concrete LaTeX edits.
  4. For JDS profile, explicitly call out line numbers, vector graphics, cleaned BibTeX, and reproducibility supplement readiness.
Workflow C - Reviewer report drafting
  1. Use references/50-review-report.md.
  2. Write summary + overall assessment + numbered major/minor comments.
  3. Keep tone constructive and professional.
  4. If requested, output using assets/reviewer-report-template.tex.
Workflow D - Response to reviewers
  1. Use references/51-response-to-reviewers.md.
  2. Structure by Editor, Associate Editor, Reviewer sections.
  3. For every comment: quote, respond, quote manuscript change, add location.
  4. If requested, render with assets/response-letter-template.tex.
Workflow E - Outline to full section
  1. Identify section type.
  2. Use references/60-outline-to-section.md + relevant section reference.
  3. Expand bullets into coherent paragraphs with transitions.
  4. Use placeholders where information is missing.
Workflow F - Book manuscript scaffolding
  1. Use references/71-book-manuscript.md.
  2. Start from assets/book-manuscript-template.tex.
  3. Build frontmatter/mainmatter/backmatter and chapter map.
  4. Keep notation generic by default; add optional custom notation block only when requested.

Copy/paste prompt patterns

Abstract + keywords

"Use stat-writing. Read main.tex and draft a compliant abstract (default 6-8 sentences, acceptable 4-10; no citations; no math notation) and 6-10 alphabetical keywords. Output LaTeX blocks."

Full audit

"Use stat-writing. Audit main.tex (+ refs.bib). Run scripts if allowed. Return top issues with HIGH/MED/LOW and patch-ready LaTeX fixes."

Response to reviewers

"Use stat-writing. Here are reviewer/editor comments. Write a point-by-point response letter with quoted manuscript revisions and locations."

Reviewer report

"Use stat-writing. Draft a reviewer report with summary, overall assessment, numbered major comments, and numbered minor comments."

Book manuscript

"Use stat-writing. Start a book manuscript from chapter bullets using the book template. Produce frontmatter/mainmatter/backmatter and chapter-by-chapter drafting plan."

© brycewang-stanford, CC0-1.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 20 other files (references) in skills/06-fuhaoda-stats-paper-writing/stat-writing of brycewang-stanford/Auto-Empirical-Research-Skills.

  • SKILL.md
  • references/10-title.md
  • references/11-abstract.md
  • references/12-keywords.md
  • references/20-introduction.md
  • references/21-data.md
  • references/22-methods.md
  • references/23-simulation.md
  • references/24-application.md
  • references/25-discussion.md
  • references/30-other-sections.md
  • references/31-general-style.md
  • references/32-english.md
  • references/40-bibtex-natbib.md
  • references/41-cross-referencing.md
  • references/50-review-report.md
  • references/51-response-to-reviewers.md
  • references/60-outline-to-section.md
  • references/70-project-proposal.md
  • references/71-book-manuscript.md
  • … and 1 more

Open the folder on GitHubat commit 9fa87d8

Compare with similar skills

Stat Writing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Stat Writing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Stat Writing this skillbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~1.9kAutomated safety check: PassCC0-1.0
Research Writingalfonso0512/research-writing-skill4881 repos~818Automated safety check: PassMIT
Paper WritingMLNLP-World/Paper-Writing-Tips4.7k—~630Automated safety check: PassNone
PaperjurySpark-To-Paper-Skills/paperjury1.2k—~5.3kAutomated safety check: PassMIT
Venue TemplatesK-Dense-AI/claude-scientific-writer2.4k2 repos~2.9kAutomated safety check: PassMIT
Paper Revieweunomia-bpf/ActPlane104—~3.8kAutomated safety check: PassMIT

Similar skills

  • Research Writing

    alfonso0512/research-writing-skill

    科研论文写作助手,提供 30 个 Prompt 模板覆盖论文写作全流程. An agent skill from alfonso0512/research-writing-skill.

    488 GitHub starsUsed in 1 repo~818 tokens
    Documents & OfficeAuto-check passed
  • Paper Writing

    MLNLP-World/Paper-Writing-Tips

    学术论文写作检查与优化助手。基于 MLNLP-World 社区整理的论文写作技巧,帮助检查和优化学术论文。Use when: (1) 检查论文 LaTeX 格式和排版, (2) 优化公式符号使用, (3) 改进图表设计, (4) 润色英文学术表达, (5) 检查参考文献格式, (6) 投稿前终稿检查, (7) 用户询问论文写作技巧或规范。

    4.7k GitHub stars~630 tokensUpdated 13 days ago
    Documents & OfficeAuto-check passed
  • Paperjury

    Spark-To-Paper-Skills/paperjury

    Three modes for CS-conference papers (CVPR/ICCV/ECCV vision, ACL/EMNLP/NAACL NLP, ICLR/NeurIPS/ICML/AAAI ML).

    1.2k GitHub stars~5.3k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Venue Templates

    K-Dense-AI/claude-scientific-writer

    Prepare journal manuscripts, conference papers, research posters, and grant documents using venue-specific formatting guidance and bundled LaTeX scaffolds.

    2.4k GitHub starsUsed in 2 repos~2.9k tokens
    Documents & OfficeAuto-check passed
  • Paper Review

    eunomia-bpf/ActPlane

    Review and fix academic writing in a LaTeX paper section. An agent skill from eunomia-bpf/ActPlane.

    104 GitHub stars~3.8k tokensUpdated 3 days ago
    Documents & OfficeAuto-check passed
  • Light Typesetting

    Light0305/Light-skills

    Build and preflight submission-ready LaTeX/PDF artifacts for Light stage 11.

    640 GitHub stars~3.3k tokensUpdated 3 mo ago
    Documents & OfficeAuto-check passed

More from brycewang-stanford/Auto-Empirical-Research-Skills

All 383 skills in this repo
  • Aer Consistency

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when auditing a finished or near-finished AER, AER:Insights, or AEJ manuscript for internal consistency: headline numbers across abstract, introduction, results, and tables…

    4.5k GitHub starsUsed in 1 repo~2.6k tokens
    Auto-check passed
  • Latex Paper En

    brycewang-stanford/Auto-Empirical-Research-Skills

    English LaTeX academic paper assistant for existing .tex projects.

    4.5k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Bayesian Workflow

    brycewang-stanford/Auto-Empirical-Research-Skills

    Opinionated Bayesian modeling workflow with PyMC and ArviZ. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.

    4.5k GitHub stars~3.5k tokensUpdated 4 days ago
    Auto-check passed
  • Daily Paper Generator

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when the user asks to "generate daily paper", "search arXiv for EEG papers", "find EEG decoding papers", "review brain-computer interface papers", or wants to create paper…

    4.5k GitHub stars~2.2k tokensUpdated 4 days ago
    Auto-check passed
  • Five Questions

    brycewang-stanford/Auto-Empirical-Research-Skills

    Deeply analyze any empirical economics PDF using the five-question framework (五问框架): research question, identification strategy, core estimand, robustness logic, and scholarly contribution.

    4.5k GitHub stars~1.7k tokensUpdated 4 days ago
    Auto-check: notes
  • Kaggle Research

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when a research task needs reproducible Kaggle discovery, metadata inspection, bounded public-data downloads, competition or kernel discovery, model discovery, or an…

    4.5k GitHub stars~868 tokensUpdated 4 days ago
    Auto-check passed

Works with

Questions about Stat Writing

What does Stat Writing do?

End-to-end statistical writing assistant for LaTeX - draft title/abstract/keywords, expand outlines into sections, audit manuscripts, write reviewer reports and response letters, and scaffold book…. Stat Writing is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. End-to-end statistical writing assistant for LaTeX - draft title/abstract/keywords, expand outlines into sections, audit manuscripts, write reviewer reports and response letters, and scaffold book manuscripts.

When should I use Stat Writing?

Stat Writing fits situations like: tasks that involve LaTeX; tasks that involve Scientific writing.

How do I install Stat Writing in Claude Code?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill stat-writing -a claude-code`. Or copy the skill folder (skills/06-fuhaoda-stats-paper-writing/stat-writing in brycewang-stanford/Auto-Empirical-Research-Skills) into .claude/skills/stat-writing in your project. Claude Code loads it when a task matches its description.

How do I install Stat Writing in Codex?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill stat-writing -a codex`. Or copy the skill folder (skills/06-fuhaoda-stats-paper-writing/stat-writing in brycewang-stanford/Auto-Empirical-Research-Skills) into .agents/skills/stat-writing in your project. Codex loads it when a task matches its description.

Can I use Stat Writing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill stat-writing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/stat-writing, .gemini/skills/stat-writing, .github/skills/stat-writing and .opencode/skills/stat-writing in your project.

What does Stat Writing need to run?

Going by SKILL.md and its folder, Stat Writing needs the command-line tools its instructions call (python). Our summary lists: Python 3. Compatibility (from SKILL.md): Codex (CLI + IDE). Optional scripts require Python 3..

Does Stat Writing access the network?

SKILL.md names 2 domains. As links in the text: copaper.ai and github.com. This is read from the text; nothing was executed.

Is Stat Writing safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Stat Writing use?

Stat Writing is published under the CC0-1.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Stat Writing use?

About 1.9k tokens (SKILL.md is roughly 7.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 12k tokens, read only when the agent opens those files.

What are the alternatives to Stat Writing?

Skills that share tags, products or a category with Stat Writing: Research Writing (alfonso0512/research-writing-skill, 488 stars), Paper Writing (MLNLP-World/Paper-Writing-Tips, 4.7k stars), Paperjury (Spark-To-Paper-Skills/paperjury, 1.2k stars) and Venue Templates (K-Dense-AI/claude-scientific-writer, 2.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Stat Writing?

brycewang-stanford (a GitHub user) maintains it in brycewang-stanford/Auto-Empirical-Research-Skills, which has 4,542 GitHub stars. The repository holds 383 skills in this directory. The repository was last updated on October 5, 2026.

Source: brycewang-stanford/Auto-Empirical-Research-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.