mathews-tom/armory/arxiv-package
Claude Code and agent skill by mathews-tom/armory
- community
Checking that the SKILL.md file is still in the repository.
Package a TeX/LaTeX project into a clean tarball or zip for arXiv upload: file selection, build-artifact exclusion, 00README.XXX generation, ancillary file organization, archive validation. Triggers on: "package for arXiv", "create arXiv tarball", "bundle submission", "zip for arXiv", "prepare arXiv upload", "arXiv submission archive". Companion to arxiv-preflight and arxiv-figures.
Install
npx vskill@latest install mathews-tom/armory/arxiv-packageSKILL.md
arXiv Submission Packager
Purpose
Assemble a TeX/LaTeX project into a clean, correctly structured .tar.gz or .zip archive ready for arXiv upload. Handles file selection, artifact exclusion, directory structure, 00README generation, and validation of the final package.
Companion skills:
arxiv-preflight— validate before packagingarxiv-figures— optimize figures before packaging
Workflow
1. Inventory
Scan the project directory. Classify every file:
INCLUDE — Required
- Main
.texfile(s) - All
\input/\includetargets (recursively trace) - All
\includegraphicstargets .bblfiles (pre-processed bibliography).indfiles (pre-processed index).gls/.nlsfiles (glossary/nomenclature)- Custom
.sty,.cls,.bstfiles not in TeX Live 00README.XXX(if present)anc/directory contents (ancillary files)
EXCLUDE — Build Artifacts
.aux,.log,.toc,.lot,.lof,.out,.nav,.snm,.vrb.dvi,.ps,.pdf(except figure PDFs and ancillary PDFs).synctex,.synctex.gz,.fls,.fdb_latexmk.blg,.ilg,.glg,.nlg(log files from bib/index/glossary processing)*.bak,*~,*.swp,*.swo(editor backups).DS_Store,Thumbs.db,desktop.ini(OS artifacts)
EXCLUDE — Should Not Submit
- Journal templates / style guides (unless custom
.styneeded for compilation) - Referee letters, cover letters
- Build scripts (
Makefile,latexmkrc) — not needed by arXiv .git/,.svn/, version control directories- IDE configs (
.vscode/,.idea/,.texpadtmp/)
FLAG — Needs Decision
.bibfiles (include alongside.bblor omit — arXiv processes both)- Multiple
.texfiles with\documentclass(needs00README.XXXwithtoplevelfile) - Large data files (ancillary or exclude)
2. Generate 00README.XXX
Create or update the 00README.XXX file when needed:
Only generate if:
- Multiple
.texfiles contain\documentclass(declaretoplevelfile) - Files need explicit
ignoredirectives - User requests
nostampor other directives
3. Validate Structure
Before creating the archive:
- All
\input/\includetargets resolve to files in the package - All
\includegraphicstargets resolve to files in the package - All
\bibliographytargets have corresponding.bblfiles - No absolute paths in any TeX source
- No filenames with spaces or special characters
anc/directory contains no.texfiles- No hidden files (will be deleted by arXiv upon announcement)
- Total uncompressed size is reasonable (flag >50MB — may need exception request)
4. Create Archive
Prefer explicit file inclusion over directory-wide inclusion with exclusions. This prevents accidental inclusion of sensitive or unnecessary files.
5. Verify Archive
After creation:
- List archive contents — verify no unexpected files
- Extract to temporary directory
- Attempt compilation in the extracted directory (if TeX toolchain available)
- Report archive size (compressed and uncompressed)
- Compare file list against the include/exclude inventory
6. Report
Archive Format Notes
.tar.gzpreferred over.zip(standard in academic TeX workflows)- arXiv accepts both
.tar(gzipped) and.zip - Do not nest archives (no
.tar.gzinside a.zip) - Files should be at root level or in logical subdirectories — no wrapper directory
unless the project uses subdirectories for organization
Core Principles
- Explicit inclusion over blanket exclusion. Build the file list from what's
needed, not from everything minus what's not needed. This catches files that shouldn't be submitted but aren't in the exclusion list.
- Verify after packaging. The archive is the submission. Test it, not the
source directory.
- Preserve directory structure. If the project uses subdirectories for figures
or sections, maintain that structure. TeX paths depend on it.
- No sensitive files. Check for
.env, credentials, personal notes, referee
correspondence before packaging.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/arxiv-package/SKILL.md
Popularity
- Repository stars
- 251
- Repository forks
- 37
- 7-day trend score
- 28
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mathews-tom/armory/arxiv-package)