paper-writing

Orchestrates a five-phase pipeline from narrative report to compiled, reviewed LaTeX paper PDF.

Updated Mar 23, 2026
One-click install
npx skills add https://github.com/hanasho744/codex --skill paper-writing-hanasho744
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: paper-writing
Source: https://github.com/hanasho744/codex/tree/main/.agents/skills/paper-writing
Command: npx skills add https://github.com/hanasho744/codex --skill paper-writing-hanasho744

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Turning raw research results into a submission-ready academic paper requires coordinating outlining, figure generation, LaTeX writing, compilation, and iterative review — a fragmented, error-prone process. This Skill chains those steps into one automated pipeline with adversarial review gates. ## Core Features & Use Cases - End-to-End Pipeline: Chains paper-plan, paper-figure, paper-write, paper-compile, and an auto-improvement loop into a single workflow producing a polished paper/ directory with LaTeX source and PDF. - Adversarial Quality Gates: Negotiates a testable acceptance contract before writing, then runs proof-checking, claim audits against raw result files, citation audits, and a kill-argument review before declaring the paper submission-ready. - Venue & Style Targeting: Supports ICLR, NeurIPS, ICML, CVPR, ACL, AAAI, ACM, and IEEE venues, plus an optional style-reference mode that matches a reference paper's structural style without copying content. - Use Case: A researcher with a NARRATIVE_REPORT.md containing claims and experiment results invokes the pipeline to get a compiled, twice-reviewed PDF with verified numbers and citations for an ICLR submission. ## Quick Start Run the paper writing pipeline on my NARRATIVE_REPORT.md targeting NeurIPS and generate the full submission-ready PDF.

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, results, and figure descriptions, then invoke the pipeline with that file as input. It runs planning, figure generation, LaTeX writing, compilation, and two review-and-fix rounds to produce a polished PDF.

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, especially figure descriptions and quantitative results, produce better output.

Which conference venues and LaTeX styles 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, and can be overridden inline with a venue parameter.

How does the pipeline verify numbers in the paper match experiment results?▼

A zero-context claim audit compares every numeric claim in the LaTeX source against raw result files in results/, outputs/, experiments/, or figures/ directories. It runs before the improvement loop and again as a mandatory gate before the final report when numeric claims and raw evidence both exist.

Can I match the writing style of a reference paper?▼

Yes, pass a style-ref source such as a local TeX directory, PDF, arXiv ID, or URL. A helper extracts a structural style profile used only by writer-side phases; reviewer and auditor phases never see it, and no prose or claims are copied.

What happens if the acceptance contract negotiation fails?▼

After three negotiation rounds without acceptance, unresolved demands are recorded in a Disputed section and the contract is marked contested. The pipeline pauses for a human tie-break, and if unattended, proceeds but caps the outcome with Submission-ready set to no.