SkillsReviewed · wanshuiyin

Paper Compile for Codex

Paper Compile is a Codex skill for researchers and developers preparing LaTeX papers, but its checks still require human review and current venue rules. It guides an assistant through latexmk builds, error repair, PDF inspection and submission checks.

Researched 17 Nov 2026

In short.

Paper Compile is a Codex skill for researchers and developers compiling LaTeX papers, but successful compilation does not establish submission readiness. It prescribes a latexmk build, up to three repair attempts, log preservation and checks for references, figures, page limits, anonymity and fonts. The supplied folder contains instructions rather than a standalone repair program. Runtime behavior, repair quality and compatibility are not assessed, and several checking commands have identifiable limitations.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete captured skills/skills-codex/paper-compile folder, represented by its sole captured file SKILL.md, and the repository-root LICENSE supplied as the related notice. Both original-source files are pinned to revision 9f30e834d24a337dbdd06fb20a1150d4376dfa59. Other repository skills, the referenced paper-write command, external tools and current venue documentation are excluded. Nothing was executed; installation, compilation, repairs, PDF output and submission compliance are not assessed.

The overview

Identity

The resource is the paper-compile skill in skills/skills-codex/paper-compile within wanshuiyin/Auto-claude-code-research-in-sleep. Its selected folder contains SKILL.md, which tells a coding assistant how to compile and inspect a LaTeX paper.

