Agent skill

paper-compile

Compile LaTeX paper to PDF, fix errors, and verify output. Use when user says \"编译论文\", \"compile paper\", \"build PDF\", \"生成PDF\", or wants to compile LaTeX into a submission-ready PDF.

brycew6m4,252★ · +31/wk · 3 repos on radarProfile →
claude-codecan modify filesNOASSERTION
Install
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill paper-compile --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 9 KB
Bundled scripts: none
Allowed tools: Bash(*)ReadWriteEditGrepGlob
Path: skills/42-wanshuiyin-ARIS/skills/paper-compile/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 3,244
Language: Stata
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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: ```bash # 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: ```bash # Must exist ls $PAPER_DIR/main.tex # Should exist l

What's inside
Steps it walks through
  1. Constants
  2. Workflow
  3. Step 1: Verify Prerequisites
  4. Step 2: First Compilation Attempt
  5. Step 3: Error Diagnosis and Auto-Fix
  6. Step 4: Iterative Fix Loop
  7. Step 5: Post-Compilation Checks
  8. Step 6: Page Count Verification
  9. Step 6.5: Stale File Detection
  10. Step 7: Submission Readiness
  11. Step 8: Output Summary
  12. Key Rules
  13. Common Venue Requirements
Commands it runs
Check LaTeX installation
which pdflatex && which latexmk && which bibtex
If not installed, provide instructions:
Must exist
ls $PAPER_DIR/main.tex
Should exist
ls $PAPER_DIR/references.bib
ls $PAPER_DIR/sections/*.tex
ls $PAPER_DIR/figures/*.pdf 2>/dev/null || ls $PAPER_DIR/figures/*.png 2>/dev/null
cd $PAPER_DIR
More from Auto-Empirical-Research-Skills
All skills →
About this skill
What does the paper-compile skill do?

Compile LaTeX paper to PDF, fix errors, and verify output. Use when user says \"编译论文\", \"compile paper\", \"build PDF\", \"生成PDF\", or wants to compile LaTeX into a submission-ready PDF.

How do I install it?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill paper-compile --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From brycewang-stanford/Auto-Empirical-Research-Skills, a repository with 3,244 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going