paper-writing

Orchestrates a five-phase pipeline converting research narratives into compiled, reviewed LaTeX paper PDFs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Turning a research narrative report into a submission-ready academic paper requires coordinating outlining, figure generation, LaTeX writing, compilation, and iterative review — a fragmented, error-prone process when done manually. ## Core Features & Use Cases - End-to-End Pipeline: Chains paper-plan, paper-figure, paper-write, paper-compile, and an auto-improvement loop into one automated workflow producing a polished paper/ directory with LaTeX source and PDF. - Multi-Layer Quality Gates: Includes adversarial acceptance-contract negotiation, proof verification, claim audits against raw result files, citation audits, and kill-argument review for theory-heavy papers. - Flexible Illustration Modes: Generates architecture and method figures via deterministic JSON-to-SVG, Gemini, Codex image bridge, or Mermaid depending on figure type and available API keys. - Use Case: A researcher with a NARRATIVE_REPORT.md containing claims and experiment results invokes the pipeline to produce an ICLR-formatted paper with auto-generated plots, verified citations, and two rounds of GPT-5.5 review-driven polishing. ## Quick Start Run the paper writing pipeline on my NARRATIVE_REPORT.md targeting ICLR with default settings.

Frequently Asked Questions about paper-writing

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

FAQPage Schema
How do I generate a full research paper from experiment results?

Provide a NARRATIVE_REPORT.md containing claims, experiments, and figure descriptions, then invoke the pipeline with the report path. It runs planning, figure generation, LaTeX writing, compilation, and two improvement rounds automatically.

What inputs does the paper writing pipeline accept?

It accepts a structured NARRATIVE_REPORT.md, a research direction plus experiment results, or an existing PAPER_PLAN.md to skip the planning phase. More detailed inputs with quantitative results produce better output.

Which venues and LaTeX formats are supported?

Supported venues include ICLR, NeurIPS, ICML, CVPR, ACL, AAAI, ACM, IEEE journals, and IEEE conferences. The venue setting controls the style file, page limit, and citation format used during writing and compilation.

Can I generate architecture diagrams without a Gemini API key?

Yes. The default figurespec mode renders deterministic JSON-to-SVG diagrams locally with no external API. Mermaid mode is also free, and codex-image2 uses an existing ChatGPT Plus/Pro quota instead of a Gemini key.

How does the pipeline verify numbers and citations before submission?

It runs a claim audit comparing every number in the paper against raw result files, plus a citation audit verifying existence, metadata, and context of each bib entry via web lookup. Submission assurance level makes these audits blocking gates.

What happens if the acceptance contract negotiation fails?

After three negotiation rounds, unresolved demands are recorded in a Disputed section and the contract is marked contested. The pipeline pauses for a human tie-break, or proceeds unattended with the final report marked not submission-ready.