Paper Compile
Compile LaTeX papers to submission-ready PDF, diagnose errors, and verify page limits and references.
- CCM score
- 65 of 100
- skills.sh installs
- 609
- GitHub stars
- 20.1K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the full build path:
latexmkmulti-pass compilation, error diagnosis, a fix loop capped at 3 attempts, and output checks - Includes checks for undefined references and citations, missing figures,
[VERIFY]markers, stale section files, and font embedding - Enforces page limits by venue, counting references for IEEE and excluding them for ML conferences, with a
pdftotextcheck - Designed for authors preparing ML or IEEE submissions with
pdflatex,xelatex, orlualatexengines
Install
$ npx -y skills add wanshuiyin/auto-claude-code-research-in-sleep --skill paper-compile -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Paper Compile: LaTeX to Submission-Ready PDF
Compile the LaTeX paper and fix any issues: $ARGUMENTS
Constants
- COMPILER =
latexmk— LaTeX build tool. Handles multi-pass compilation automatically. - ENGINE =
pdflatex— LaTeX engine. Options:pdflatex(default),xelatex(for CJK/custom fonts),lualatex. - MAX_COMPILE_ATTEMPTS = 3 — Maximum attempts to fix errors and recompile.
- PAPER_DIR =
paper/— Directory containing LaTeX source files. - MAX_PAGES — Page limit. ML conferences: main body to Conclusion end (excluding references & appendix). ICLR=9, NeurIPS=9, ICML=8. IEEE venues: references ARE included in page count. IEEE journal ≈ 12-14 pages, IEEE conference ≈ 5-8 pages (all inclusive).
Workflow
Step 1: Verify Prerequisites
Check that the compilation environment is ready:
# Check LaTeX installation
which pdflatex && which latexmk && which bibtex
# If not installed, provide instructions:
# macOS: brew install --cask mactex-no-gui
# Ubuntu: sudo apt-get install texlive-full
# Server: conda install -c conda-forge texlive-core
Verify all required files exist:
# Must exist
ls $PAPER_DIR/main.tex
Details
- Repository
- github.com/wanshuiyin/auto-claude-code-research-in-sleep
- Categories
- Research & Academic, Office Files & Slides
- First seen
- Jun 3, 2026
Questions
What does the paper-compile skill do?
paper-compile compiles a LaTeX paper into a submission-ready PDF using latexmk, reads compile.log when a build fails, and applies fixes for missing packages, undefined references, missing figures, citation errors and BibTeX syntax. It then checks the PDF for page count, undefined citations and font embedding before a conference submission.
How do I install the paper-compile skill?
Run npx -y skills add wanshuiyin/auto-claude-code-research-in-sleep --skill paper-compile -y in your project. Once installed, paper-compile lets the agent build your LaTeX source in the paper directory and repair compile errors across up to three attempts.
What does paper-compile need before it can run?
paper-compile needs a working LaTeX installation with pdflatex, latexmk and bibtex on the path, plus a main.tex file in the paper directory. The skill's own prerequisite check tells you which package to install for macOS, Ubuntu or a server.
Where does paper-compile stand in the Research & Academic category?
paper-compile sits in the Research & Academic category alongside research, paper-context-resolver and repo-intake-and-plan. Its focus is narrower than those: it handles only the build and error-repair step that turns LaTeX source into a PDF.
More from wanshuiyin/auto-claude-code-research-in-sleep
All 41- Mermaid Diagram608
- Rebuttal605
- Experiment Bridge601
- Research Refine Pipeline600
- Idea Discovery Robot597
- Paper Poster595
- Auto Review Loop Llm593
- Dse Loop588
- Auto Review Loop Minimax585
- Feishu Notify584
- Training Check581
- System Profile569
- Comm Lit Review Claude Single200
- Semantic Scholar753
- Paper Figure738
- Research Lit729
- Idea Discovery685
- Idea Creator681
- Auto Review Loop677
- Arxiv672
- Research Review668
- Novelty Check667
- Research Pipeline667
- Paper Writing665
Similar to Paper Compile
More Research & Academicpaper-compilationlingzhi227/agent-research-skills1.7K installsCompile LaTeX papers to PDF with error detection, style checks, and citation validation.
paper-writewanshuiyin/auto-claude-code-research-in-sleep645 installsDraft LaTeX papers section by section from an outline, with an opt-in style reference for structural guidance.
paper-writingwanshuiyin/auto-claude-code-research-in-sleep665 installsOrchestrates a full pipeline from narrative report to submission-ready PDF with auto-review loops.
latex-paper-enbahayonghang/academic-writing-skills6.4K installsQuery the English LaTeX paper workflow for compile, citation, and submission-ready edits.
latex-formattinglingzhi227/agent-research-skills2.4K installsSet up, fix, and pre-submission check LaTeX papers for ICML, ICLR, NeurIPS, AAAI, and ACL venues.
venue-templatesk-dense-ai/scientific-agent-skills2.3K installsPrepare journal and conference manuscripts, grant documents, and posters from venue-specific guidance and bundled LaTeX scaffolds.