Agent skill

Arxiv Package

by Mathews-Tom in Mathews-Tom/armory

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.

MITAuto-check: notesResearch & Science

Install Arxiv Package

skills CLI
$ npx skills add Mathews-Tom/armory --skill arxiv-package -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Mathews-Tom/armory arxiv-package --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Mathews-Tom/armory.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/arxiv-package .claude/skills/arxiv-package && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
arxiv-package
GitHub stars
329
Token cost
~1.6k tokens
SKILL.md length
515 words
Files
2
Skills in repo
80
Repo updated
First seen
Licence
MIT

At a glance

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.

  • Works in 6 steps: Inventory → Generate 00README.XXX → Validate Structure → …
  • : package for arXiv
  • SKILL.md covers Purpose, Workflow, Archive Format Notes and Core Principles
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Arxiv Package is an agent skill from Mathews-Tom/armory. 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.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `evals/cases.yaml`).

It sits in Research & Science, covering Academic paper search and LaTeX. It works with arXiv and LaTeX. The repository describes itself as: Curated, production-grade skills for AI coding agents. Battle-tested workflows for developers who use AI seriously. The licence is MIT.

When your agent uses it

  • : package for arXiv
  • Create arXiv tarball
  • Bundle submission
  • Prepare arXiv upload

Example prompts

  • “package for arXiv”
  • “create arXiv tarball”
  • “bundle submission”
  • “/arxiv-package”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Inventory
  2. Generate 00README.XXX
  3. Validate Structure
  4. Create Archive
  5. Verify Archive
  6. Report

What it can do on your machine

Read from SKILL.md and the folder at commit 4594fb7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash and markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Arxiv Package loads about 1.6k tokens when it runs. Until then it costs about 100 tokens; SKILL.md has 515 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~100
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:191
    - **No sensitive files.** Check for `.env`, credentials, personal notes, referee

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Mathews-Tom/armory at commit 4594fb7, republished under its MIT licence (© Mathews-Tom). 515 words, ~1,605 tokens.

Download SKILL.mdSave it as .claude/skills/arxiv-package/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
arxiv-package
description
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.
metadata.version
1.0.0
metadata.complements
arxiv-preflight, arxiv-figures, manuscript-review
metadata.category
review
metadata.tags
arxiv, packaging, tarball, latex, submission
metadata.difficulty
intermediate
metadata.phase
ship

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 packaging
  • arxiv-figures — optimize figures before packaging

Workflow

1. Inventory

Scan the project directory. Classify every file:

INCLUDE — Required

  • Main .tex file(s)
  • All \input/\include targets (recursively trace)
  • All \includegraphics targets
  • .bbl files (pre-processed bibliography)
  • .ind files (pre-processed index)
  • .gls/.nls files (glossary/nomenclature)
  • Custom .sty, .cls, .bst files 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 .sty needed 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

  • .bib files (include alongside .bbl or omit — arXiv processes both)
  • Multiple .tex files with \documentclass (needs 00README.XXX with toplevelfile)
  • Large data files (ancillary or exclude)
2. Generate 00README.XXX

Create or update the 00README.XXX file when needed:

# Auto-generated by arxiv-package

# Main TeX file (only if ambiguous — multiple \documentclass files)
main.tex toplevelfile

# Files to exclude from processing
cover-letter.pdf ignore
notes.txt ignore

# Optional directives
# nostamp
# nohypertex

Only generate if:

  • Multiple .tex files contain \documentclass (declare toplevelfile)
  • Files need explicit ignore directives
  • User requests nostamp or other directives
3. Validate Structure

Before creating the archive:

  1. All \input/\include targets resolve to files in the package
  2. All \includegraphics targets resolve to files in the package
  3. All \bibliography targets have corresponding .bbl files
  4. No absolute paths in any TeX source
  5. No filenames with spaces or special characters
  6. anc/ directory contains no .tex files
  7. No hidden files (will be deleted by arXiv upon announcement)
  8. Total uncompressed size is reasonable (flag >50MB — may need exception request)