The captured source is pinned to revision 9f30e834d24a337dbdd06fb20a1150d4376dfa59: [https://raw.githubusercontent.com/wanshuiyin/Auto-claude-code-research-in-sleep/9f30e834d24a337dbdd06fb20a1150d4376dfa59/skills/skills-codex/paper-compile/SKILL.md]. The wider repository is outside this resource's scope.

Assessment

This is useful as a structured checklist for someone who already has a LaTeX project and wants an assistant to diagnose build errors. It connects compiler logs to common repairs and explicitly calls for retaining logs and seeking a second opinion after repeated failures.

Its submission-ready framing needs qualification. The instructions combine compilation, manuscript checks and venue assumptions, but they do not establish that any resulting paper satisfies a particular submission's requirements. Build success and automatic repair quality remain unassessed.

Users

The intended users are researchers, students and developers preparing academic papers in LaTeX. Beginners get a sequence for checking prerequisites and interpreting common errors; experienced users get a repeatable checklist for bibliography issues, missing figures, fonts and page limits.

It assumes access to a coding assistant that can inspect files, edit source and run local tools. Someone starting without a LaTeX project or toolchain will still need setup help, and a paper's author must review content changes and submission requirements.

Capabilities

The instructions cover prerequisite discovery, cleaning build artifacts, multipass compilation and diagnosis of missing packages, undefined references, missing figures, citation errors, BibTeX syntax problems and some theorem-reference configuration errors.

They also prescribe checking PDF existence and size, unresolved references, unverified factual markers, page counts, font embedding, anonymity and appendix placement. A separate check looks for section files that appear unused. These are requested assistant behaviors; no demonstrated outcomes accompany them.

Using it

Requirements

The default build expects latexmk, pdflatex and bibtex, with the main document at paper/main.tex. The suggested project layout also includes references.bib, section files and figures.

Later checks invoke pdfinfo, pdftotext, pdffonts, Python 3 and Unix shell utilities. Those requirements extend beyond the initial three-tool prerequisite check. The file mentions XeLaTeX and LuaLaTeX as engine options, but its supplied build command uses the default PDF workflow.

Supported Codex versions, minimum dependency versions, hardware requirements and Windows setup are not specified.

Mechanism

The assistant is instructed to check tools and files, enter the paper directory, clean with latexmk -C, then build main.tex with latexmk -pdf -interaction=nonstopmode -halt-on-error. Build output is piped through tee into compile.log.

On failure, the assistant reads the log, locates the relevant source and attempts repairs. The stated maximum is three compilation attempts. A separate rule calls for preserving the log and requesting focused help when the same failure class persists after two attempts.

After compilation, the assistant performs the prescribed document checks and summarizes remaining warnings. Repair decisions depend on the assistant's judgment; the captured folder supplies no separate repair executable.

Setup

Prepare the expected paper directory and make the build and PDF inspection tools available to the assistant. The file offers LaTeX installation suggestions for macOS, Ubuntu and a conda environment, but their installation behavior and completeness are not assessed.

The captured file does not explain how to register or install the skill in Codex. Loading it therefore depends on the host's supported skill mechanism. Before use, set the actual document location, engine and page limit rather than assuming the defaults match the project.

Keep a recoverable copy of the project before allowing edits. The documented clean command removes generated build artifacts, while the skill explicitly prohibits deleting the user's source files.

Example

An illustrative request is: Compile the paper in paper/main.tex, diagnose errors, preserve compile.log and check the PDF against the page limit I provide.

For a missing-figure error, the prescribed approach is to inspect the referenced path, look for an existing file with another extension and correct the source reference before rebuilding. The expected final report records build status, PDF location, page counts, repairs and remaining warnings. This is an example of the documented workflow, not an observed execution.

Assessment & evidence

Limitations

Several prescribed checks are heuristics. A PDF size threshold above 100 KB does not prove integrity and can reject a legitimate small document. Searching build logs cannot replace visual inspection. The font command filters entire lines containing yes rather than directly validating the embedding column.

Page counting uses text headings, including Ethics Statement and Reproducibility, to infer where the conclusion ends. That inference can fail for other document structures. Conference and IEEE page-limit examples are not accompanied by authoritative venue requirements, so they should not determine compliance without checking the actual submission rules.

The stale-section check searches for a literal filename and may flag a valid extensionless LaTeX input reference. The build pipeline ends in tee without enabling pipefail, so its exit status alone can conceal a compiler failure under normal shell pipeline behavior. The skill also refers to a separate paper-write command whose implementation is outside the captured scope.

Reasoning

The resource's practical value comes from organizing existing tools into a repeatable sequence: obtain a build log, connect errors to source locations, repair and recheck, then inspect the resulting document. Explicit log retention and escalation after repeated failures help keep diagnosis traceable.

Its usefulness depends on the assistant's edits and the local paper. The file supports treating it as compilation guidance, while its submission checks need independent confirmation. No evidence establishes repair accuracy, time savings or readiness for unattended use.

Alternatives

For a project that already builds reliably, direct latexmk use is a simpler option. The skill itself identifies latexmk as the tool that handles repeated compilation passes; the additional value here is assistant-guided diagnosis and the surrounding inspection checklist.

The same checklist can also guide manual source editing and log inspection. XeLaTeX and LuaLaTeX are named engine options within the document, rather than alternatives to the whole skill. No comparative results or other skill implementations are supplied.

Evidence

The available material consists of the complete selected SKILL.md and the repository-root MIT license, both pinned to revision 9f30e834d24a337dbdd06fb20a1150d4376dfa59. The skill file's recorded SHA-256 is c2467ad7b4c915d6e3d51b975d60d2626cc1da58f3b202fc03b753907f737b0c.

No fixture papers, compiled PDFs, repair histories, execution logs or benchmark results accompany the selected folder. The evidence establishes what the skill instructs an assistant to do, rather than whether those actions succeed.

Access & freshness

Costs

The source states no purchase price, assistant subscription requirement or model usage rate. Total operating cost is unknown.

Using the skill requires an assistant environment and compilation tools, but the evidence does not quantify their costs, runtime, storage or resource consumption. The three-attempt limit does not establish a predictable usage bill.

Rights

The supplied repository license is MIT, with copyright attributed to wanshuiyin in 2026. It permits use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notice remains in copies or substantial portions. It supplies the software without warranty.

The captured notice is available at [https://raw.githubusercontent.com/wanshuiyin/Auto-claude-code-research-in-sleep/9f30e834d24a337dbdd06fb20a1150d4376dfa59/LICENSE]. Rights to manuscripts, figures, templates or other material supplied by a user are not established by this notice.

Freshness

The supplied snapshot was captured on 17 November 2026 at 07:48:29 UTC. That capture time identifies the available snapshot; it does not establish when the skill was last edited or what later revisions contain.

The file includes examples labeled ICLR 2026, NeurIPS 2025 and ICML 2025. Their applicability to a particular submission, along with current tool compatibility, remains unverified.

Actions

Before use, confirm the actual venue requirements, document path and compilation engine. Check for the PDF inspection utilities as well as the LaTeX build tools, and use a recoverable project copy.

Review proposed source repairs and retain compile.log. Confirm compiler success from the log rather than relying only on the pipeline status, and manually inspect files flagged as unused.

After building, visually inspect the PDF and verify references, citations, figures, anonymity, embedded fonts and the applicable page-count rule. Resolve factual verification markers separately; compilation cannot establish that a manuscript's claims or citations are correct.

Evidence for this report

LICENSEnotice · checked 2026-11-17
skills/skills-codex/paper-compile/SKILL.mdselected · checked 2026-11-17