paper-compilation

Compile LaTeX papers via pdflatex and bibtex with error detection.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/Embers-of-the-Fire/agent-research-skills-opencode --skill paper-compilation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paper-compilation
Source: https://github.com/Embers-of-the-Fire/agent-research-skills-opencode/tree/main/.opencode/skills/paper-compilation
Command: npx skills add https://github.com/Embers-of-the-Fire/agent-research-skills-opencode --skill paper-compilation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Compile LaTeX papers to PDF with automated error detection, style checks, and citation/reference validation to reduce debugging time and broken builds.

Core Features & Use Cases

  • Fully automated pdflatex → bibtex → pdflatex workflow with error reporting
  • Style checks via chktex and validation of citations and references
  • Quick debugging and iterative fixes to bring papers to a clean, publication-ready state

Quick Start

Run the provided scripts to compile your main tex document and generate a PDF with error feedback.

Frequently Asked Questions about paper-compilation

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

FAQPage Schema
How do I compile LaTeX to PDF with automatic error detection?

To compile LaTeX to PDF with error detection, run the automated scripts that execute the pdflatex, bibtex, and pdflatex sequence while reporting missing citations, references, and style issues for iterative debugging.

Why does my LaTeX bibliography show missing citations after compilation?

Missing citations occur when the BibTeX pass fails to resolve references. The automated workflow runs bibtex between pdflatex passes to validate bibliography entries and detect missing citations or broken references in the final PDF output.

Can I run style checks on my LaTeX document using chktex?

Yes, you can run optional style checks using chktex during the LaTeX compilation workflow. The scripts validate citations, references, and figures while applying chktex style checks to bring papers to a publication-ready state.

What is the best way to debug a broken LaTeX build with missing figures?

The best way to debug a broken LaTeX build is to use automated compilation scripts that detect missing figures, validate references, and report errors after each pdflatex and bibtex pass for quick iterative fixes.

Do I need to manually run bibtex between pdflatex passes for my paper?

No, you do not need to manually run bibtex between pdflatex passes. The automated workflow handles the full pdflatex to bibtex to pdflatex sequence, validating bibliography entries and reporting compilation errors automatically.

Does pdflatex work with automated style checks for academic papers?

Yes, pdflatex works with automated style checks for academic papers. The compilation scripts run chktex alongside the pdflatex workflow to validate citations, detect missing references, and apply style checks for a clean publication-ready PDF.