Show full SKILL.md (196 more words)Show less
4. Create Archive
bash
# From project root, create tar.gz excluding unwanted files
tar czf submission.tar.gz \
  --exclude='*.aux' --exclude='*.log' --exclude='*.toc' \
  --exclude='*.lot' --exclude='*.lof' --exclude='*.out' \
  --exclude='*.nav' --exclude='*.snm' --exclude='*.vrb' \
  --exclude='*.dvi' --exclude='*.synctex*' \
  --exclude='*.fls' --exclude='*.fdb_latexmk' \
  --exclude='*.blg' --exclude='*.ilg' --exclude='*.glg' \
  --exclude='*.bak' --exclude='*~' --exclude='*.swp' \
  --exclude='.git' --exclude='.svn' \
  --exclude='.DS_Store' --exclude='Thumbs.db' \
  --exclude='.vscode' --exclude='.idea' \
  [list of files/directories to include]

# Or create zip
zip -r submission.zip [files] \
  -x '*.aux' -x '*.log' -x '*.toc' ...

Prefer explicit file inclusion over directory-wide inclusion with exclusions. This prevents accidental inclusion of sensitive or unnecessary files.

5. Verify Archive

After creation:

  1. List archive contents — verify no unexpected files
  2. Extract to temporary directory
  3. Attempt compilation in the extracted directory (if TeX toolchain available)
  4. Report archive size (compressed and uncompressed)
  5. Compare file list against the include/exclude inventory
6. Report
markdown
# arXiv Package Report

**Archive:** submission.tar.gz
**Compressed size:** [size]
**Uncompressed size:** [size]
**File count:** [count]

## Contents

| File | Size | Type |
|------|------|------|
| main.tex | 45 KB | Source |
| references.bbl | 12 KB | Bibliography |
| fig1.pdf | 380 KB | Figure |
| anc/data.csv | 1.2 MB | Ancillary |

## Excluded

| File | Reason |
|------|--------|
| main.aux | Build artifact |
| main.log | Build artifact |
| referee-response.pdf | Not for submission |

## 00README.XXX

[Contents if generated]

## Verification

- [ ] Archive extracts cleanly
- [ ] All source references resolve
- [ ] Compilation succeeds (if tested)
- [ ] No sensitive files included

