LaTeX arXiv Skill

Write an ML review paper in LaTeX with an agent: plan approval first, live-checked citations, compiling IEEEtran output.

501GitHub starsLast updated: Sep 13, 2026MITLaTeX & Slides

Last reviewed by the paperbanana team on Dec 6, 2026

LaTeX arXiv Skill — screenshot from the official GitHub repository

Install

git clone https://github.com/appautomaton/latex-arxiv-SKILL
cd latex-arxiv-SKILL   # start Claude Code or Codex here; skills live in .codex/skills, with .claude symlinked to it
Best for:ML and AI researchersSurvey authorsPhD students writing literature reviewsCodex and Claude Code users

What is LaTeX arXiv Skill?

The arXiv Review Paper Harness (repository name latex-arxiv-SKILL) is an agentic harness for writing machine-learning and AI review papers in LaTeX. You give your coding agent a topic, and the harness drives it through a fixed pipeline: literature discovery, a human approval gate, an issue-by-issue writing loop, citation verification, prose refinement, and compilation. The output is a two-column IEEEtran project that builds to a PDF with a ref.bib file.

What it adds over a general LaTeX skill is control. The agent cannot write a paragraph into main.tex until two things are true: you have approved the plan, and an issues CSV exists. Every section is then a tracked issue with target citations and acceptance criteria, and nothing is marked done until those criteria are met. Every citation is checked against a live source before it enters ref.bib, and a claim without evidence is left as an open placeholder rather than an invented reference.

It is packaged as a portable Agent Skill that runs in both Claude Code and OpenAI Codex. The primary skill is arxiv-paper-writer, supported by deterministic Python scripts for scaffolding, plan and issue generation, CSV validation, compilation and arXiv discovery with a local SQLite cache. The README says it was tested on macOS with GPT-5.2, and it needs a working LaTeX environment plus web search for citation checking.

Core capabilities

Hard approval gate before any prose

The workflow produces a research snapshot of 10 to 20 papers, scaffolds the project with a draft plan and candidate titles, and stops for your approval. No writing into main.tex happens before you approve.

Issue-driven writing loop

An issues CSV is the single source of truth. Each section is an issue with target citations and acceptance criteria, and the agent splits or inserts issues as scope grows rather than doing untracked work.

Per-citation verification

Every \cite is web-checked against its source before it is added to ref.bib. An existing LaTeX project can also be pointed at it for a citation-validation pass that audits and repairs ref.bib without re-scaffolding.

Deterministic Python helpers

Scaffolding, plan and issue generation, validation, compilation and arXiv discovery run as scripts, including arxiv_registry.py with a local SQLite cache for arXiv Atom API results and BibTeX.

Rhythm refinement and compile check

A companion skill, latex-rhythm-refiner, varies sentence and paragraph length while preserving every citation. Delivery requires a clean pdflatex and bibtex build with no undefined-citation warnings.

What you can use it for

  • Writing an ML or AI survey from a topic

    Start with a one-line request, answer the clarification questions in the generated plan file, approve, and let the loop write and verify each section.

  • Auditing the bibliography of a draft you already have

    Run the citation-validation pass on an existing project to find and repair unsupported or broken references in ref.bib.

  • Delegating decisions while keeping the gates

    The README’s example used a deliberately vague second prompt that let the agent choose the title and scope, yet the harness still produced a compiling project with a verified bibliography.

  • Adapting the workflow to original research

    The README says reviews are the out-of-the-box strength but the same gated workflow can be extended to original or experimental papers with tailoring of the plan and inputs.

How to get started

  1. 1

    Install the skill bundle

    Clone the repository and start Claude Code or Codex from inside it. The bundle follows the Agent Skills standard, so the same files work in both; the skills sit under .codex/skills in the repo, and .claude is a symlink to that folder. The README gives no separate install command.

  2. 2

    Check the environment

    You need pdflatex and bibtex (or latexmk), Python 3.8 or newer, and web search and browsing so the agent can verify citations.

  3. 3

    Prompt, then approve the plan

    Ask for a review article on your topic. The agent does an initial literature pass and writes a plan file with clarification questions. Answer them and approve the plan.

  4. 4

    Let the issue loop run and collect the build

    The agent works through the issues CSV, verifies citations, refines the prose and compiles. You receive main.pdf and ref.bib.

How it compares to similar skills

This harness is for generating a gated, citation-checked review paper. If you already have a manuscript or only want typesetting help, a different skill fits better.

Frequently asked questions

Need publication-quality figures for your paper?

paperbanana turns a text description into methodology diagrams, ML architecture figures, and statistical charts ready for submission.

Generate a figure