arxiv-latex-source
Skill by brycewang-stanford
Downloads and parses LaTeX source files from arXiv preprints. It is meant for formula extraction, citation graph construction, section-level text analysis and training data curation.
Install arxiv-latex-source
Built from the published package, never by AI.
git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills /tmp/Auto-Empirical-Research-Skills && mkdir -p ~/.claude/skills && cp -r /tmp/Auto-Empirical-Research-Skills/skills/43-wentorai-research-plugins/skills/literature/fulltext/arxiv-latex-source ~/.claude/skills/arxiv-latex-sourceRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills /tmp/Auto-Empirical-Research-Skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Auto-Empirical-Research-Skills/skills/43-wentorai-research-plugins/skills/literature/fulltext/arxiv-latex-source ~/.gemini/antigravity-cli/skills/arxiv-latex-sourceAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill explains how to download the LaTeX source of arXiv preprints through the public e-print endpoint. The endpoint returns a gzip-compressed tar archive containing .tex files, figures, bibliography files and style files. No authentication is required, but arXiv asks that automated tools set a descriptive User-Agent and respect rate limits.
The guide also shows how to find the main .tex file, extract section headings, pull out equations and read .bib or .bbl bibliography entries. It is aimed at researchers and developers building formula datasets, citation networks or section-level text analyses. The source says LaTeX source is more exact than PDF parsing, which can introduce OCR errors in equations.
Written from the project's SKILL.md and checked against it.
What it can do
- Download LaTeX sourceFetches the e-print source archive for an arXiv identifier, including a specific version.
- Format detectionChecks whether a download is a tar archive or a single gzip-compressed .tex file.
- Metadata lookupPairs source downloads with the arXiv Atom API for title, author, category and date fields.
- Main file locationFinds the root .tex file by looking for \documentclass and \begin{document}.
- Section extractionLists section, subsection and subsubsection titles from LaTeX files.
- Equation extractionPulls equation, align and display-math blocks from LaTeX source.
- Bibliography extractionReads reference keys from .bib and .bbl bibliography files.
What you need
- Python with the requests package (used in the examples)
- Internet access to arxiv.org and export.arxiv.org
Try asking
- Download the LaTeX source for arXiv paper 2301.00001
- List the section titles in this arXiv paper's LaTeX source
- Extract all equations and bibliography keys from arXiv 2301.00001
Good to know
- Maximum of 4 requests per second, with 1 request per second recommended.
- For 1000 or more papers, the source suggests the arXiv S3 bulk data mirror instead.
- Some downloads may be a single gzip-compressed .tex file rather than a tar archive.
- Persistent abuse may result in IP-level blocks.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/43-wentorai-research-plugins/skills/literature/fulltext/arxiv-latex-source/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to arxiv-latex-source
All alternatives →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database
arxiv-latex-source: common questions
Does this need an arXiv API key?
No. The source says the e-print endpoint needs no authentication or API key, but automated tools should set a descriptive User-Agent.
What rate limits apply?
The source gives a maximum of 4 requests per second and recommends 1 request per second with delays between downloads. HTTP 429 responses call for exponential backoff.
Are all arXiv papers available as LaTeX source?
The source says arXiv stores LaTeX source for the vast majority of its preprints. Very old or single-file submissions may return a single gzip-compressed .tex file.
How do I install arxiv-latex-source?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is arxiv-latex-source free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is arxiv-latex-source safe to use?
It scores 72 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to arxiv-latex-source?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
