Skip to content
Automation
Skill

/stat-writing

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.

From plugin
auto-empirical-research-skills
4.9k200 skills

Claude Code

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

SKILL.md

stat-writing.SKILL.md
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.
license: CC0-1.0
metadata:
  author: stat-writing-one-skill
  version: "3.0"
compatibility: Codex (CLI + IDE). Optional scripts require Python 3.

<!-- ╔══════════════════════════════════════════════════════════════╗ ║ 本文件为开源 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.

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 chang

Read more
@brycewang-stanford
Ships withauto-empirical-research-skills

## 🔥 力荐 · StatsPAI — Stata 与 R 的 Python 平替,为 AI Agent 而生 🔁 Stata / R 平替:reghdfe、csdid、rdrobust、synth、fixest、did 等常用命令在 Python 中一站式替代,一个 import statspai as sp 搞定 DID / RD / IV / SCM / DML / matching 🤖 面向 Agent 设计:结构化结果对象 + 内置 MCP Server,Claude / Codex

4.9k200 skills
Get the whole plugin

Stars on GitHub

Momentum

stars in total
4.9k
Star history of brycewang-stanford/Auto-Empirical-Research-Skills on GitHub, a chart by star-history.com

More skills from other plugins.

agent-builder

agent-builder

Load immediately after an Agent intent, before the first agent_builder_* call. Governs how you create, configure, test, and…

n8n12d209k
@n8n-io@n8n-ioInstall Skill
browser-use

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…

@browser-use@browser-useInstall Skill
agent-browser

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…

@vercel-labs-2@vercel-labs-2Install Skill
add-anydoc

add-anydoc

Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when…

@nanocoai@nanocoaiInstall Skill

Questions about stat-writing.

Which coding agents can use stat-writing?
stat-writing installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.