Skip to content

Guide · Agent skill

How to use the Paper Write (LaTeX Drafting) agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

The paper-write skill is an agent skill that turns a paper plan and research notes into a structured LaTeX paper project, with a main file, section files, shared math macros and a bibliography. It is aimed at researchers and students who already have an outline and want a first LaTeX draft formatted for a venue such as ICLR, NeurIPS, ICML or IEEE. By the end of this guide you will know what the skill does, how to install it, how to trigger it with a natural request, and what to check before you trust the output.

Paper Write (LaTeX Drafting)wanshuiyin/Auto-claude-code-research-in-sleep · MIT

Quick start

  1. 1Download and unzip. Download the skill ZIP from this page and unzip it so the paper-write folder contains SKILL.md.
  2. 2Place or upload the skill. Move the folder to ~/.claude/skills/ for all projects or to .claude/skills/ for one project, or upload it under Settings → Capabilities → Skills in the Claude apps.
  3. 3Prepare the plan files. Make sure PAPER_PLAN.md and NARRATIVE_REPORT.md exist in your project, ideally produced by /paper-plan.
  4. 4Make a natural request. Ask the agent to write the paper, naming the venue and any settings such as anonymous mode.
  5. 5Let the agent build the project. The agent creates paper/ with main.tex, the style setup, math_commands.tex, references.bib and section files.
  6. 6Check citations and content. Verify every reference, number and claim against your own notes and data before compiling and submitting.

What is an agent skill and what does paper-write do?

An agent skill is a folder containing a SKILL.md file that tells an AI coding agent how to carry out a specific task. When the skill is installed and the agent judges it relevant to your request, it follows the instructions in that file.

The paper-write skill draws a LaTeX paper from a paper plan. It expects a PAPER_PLAN.md with a claims-evidence matrix, section plan and figure plan, plus a NARRATIVE_REPORT.md that holds the research narrative. From these it creates a paper/ directory with main.tex, a venue style file, math_commands.tex, references.bib, a sections/ folder and a figures/ folder.

  • Writes each section in order, drawing content from the narrative and the plan.
  • Inserts figures and tables using snippets from figures/latex_includes.tex when that file exists.
  • Uses \citep and \citet for ML venues, and \cite for IEEE venues.
  • Fetches real BibTeX entries from DBLP/CrossRef by default instead of generating citations from memory.
  • Backs up an existing paper/ folder before overwriting it and removes section files that are no longer referenced.

Install the paper-write skill

Download the ZIP for this skill from this page and unzip it. To make the skill available to Claude Code for all your projects, place the folder in ~/.claude/skills/. To limit it to one project, place it in that project's .claude/skills/ folder.

In the Claude apps, you can instead upload the skill under Settings → Capabilities → Skills.

If you plan to use the Codex-reviewer overlay, install the skills-codex package first, then install this package after it, as the source notes.

  • Personal install: ~/.claude/skills/
  • Project install: .claude/skills/ inside your project
  • Claude apps: Settings → Capabilities → Skills

Prepare your inputs before you ask

The skill works from files, so the quality of your draft depends on what you give it. Have PAPER_PLAN.md and NARRATIVE_REPORT.md ready in your project. These are normally produced by companion skills such as /paper-plan. If you have generated figures, the /paper-figure skill produces figures/latex_includes.tex, which the writing step references.

If PAPER_PLAN.md is missing, the skill will ask you to run /paper-plan first or to provide a brief outline. You will also need LaTeX style files or templates, which the skill looks for in its templates/ folder. For the default bibliography workflow, the agent needs network access to DBLP and CrossRef.

  • PAPER_PLAN.md (required)
  • NARRATIVE_REPORT.md (required)
  • figures/ with PDF or PNG outputs and figures/latex_includes.tex (optional but referenced)
  • An existing .bib file, or the skill will create one
  • Network access to DBLP/CrossRef for the default citation workflow

Trigger the skill with a natural request

The skill description lists phrases that should activate it, including "write paper", "draft LaTeX", "开始写", "写论文", or any request to generate LaTeX content from a paper plan. You can also invoke it directly with the /paper-write command, which takes your paper topic as its argument.

Be specific about the venue and the paper's focus so the agent picks the right template and section structure.

  • "Write paper on the sparse routing method using PAPER_PLAN.md, target NeurIPS."
  • "Draft LaTeX from my plan for an IEEE conference submission, no anonymous author block."
  • "Start writing the paper from the outline in this folder."
