paper-compile

Compiles LaTeX sources to PDF while diagnosing and fixing build errors.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/Shallow-W/llm-wiki --skill paper-compile-shallow-w
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paper-compile
Source: https://github.com/Shallow-W/llm-wiki/tree/main/.claude/skills/paper-compile
Command: npx skills add https://github.com/Shallow-W/llm-wiki --skill paper-compile-shallow-w

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you reliably compile a LaTeX paper into a valid, submission-ready PDF by automatically diagnosing common build and document issues and iterating until the output is correct.

Core Features & Use Cases

  • LaTeX build with error recovery: Runs latexmk to compile main.tex and automatically iterates up to a maximum number of attempts while addressing typical LaTeX failures.
  • Common issue diagnosis & fixes: Detects and guides fixes for missing packages, undefined references/citations, missing figures, BibTeX syntax errors, unresolved theorem name commands, leftover [VERIFY] markers, and layout warnings.
  • Submission checks for correctness: Verifies the PDF exists, checks for basic integrity (e.g., page count/text presence), highlights remaining undefined refs/citations, and applies venue-specific page-count rules (ML vs IEEE counting differences).
  • Use case: You finished writing an ML conference/IEEE paper in LaTeX and need a PDF that compiles cleanly and fits the venue page limits, including references/appendix handling as required.

Quick Start

Ask it to compile your paper by running the skill with the paper directory path when you want to generate a submission-ready PDF.

Frequently Asked Questions about paper-compile

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

FAQPage Schema
How do I compile LaTeX into a submission-ready PDF for a conference?

This skill automates LaTeX paper compilation by running latexmk to iterate builds, diagnose missing packages or undefined citations, and fix common errors until a valid submission-ready PDF is generated.

Why does my LaTeX build keep failing with undefined references and missing figures?

LaTeX builds often fail due to undefined references or missing figures, but this skill diagnoses these common issues by parsing compile logs and automatically guiding fixes for missing files and unresolved citations.

How do I check if my LaTeX paper meets venue-specific page limits before submission?

To enforce venue-specific page limits, this skill validates the final PDF page count against conference rules, automatically applying distinct counting methods required for ML and IEEE submissions.

Can I use latexmk to automatically fix BibTeX syntax errors and missing packages?

Yes, you can use this latexmk-based compilation skill to automatically detect and guide fixes for BibTeX syntax errors, missing packages, unresolved theorem names, and leftover verification markers.

What are the limitations of automated LaTeX error recovery during PDF generation?

Automated LaTeX error recovery limits include a maximum number of compilation attempts; while it diagnoses layout warnings and missing figures, complex custom syntax errors may still require manual intervention.