/paper-compile

Compile LaTeX papers with latexmk and generate a submission checklist.

1.6k|208|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/skyllwt/AutoSci --skill paper-compile-skyllwt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: /paper-compile
Source: https://github.com/skyllwt/AutoSci/tree/main/.claude/skills/paper-compile
Command: npx skills add https://github.com/skyllwt/AutoSci --skill paper-compile-skyllwt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It eliminates the slow, error-prone process of compiling LaTeX papers into a submission-ready PDF by running latexmk, detecting common build and formatting issues, optionally auto-fixing them, and producing a concrete submission checklist.

Core Features & Use Cases

  • LaTeX build with latexmk: Compiles paper/main.tex into paper/main.pdf while capturing errors and warnings.
  • Auto-fix common compilation issues: When run with --fix, attempts to resolve missing packages, undefined references/citations, missing figures, and typical syntax problems across up to three compile-fix cycles.
  • Submission compliance verification: Checks page count against the venue plan, performs heuristic anonymity scanning, validates [UNCONFIRMED] markers as a hard blocker, verifies font embedding, and surfaces TODO/missing-figure/empty-abstract risks.
  • Submission checklist output: Generates a structured compile report and submission checklist suitable for final pre-submission review.

Use case example: You have a LaTeX project created by an earlier drafting step, and you need a PDF that both compiles and satisfies venue constraints (page limit, anonymous formatting, embedded fonts, and no unresolved [UNCONFIRMED] markers) before submission.

Quick Start

Run the skill with the paper directory and enable auto-fix by saying: compile the paper using /paper-compile [paper-dir] --fix.

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 to PDF and check it meets submission requirements?

To compile LaTeX to a compliant submission PDF, this skill runs latexmk on main.tex, then validates page limits, anonymity, font embedding, and [UNCONFIRMED] markers, outputting a final submission checklist.

Can I automatically fix LaTeX compilation errors like missing packages or undefined references?

Yes, you can automatically fix LaTeX compilation errors by running the skill with the --fix flag, which iteratively resolves missing packages, undefined references, and missing figures across up to three compile-fix cycles.

How do I check if fonts are embedded in my LaTeX PDF before submission?

To check font embedding in your LaTeX PDF, the skill runs pdffonts during post-build verification to validate font embedding compliance for the final venue submission.

What is the best way to ensure my paper PDF complies with page limits and anonymity rules?

The best way to ensure PDF compliance with page limits and anonymity rules is using the built-in post-build verification, which checks page count against the venue plan and performs heuristic anonymity scanning on the compiled document.

Why does my LaTeX paper compilation fail due to unresolved TODOs or missing figures?

LaTeX paper compilation may surface warnings because the skill performs targeted repository scans to detect TODOs, missing figures, and empty abstracts, and treats [UNCONFIRMED] markers as hard blockers that must be eliminated.