paper-write

Drafts LaTeX academic papers section by section from a research outline and narrative report.

Updated Jul 9, 2026
One-click install
npx skills add https://github.com/Lingjie-wang/autoRL --skill paper-write-lingjie-wang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paper-write
Source: https://github.com/Lingjie-wang/autoRL/tree/main/Auto-claude-code-research-in-sleep/skills/paper-write
Command: npx skills add https://github.com/Lingjie-wang/autoRL --skill paper-write-lingjie-wang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bibtexparser.

What problem does it solve? Turning a research plan and experimental findings into a complete, venue-compliant LaTeX paper is slow and error-prone, with risks of hallucinated citations, inconsistent notation, and missed formatting rules. This Skill automates section-by-section drafting with verified bibliography handling and multi-pass quality audits. ## Core Features & Use Cases - Venue-aware templates: Ships LaTeX templates for ICLR, NeurIPS, ICML, IEEE journals, and IEEE conferences, with correct citation styles (natbib vs. cite) and page-limit rules per venue. - Verified bibliography: Fetches real BibTeX from DBLP and CrossRef instead of LLM-generated entries, filters uncited entries, and flags unverifiable ones with [VERIFY] markers. - Quality and review passes: Runs five scientific-writing audits (clutter, active voice, sentence structure, terminology consistency, numerical integrity), a theory-paper proof consistency pass, and a cross-model review via GPT-5.5. - Use Case: After running /paper-plan and /paper-figure, invoke this Skill to produce a compilable paper/ directory with modular section files, math macros, figures, and a clean references.bib ready for submission. ## Quick Start Ask the assistant to write the paper from PAPER_PLAN.md and NARRATIVE_REPORT.md targeting ICLR, generating the full LaTeX project under paper/.

Frequently Asked Questions about paper-write

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a LaTeX paper from a research outline?

Provide a PAPER_PLAN.md outline and NARRATIVE_REPORT.md, then run the paper-write workflow. It creates a paper/ directory with main.tex, per-section files, math macros, and references.bib, drafting each section against the plan's claims-evidence matrix.

How do I avoid hallucinated BibTeX citations in AI-written papers?

Enable the DBLP_BIBTEX mode, which fetches real BibTeX from the DBLP API and CrossRef DOI content negotiation instead of LLM-generated entries. Entries that cannot be verified are marked with a [VERIFY] comment rather than fabricated.

Which LaTeX templates and venues does paper-write support?

It ships templates for ICLR 2026, NeurIPS 2025, ICML 2025, IEEE journals (IEEEtran journal mode), and IEEE conferences (IEEEtran conference mode). Venue selection controls the style file, citation commands, anonymity, and page-limit counting rules.

Does the citation style differ between ML conferences and IEEE venues?

Yes. ML venues like ICLR, NeurIPS, and ICML use natbib with \citep and \citet, while IEEE venues use the cite package with numeric \cite commands. The Skill enforces never mixing the two styles in one paper.

What happens when the paper plan has missing experimental evidence?

If GAP_REPORT.md lists slots with status missing, the Skill inserts searchable HTML-comment DATA_NEEDED markers at those locations instead of fabricating results. All other placeholder text remains prohibited.

Why does my generated references.bib contain uncited entries?

It should not. The Skill greps all \cite commands across main.tex and sections, filters the bib to cited keys only, and runs a validation script that reports dead entries for deletion before finalizing.