arxiv-preflight
Skill340 starsChanged 7 months agoMITView on GitHub
Pre-submission validation audit for arXiv papers across TeX source, PDF, figures, metadata, bibliography, file organization, and common-error scans. Produces pass/fail report with specific fixes per arXiv requirement. Triggers on: "check my arXiv submission", "validate for arXiv", "arXiv preflight", "ready for arXiv", "arxiv check", "arxiv submission readiness". Companion to manuscript-review (prose), manuscript-provenance (code), arxiv-figures, arxiv-package.
We split this skill into the rules it gives an agent
32 rules. About 0 are common, 19 are distinctive, and 13 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈19
Distinctive · estimate
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 41
All included files (figures, .bbl, .bst, style files, subdirectories)
- Very specific: line 62
No absolute file paths in any .tex file (\input, \includegraphics, \include, \bibliography)
- Very specific: line 63
No spaces or special characters (&, \, :) in filenames
- Very specific: line 64
No auxiliary files that should be excluded: .aux, .log, .toc, .lot, .lof, .dvi, .ps, .pdf (except figure PDFs)
- Very specific: line 66
No hidden files (starting with .) except .tex-related configs
- Distinctive: line 67
No journal templates or referee letters included
- Very specific: line 69
If multiple .tex files with \documentclass: verify 00README.XXX declares toplevelfile
- Distinctive: line 76
No mixed formats without conditional compilation
- Very specific: line 81
No shell-escape dependent packages without workarounds (minted → frozencache=true)
- Distinctive: line 83
No double-spaced "referee" mode formatting
- Distinctive: line 87
All custom/non-standard style files included in submission
- Distinctive: line 88
No packages outside TeX Live distribution (check against common non-TL packages)
- Distinctive: line 92
All referenced figures exist at specified paths
- Distinctive: line 94
No figures reference absolute paths
- Distinctive: line 95
No embedded animations, JavaScript, or interactive elements
- Very specific: line 104
If .bib included: .bbl also included (arXiv can process .bib but .bbl is safer)
- Distinctive: line 106
No extraneous formatting within e-print identifiers
- Distinctive: line 115
If comments metadata present: page count and figure count included (advisory)
- Very specific: line 119
All fonts embedded (check with pdffonts or equivalent)
- Distinctive: line 120
No Type 3 (bitmap) fonts
- Distinctive: line 123
No security restrictions preventing text extraction
- Distinctive: line 136
No PDFs with embedded JavaScript
- Very specific: line 137
No internal references to anc/ directory from .tex source
- Very specific: line 144
No ambiguous double subscript/superscript (a_x_y → a_{x}_y)
- Distinctive: line 145
No concatenated source files
- Very specific: line 146
No Scientific Workplace .rap files
- Very specific: line 147
No modified versions of standard style files (epsf.sty, epsfig.sty)
- Distinctive: line 196
If NEEDS FIXES, list the specific fixes in priority order.
- Distinctive: line 202
Exact fixes: Every FAIL includes the specific command, line, or file change needed.
- Distinctive: line 203
No false positives: Only flag violations against documented arXiv requirements.
- Distinctive: line 204
Do not impose style preferences or best practices as failures.
- Distinctive: line 205
Processor-aware: All checks account for the detected TeX processor.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
arXiv Preflight Check
Pipeline position: Phase 3a (submission readiness). Runs after Phase 2
fixes and PDF recompilation. Gate for arxiv-figures and arxiv-package.
See /manuscript-pipeline for full execution order.
Purpose
Systematically validate a TeX/LaTeX project (or PDF submission) against all arXiv submission requirements, producing a structured pass/fail report with specific fixes for every violation found.
Companion skills:
manuscript-review— audits prose quality, structure, and claimsmanuscript-provenance— audits computational reproducibilityarxiv-figures— optimizes figures for arXivarxiv-package— packages the submission tarball
This skill focuses exclusively on arXiv technical compliance — not prose quality or scientific content.
Workflow
1. Ingest
Identify the submission directory. Locate:
- Main
.texfile(s) - All included files (figures,
.bbl,.bst, style files, subdirectories) - Any
00README.XXXfile - Any
anc/directory - Compiled PDF (if available)
Read references/guidelines.md2. Validation Passes
Execute all passes. For each check:
- PASS — requirement met
- FAIL — violation found (document exact file, line, specific fix)
- WARN — advisory (not a blocker but may cause issues)
- N/A — not applicable
Pass 1 — File Organization
- No absolute file paths in any
.texfile (\input,\includegraphics,\include,\bibliography) - No spaces or special characters (
&,\,:) in filenames - No auxiliary files that should be excluded:
.aux,.log,.toc,.lot,.lof,.dvi,.ps,.pdf(except figure PDFs) - Required files present:
.bblif using BibTeX/BibLaTeX,.indif using makeindex,.gls/.nlsif using glossary/nomenclature - No hidden files (starting with
.) except.tex-related configs - No journal templates or referee letters included
- Subdirectory structure: no
\include{}calls into subdirectories (use\input{}instead) - If multiple
.texfiles with\documentclass: verify00README.XXXdeclarestoplevelfile
Pass 2 — TeX/LaTeX Compliance
- Processor compatibility: figure formats match processor
- DVI mode: only
.ps/.epsfigures - PDFLaTeX: only
.pdf/.png/.jpgfigures - No mixed formats without conditional compilation
- DVI mode: only
- No
psfigpackage usage (usegraphicx) - No
\todaymacro in date fields - No embedded JavaScript
\pdfoutputtesting usesifpdfpackage, not\ifx\pdfoutput\undefined- No shell-escape dependent packages without workarounds (
minted→frozencache=true) - No
xrpackage for external document references - No double-spaced "referee" mode formatting
- Caption
\citecalls use\protect\cite \includenot used for subdirectory files- BibLaTeX
.bblformat version compatible with target TeX Live (3.3 for TL2025) - All custom/non-standard style files included in submission
- No packages outside TeX Live distribution (check against common non-TL packages)
Pass 3 — Figure Validation
- All referenced figures exist at specified paths
- Figure formats match processor requirements
- No figures reference absolute paths
- No embedded animations, JavaScript, or interactive elements
- PNG files: check for oversized images (>34 Megapixel warning)
- Reasonable file sizes (flag individual figures >5MB, total figures >25MB)
- Alt text present in
\includegraphicscalls (advisory — accessibility best practice) \includegraphicsusesgraphicxpackage, not deprecated alternatives
Pass 4 — Bibliography Validation
.bblfilename matches corresponding.texfilename- If
.bibincluded:.bblalso included (arXiv can process.bibbut.bblis safer) - arXiv identifiers in references use correct format (
YYMM.NNNNN) - No extraneous formatting within e-print identifiers
- BibLaTeX
.bblformat version check (examine\RequirePackageversion in.bbl)
Pass 5 — Metadata Compliance (check .tex front matter)
- Title: no all-uppercase, no raw Unicode, cryptic macros expanded
- Authors: proper name format, no honorifics, no
et al.truncation - Abstract: no leading "Abstract" text, within 1920 character limit, no leading whitespace on lines
- Abstract: opaque TeX macros expanded, no formatting commands (
\em,\it) - If comments metadata present: page count and figure count included (advisory)
Pass 6 — PDF Validation (if compiled PDF available)
- All fonts embedded (check with
pdffontsor equivalent) - No Type 3 (bitmap) fonts
- Machine readable (not scanned/bitmapped)
- No embedded JavaScript
- No security restrictions preventing text extraction
- Reasonable file size
Pass 7 — 00README.XXX Validation (if present)
- Valid directive syntax (each line:
filename directiveor standalone directive) - Referenced files exist
- DVI-related directives use correct filename (no
.texextension) - No conflicting directives
Pass 8 — Ancillary Files (if anc/ directory present)
- No
.texfiles inanc/directory - No PDFs with embedded JavaScript
- No internal references to
anc/directory from.texsource - Reasonable total size
Pass 9 — Common Error Scan
%%BoundingBoxat top of PS/EPS files (not at end)- No
\Bbbkconflicts betweennewtxmathandamssymb - No ambiguous double subscript/superscript (
a_x_y→a_{x}_y) - No concatenated source files
- No Scientific Workplace
.rapfiles - No modified versions of standard style files (
epsf.sty,epsfig.sty) hyperrefwith complex section names:bookmarks=falseor proper PDF string handling
3. Generate Report
Produce a structured report:
# arXiv Preflight Report
**Project:** [directory name]
**Date:** [date]
**Processor:** [detected processor]
**Verdict:** [READY / NEEDS FIXES / BLOCKED]
## Summary
| Category | Pass | Fail | Warn | N/A |
|----------|------|------|------|-----|
| File Organization | | | | |
| TeX Compliance | | | | |
| Figures | | | | |
| Bibliography | | | | |
| Metadata | | | | |
| PDF | | | | |
| 00README | | | | |
| Ancillary Files | | | | |
| Common Errors | | | | |
## Blocking Issues (FAIL)
[Each with file, line number, specific violation, exact fix]
## Warnings (WARN)
[Advisory items that may cause processing issues]
## All Checks
[Full pass/fail/warn/N/A status for every checkpoint]4. Output
Save report as arxiv-preflight-report.md in the project directory.
Present verdict and blocking issue count. If READY, confirm submission can proceed. If NEEDS FIXES, list the specific fixes in priority order.
Core Principles
- Binary compliance. arXiv requirements are not suggestions — FAIL means the submission will be rejected or processing will break. WARN means it may cause issues.
- Exact fixes. Every FAIL includes the specific command, line, or file change needed.
- No false positives. Only flag violations against documented arXiv requirements. Do not impose style preferences or best practices as failures.
- Processor-aware. All checks account for the detected TeX processor. PDFLaTeX rules do not apply to DVI-mode submissions and vice versa.
In this repository94 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adr-writerSkill
- agent-builderSkill
- animateSkill
- api-docs-generatorSkill
- appraiseSkill
- architecture-diagramSkill
- architecture-reviewerSkill
- arxiv-figuresSkill
- arxiv-packageSkill
- benchmark-runnerSkill
- changelog-composerSkill
- chart-claritySkill
- citation-auditSkill
- codebase-advisorSkill
- code-refinerSkill
- competitive-analyzerSkill
- concept-to-imageSkill
- debug-investigatorSkill
- decision-mapSkill
- dependency-auditSkill
- devils-advocateSkill
- domain-modelingSkill
- engineering-retroSkill
- env-validatorSkill
- estimate-calibratorSkill
- feasibility-assessorSkill
- figure-rhetoricSkill
- figure-table-qualitySkill
- filesystemSkill
- githubSkill
- gpu-optimizerSkill
- handoffSkill
- html-presentationSkill
- html-videoSkill
- humanizeSkill
- idea-validatorSkill
- immuneSkill
- intakeSkill
- kg-builderSkill
- launch-videoSkill
- learning-workspaceSkill
- lightpanda-browserSkill
- linkedin-post-styleSkill
- literature-reviewSkill
- manuscript-provenanceSkill
- manuscript-reviewSkill
- manuscript-typographySkill
- market-analyzerSkill
- marp-slidesSkill
- mcp-to-skillSkill
- md-to-pdfSkill
- migration-risk-analyzerSkill
- milestone-runnerSkill
- module-deepeningSkill
- notebooklmSkill
- package-evaluatorSkill
- package-optimizerSkill
- paper-to-skillSkill
- plan-promptsSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

