Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 72
  • 5.4k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-source

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install arxiv-latex-source in Claude Code

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

A

No 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 →

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.

arxiv-latex-source Install

Add to stack

Loading.