/paper-write

Choose a venue and key settings

The skill has defaults you can change in your request. TARGET_VENUE defaults to ICLR. Supported values include ICLR, NeurIPS, ICML, CVPR, ACL, AAAI, ACM, IEEE_JOURNAL and IEEE_CONF. ANONYMOUS defaults to true, so the author block reads Anonymous Authors; set it to false for camera-ready versions. Note that most IEEE venues do not use anonymous submission.

Page limits also differ. For ML conferences, references and appendix are not counted toward the main body limit. For IEEE venues, references count toward the limit.

  • ML conferences use natbib (\citep, \citet).
  • IEEE venues use the cite package and IEEEtran (\cite).
  • Never mix natbib and cite commands in one paper.

Review and verify the output

Treat the output as a first draft. The source states that drafted prose and results must be checked by the authors, and that the agent can still misstate findings. If you run the legacy citation mode (DBLP_BIBTEX set to false), some citations may carry [VERIFY] markers that you must resolve.

Read each section against your narrative and your data. Check every number, every claim and every reference before submitting.

  • Compare quantitative results in the Experiments section against your own logs.
  • Confirm each reference exists and matches the claim it supports.
  • Search the output for [VERIFY] markers if you used legacy mode.
  • Compile the project in LaTeX and fix any errors or overfull boxes.

Safety notes: scripts and network use

This skill does not run scripts. It does use the network: the default bibliography workflow fetches BibTeX data from DBLP and CrossRef. The draft content itself is produced by the agent's model, so the content of your paper is processed by that model as part of the session.

If your paper data must stay private, review what the agent sends and consider whether the network lookups are acceptable for your project. For Codex users with the reviewer overlay, the review step uses the claude-review MCP bridge and a Claude model.

  • Scripts: none included.
  • Network: yes, for DBLP/CrossRef bibliography lookups.
  • Codex overlay: needs the claude-review MCP bridge and the skills-codex package.

What people use it for

  • Turning a PAPER_PLAN.md with a claims-evidence matrix into a complete first LaTeX draft for an ICLR submission.
  • Producing an IEEE conference paper skeleton with \cite-based numeric citations and the IEEEtran class.
  • Keeping section files consistent across a team working through the wider research pipeline.
  • Regenerating a clean section structure when the outline changes from five to seven sections, with stale files removed.

Frequently asked questions

Is the paper-write skill free to use?

The source package is listed under the MIT licence, which the item metadata gives for this skill. Check the licence file in the repository for the full terms before redistributing it.

What do I need before I can use paper-write?

You need PAPER_PLAN.md and NARRATIVE_REPORT.md in your project, a LaTeX venue template or style file in the skill's templates folder, and network access for the default DBLP/CrossRef bibliography workflow. Figures and figures/latex_includes.tex are optional but referenced.

Where do I put the paper-write skill folder?

Put it in ~/.claude/skills/ to make it available across projects, or in a project's .claude/skills/ folder to limit it to that project. In the Claude apps you can upload it under Settings → Capabilities → Skills.

Does paper-write invent citations?

By default it fetches real BibTeX entries from DBLP and CrossRef rather than generating them from the model, which the source says eliminates hallucinated citations. If you set DBLP_BIBTEX to false, it uses the older LLM search approach and may add [VERIFY] markers that you must resolve.

Can paper-write work without an outline?

Not well. The skill expects PAPER_PLAN.md and NARRATIVE_REPORT.md, and if no plan exists it asks you to run /paper-plan or provide a brief outline. Output quality depends on the quality of these inputs.

How does paper-write compare to writing with a general chat assistant?

Paper-write works on files in your project and sets up a LaTeX structure with venue templates, shared macros and a bibliography. It is a drafting aid that follows a larger research pipeline, not a standalone writer, so you still need to check the content yourself.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

Use paper-write if you already have a paper outline and research narrative and want a structured first LaTeX draft for a supported venue, or if you are part of a team using the wider Auto-claude-code-research-in-sleep pipeline. Pick something else if you have no outline or research notes yet, or if your paper data must not leave your environment, since the bibliography lookups use the network and the drafting runs through the agent's model.

Download the skill

Find exactly what
you're looking for