Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

paper-write

Skill by wanshuiyin

Drafts a LaTeX paper section by section from an existing paper plan. It is for researchers preparing ICLR, NeurIPS or ICML submissions.

  • Score 91
  • 20k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install paper-write

Built from the published package, never by AI.

git clone --depth 1 https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep /tmp/Auto-claude-code-research-in-sleep && mkdir -p ~/.claude/skills && cp -r /tmp/Auto-claude-code-research-in-sleep/skills/skills-codex-gemini-review/paper-write ~/.claude/skills/paper-write

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install paper-write in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

paper-write is an agent skill that turns a paper outline and a research narrative into a LaTeX draft. It reads PAPER_PLAN.md and NARRATIVE_REPORT.md, then creates a paper/ project with a venue template, a shared math_commands.tex file, and one file per section. Supported venues are ICLR, NeurIPS and ICML. Each section has written guidelines, such as a self-contained abstract, a related work section of at least one page, and a conclusion with specific limitations.

The skill also builds the bibliography. When DBLP_BIBTEX is enabled, it fetches BibTeX from DBLP and CrossRef instead of generating entries, and it marks unknown entries with [VERIFY]. It then runs a de-AI polish pass and sends the full draft to a Gemini reviewer through a gemini-review MCP bridge. The source is written for researchers who already have a plan and want a first draft.

Written from the project's SKILL.md and checked against it.

What it can do

  • Section draftingWrites complete LaTeX for each section from the paper plan and research narrative.
  • Venue setupCopies the ICLR, NeurIPS or ICML template and sets up the paper/ project structure.
  • Math macrosGenerates math_commands.tex with shared notation for the paper.
  • Verified bibliographyFetches BibTeX from DBLP or CrossRef and keeps only cited entries in references.bib.
  • De-AI polishScans the draft for inflated wording, filler phrases and repeated sentence starts, then fixes them.
  • Gemini cross-reviewSends the full draft to a Gemini reviewer that checks claims, clarity and page limits.

What you need

  • A PAPER_PLAN.md from the /paper-plan step, or a brief outline
  • A NARRATIVE_REPORT.md with the research narrative
  • Generated figures and figures/latex_includes.tex from /paper-figure, if used
  • A gemini-review MCP bridge for the cross-review step
  • Network access to dblp.org and doi.org for the BibTeX fetch

Try asking

  • Write paper from my PAPER_PLAN.md using the ICLR template
  • Draft the related work section from my narrative report
  • Build references.bib from DBLP for the cited keys in my draft

Good to know

  • Supports ICLR, NeurIPS and ICML only.
  • The main body is limited to 9 pages by default, excluding references and appendix.
  • If DBLP_BIBTEX is off, entries come from LLM search and may need [VERIFY] checks.
  • Requires a PAPER_PLAN.md or brief outline before it can start.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/skills-codex-gemini-review/paper-write/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md22 KB

Alternatives to paper-write

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

paper-write: common questions

What does paper-write produce?

It produces a paper/ folder with main.tex, section files, math_commands.tex and a filtered references.bib. The sections are drafted from the paper plan and research narrative.

How does it avoid fake citations?

With DBLP_BIBTEX enabled, it fetches BibTeX from DBLP and CrossRef. Entries it cannot verify are marked with a [VERIFY] comment instead of being invented.

Which Gemini model does the reviewer use?

The source sets the reviewer to gemini-review through a local MCP bridge. You can set GEMINI_REVIEW_MODEL to choose a specific Gemini model.

How do I install paper-write?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is paper-write free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is paper-write safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to paper-write?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

paper-write Install

Add to stack

Loading.