Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

paper-compile

Skill by wanshuiyin

Compiles a LaTeX paper to PDF, fixes common build errors, and checks the output for submission. It is aimed at authors preparing conference or IEEE submissions.

  • Score 91
  • 20k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install paper-compile

Built from the published package, never by AI.

git clone --depth 1 https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep /tmp/Auto-claude-code-research-in-sleep && mkdir -p ~/.claude/skills && cp -r /tmp/Auto-claude-code-research-in-sleep/skills/skills-codex/paper-compile ~/.claude/skills/paper-compile

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install paper-compile in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Paper Compile is a skill for AI assistants that builds a LaTeX paper into a submission-ready PDF. It runs latexmk on the files in the paper/ directory, reads compile.log when a build fails, and applies fixes for common errors such as missing packages, undefined references, missing figures, citation keys and BibTeX syntax. It makes up to three fix attempts by default.

After a successful build, it checks the PDF for file size, page count, undefined references and citations, and font embedding. It also checks page limits for ML conferences and IEEE venues, flags section files that main.tex does not reference, and writes a compilation report. It never deletes the user's source files.

Written from the project's SKILL.md and checked against it.

What it can do

  • Prerequisite checkChecks that the LaTeX tools and required paper files are installed and present.
  • Compilation with latexmkRuns latexmk with pdflatex, bibtex and repeated passes to build the PDF.
  • Error diagnosis and auto-fixReads compile.log and fixes missing packages, references, figures, citations and BibTeX syntax.
  • VERIFY marker searchFinds [VERIFY] markers left by /paper-write so unverified citations can be flagged.
  • Post-compilation checksChecks PDF size, page count, undefined references and citations, and rendered figures.
  • Page count verificationChecks the main body against the page limit for ML conferences and IEEE venues.
  • Stale file detectionLists section .tex files that main.tex does not reference.
  • Submission readiness checksCovers anonymity, font embedding, appendix placement and file size before submission.
  • Compilation reportOutputs status, page counts, fixed errors and remaining warnings in a markdown report.

What you need

  • LaTeX distribution with latexmk, pdflatex and bibtex
  • Paper source files in paper/ with a main.tex file
  • Shell access to run commands

Try asking

  • Compile my LaTeX paper to PDF and fix any errors
  • Check whether my main body fits the 9-page NeurIPS limit
  • Build a submission-ready PDF from the paper/ folder

Good to know

  • Stops after three compile attempts by default (MAX_COMPILE_ATTEMPTS = 3)
  • IEEE venues count references toward the page limit; ML conferences do not
  • Assumes the paper source is in paper/ with main.tex

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/skills-codex/paper-compile/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md9 KB

Alternatives to paper-compile

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

paper-compile: common questions

Does it fix every LaTeX error?

No. The source describes fixing common errors such as missing packages, undefined references, missing figures and BibTeX syntax. If the same error class fails after two attempts, it preserves compile.log and asks for a focused rescue.

How does it count pages?

For ML conferences, the main body runs to the end of the Conclusion and references and appendix are excluded. For IEEE venues, the total including references must fit the limit.

Which LaTeX engine does it use?

It uses pdflatex by default. The source also lists xelatex for CJK or custom fonts and lualatex as options.

How do I install paper-compile?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is paper-compile free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is paper-compile safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to paper-compile?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

paper-compile Install

Add to stack

Loading.