Archive Format Notes

  • .tar.gz preferred over .zip (standard in academic TeX workflows)
  • arXiv accepts both .tar (gzipped) and .zip
  • Do not nest archives (no .tar.gz inside 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.

© Mathews-Tom, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/arxiv-package of Mathews-Tom/armory.

  • SKILL.md
  • evals/cases.yaml

Open the folder on GitHubat commit 4594fb7

Compare with similar skills

Arxiv Package next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Arxiv Package compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Arxiv Package this skillMathews-Tom/armory329—~1.6kAutomated safety check: NotesMIT
Paper OrchestraAr9av/PaperOrchestra6791 repos~3.5kAutomated safety check: PassCustom licence
Section Writing AgentAr9av/PaperOrchestra6791 repos~3.3kAutomated safety check: PassCustom licence
SearchMuuuun/luxas1.2k—~2.3kAutomated safety check: WarnMIT
Oleafly Pre SubmissionOleafly/Oleafly212—~2.9kAutomated safety check: PassMIT
Anmath Submissionfranklee16/academic-research-skills2231 repos~1.1kAutomated safety check: PassNone

Similar skills

  • Paper Orchestra

    Ar9av/PaperOrchestra

    Orchestrate the full PaperOrchestra (Song et al., 2026, arXiv:2604.05018) five-agent pipeline to turn unstructured research materials (idea, experimental log, LaTeX template, conference guidelines…

    679 GitHub starsUsed in 1 repo~3.5k tokens
    Research & ScienceAuto-check passed
  • Section Writing Agent

    Ar9av/PaperOrchestra

    Step 4 of the PaperOrchestra pipeline (arXiv:2604.05018). An agent skill from Ar9av/PaperOrchestra.

    679 GitHub starsUsed in 1 repo~3.3k tokens
    Research & ScienceAuto-check passed
  • Search

    Muuuun/luxas

    Unified academic paper search, citation chains, paper download (arXiv LaTeX/PDF, Sci-Hub), figure extraction from papers, LaTeX source reading, BibTeX fetching, web search, and browser automation…

    1.2k GitHub stars~2.3k tokensUpdated 1 mo ago
    Research & ScienceAuto-check: warnings
  • Oleafly Pre Submission

    Oleafly/Oleafly

    Run a pre-flight pass over the project before uploading to arXiv or a venue, and write a pass or fail checklist.

    212 GitHub stars~2.9k tokensUpdated today
    Research & ScienceAuto-check passed
  • Anmath Submission

    franklee16/academic-research-skills

    A skill your agent uses when running the final pre-submission preflight for an Annals of Mathematics manuscript — AMS-LaTeX compile, theorem environments, abstract and MSC, references, arXiv…

    223 GitHub starsUsed in 1 repo~1.1k tokens
    Research & ScienceAuto-check passed
  • Arxiv Latex Source

    wentorai/research-plugins

    Download and parse LaTeX source files from arXiv preprints. An agent skill from wentorai/research-plugins.

    298 GitHub starsUsed in 1 repo~2k tokens
    Research & ScienceAuto-check passed

More from Mathews-Tom/armory

All 80 skills in this repo
  • Architecture Reviewer

    Mathews-Tom/armory

    Architecture reviews across 7 dimensions (structural, scalability, enterprise readiness, performance, security, ops, data) with scored reports.

    329 GitHub stars~4.6k tokensUpdated 4 days ago
    Auto-check passed
  • Concept To Image

    Mathews-Tom/armory

    Turn concepts into static HTML visuals exported as PNG or SVG files via HTML/CSS/SVG.

    329 GitHub stars~2.6k tokensUpdated 4 days ago
    Auto-check passed
  • Watch

    Mathews-Tom/armory

    A skill your agent uses when analyzing an existing video URL or local recording: "watch this video", "analyze youtube video", "summarize this video", "youtube transcript", "find this moment", "what…

    329 GitHub stars~2.8k tokensUpdated 4 days ago
    Auto-check passed
  • Code Refiner

    Mathews-Tom/armory

    Deep code simplification and refactoring preserving behavior across Python, Go, TypeScript, Rust.

    329 GitHub stars~3.1k tokensUpdated 4 days ago
    Auto-check passed
  • Concept To Video

    Mathews-Tom/armory

    Turn concepts into animated explainer videos using Manim (Python) with MP4/GIF output, audio overlay, multi-scene composition.

    329 GitHub stars~4.9k tokensUpdated 4 days ago
    Auto-check passed
  • Decision Map

    Mathews-Tom/armory

    Maps the unresolved architecture, policy, and scope decisions that must be answered before planning can start: one durable decision ticket per question on the issue tracker, typed and blocker-linked…

    329 GitHub stars~2.7k tokensUpdated 4 days ago
    Auto-check passed

Works with

Questions about Arxiv Package

What does Arxiv Package do?

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. Arxiv Package is an agent skill from Mathews-Tom/armory.XXX generation, ancillary file organization, archive validation.

When should I use Arxiv Package?

Arxiv Package fits situations like: : package for arXiv; create arXiv tarball; bundle submission; prepare arXiv upload.

How do I install Arxiv Package in Claude Code?

Run `npx skills add Mathews-Tom/armory --skill arxiv-package -a claude-code`. Or copy the skill folder (skills/arxiv-package in Mathews-Tom/armory) into .claude/skills/arxiv-package in your project. Claude Code loads it when a task matches its description.

How do I install Arxiv Package in Codex?

Run `npx skills add Mathews-Tom/armory --skill arxiv-package -a codex`. Or copy the skill folder (skills/arxiv-package in Mathews-Tom/armory) into .agents/skills/arxiv-package in your project. Codex loads it when a task matches its description.

Can I use Arxiv Package in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Mathews-Tom/armory --skill arxiv-package -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/arxiv-package, .gemini/skills/arxiv-package, .github/skills/arxiv-package and .opencode/skills/arxiv-package in your project.

What does Arxiv Package need to run?

SKILL.md names no scripts, command-line tools or credentials: Arxiv Package is instructions for the agent only.

Does Arxiv Package access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Arxiv Package safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Arxiv Package use?

Arxiv Package is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Arxiv Package use?

About 1.6k tokens (SKILL.md is roughly 6.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Arxiv Package?

Skills that share tags, products or a category with Arxiv Package: Paper Orchestra (Ar9av/PaperOrchestra, 679 stars), Section Writing Agent (Ar9av/PaperOrchestra, 679 stars), Search (Muuuun/luxas, 1.2k stars) and Oleafly Pre Submission (Oleafly/Oleafly, 212 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Arxiv Package?

Mathews-Tom (a GitHub user) maintains it in Mathews-Tom/armory, which has 329 GitHub stars. The repository holds 80 skills in this directory. The repository was last updated on October 6, 2026.

Source: Mathews-Tom/armory on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.