From claude-scholar
Prepares LaTeX papers for arXiv submission by cleaning source with arxiv-latex-cleaner, ensuring .bbl and 4-pass compilation, building tarball, and extracting metadata.
npx claudepluginhub yy/claude-scholar --plugin claude-scholarThis skill uses the workspace's default tool permissions.
Automate the tedious steps of preparing a LaTeX paper for arXiv upload. Creates a clean copy, removes cruft, verifies compilation, and produces a ready-to-upload tarball.
Packages TeX/LaTeX projects into clean .tar.gz or .zip archives for arXiv submission: file selection, build artifact exclusion, 00README.XXX generation, validation.
Runs pre-submission checks on LaTeX papers: verifies references, performs LaTeX cleanup, tests builds, scans figure formats, reviews front matter. Delivers unified report before journal submission or sharing drafts.
Converts LaTeX academic papers between publisher formats (e.g., Springer/IPOL to MDPI/IEEE/Nature) by extracting content, injecting into new templates, fixing formatting, and compiling PDFs.
Share bugs, ideas, or general feedback.
Automate the tedious steps of preparing a LaTeX paper for arXiv upload. Creates a clean copy, removes cruft, verifies compilation, and produces a ready-to-upload tarball.
presubmit-checks (content quality) — this skill handles packagingSame search logic as presubmit-checks:
paper/current/main.texpaper/main.texmain.tex**/*.tex with \begin{document}Identify the paper directory (parent of the main .tex file). All subsequent operations are relative to this directory.
Ask the user: "Want me to run the presubmit-checks first?" Skip if they say they already did.
Scan for separate supplement/appendix .tex files (e.g., supplement.tex, appendix.tex, si.tex). If found, ask the user whether to:
\appendix (arXiv prefers single-PDF submissions)Grep for journal-specific language that should be removed for arXiv:
review, preprint mode toggles)Flag these and ask before changing.
uvx arxiv-latex-cleaner <paper-dir> --resize_images --im_size 500
This creates a <paper-dir>_arXiv/ directory with a cleaned copy. The original is untouched.
If arxiv-latex-cleaner is not available, fall back to manual cleaning:
.git/, __pycache__/, .DS_Store% that aren't TeX directives).tex files not referenced by \input or \include_arXiv/Apply these fixes to the cleaned copy:
\typeout{get arXiv to do 4 passes} on the line after \end{document} — this ensures arXiv runs enough LaTeX passes to resolve all references.bbl exists: Check if a .bbl file exists. If not, compile with pdflatex + bibtex/biber to generate it. arXiv needs the .bbl, not the .bib.bib: If .bbl exists, ask the user whether to remove .bib files (reduces package size; arXiv uses .bbl directly).aux, .log, .out, .blg, .fls, .fdb_latexmk, .synctex.gz, .toc, .lof, .lot, .nav, .snm, .vrb.git/ if it exists in the copyRun in the _arXiv/ directory:
pdflatex -interaction=nonstopmode main.tex
pdflatex -interaction=nonstopmode main.tex
pdflatex -interaction=nonstopmode main.tex
(Three passes to resolve references.) Report:
! — these are blockersParse the .tex file to extract metadata for copy-paste into the arXiv submission form:
\title{...} — strip LaTeX commands, math mode, line breaks\begin{abstract}...\end{abstract} — strip LaTeX commands\author{...} — extract names, strip affiliations/footnotesPresent this in a clean, copy-pasteable format.
cd <paper-dir>_arXiv && tar -cvf ../arxiv-submission.tar *
.tar.gz — use gzip if close to the limitPresent:
arxiv-submission.tar at https://arxiv.org/submit_arXiv/ copy.bib, merging supplements)