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.
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-writeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep /tmp/Auto-claude-code-research-in-sleep && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Auto-claude-code-research-in-sleep/skills/skills-codex-gemini-review/paper-write ~/.gemini/antigravity-cli/skills/paper-writeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
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.
