arxiv-source-first-paper-ingest

Solid

Read an arXiv paper faithfully by fetching the authors' own LaTeX source instead of OCR-ing the PDF. Extracts every display equation with its label, environment and enclosing proposition, renders each to MathML, and proves usability by compiling each formula with a real TeX engine. Use when you need a paper's formulas exactly — to replicate a method, implement a loss function or custom objective, verify a quoted number, or check a claim against what the authors actually wrote. TRIGGERS - read this paper, get the paper, arxiv paper, extract formulas from a paper, replicate a method, implement the loss from, verify the paper's numbers, machine-readable paper, latex source, mathml, e-print.

AI & Automation 73 stars 10 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
62
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# arXiv source-first paper ingest > **Self-Evolving skill.** If a step here fails or the tooling drifts, fix this file in the same > change. The Post-Execution Reflection at the bottom says what to check. **The whole idea in one line: for an arXiv paper, the PDF is a rendering of something you can get losslessly, so do not read the rendering.** `arxiv.org/e-print/<id>` serves the authors' own LaTeX. It carries the exact formulas, their `\label`s, and — critically — which formulas are _stated propositions_ rather than intermediate steps inside a proof. None of that survives into a PDF, so no vision model can recover it. Measured on one real paper, OCR of the PDF reached **0.958 mean token similarity** to the source and **only 49 % of its formulas compiled**, against 98 % for the source. Full numbers, including a systematic model defect that similarity cannot see, in [`../../references/OCR-VERSUS-AUTHOR-LATEX-GROUND-TRUTH.md`](../../references/OCR-VERSUS-AUTHOR-LATEX-GROUND-TRUTH.md). --- ## Step 1 — fetch the source, not the PDF Identify yourself; arXiv asks for it and rate-limits anonymous bulk access. ```bash ID=2605.00501 UA="your-project/1.0 (mailto:you@example.com)" mkdir -p /tmp/paper && cd /tmp/paper curl -sSL -A "$UA" "https://export.arxiv.org/api/query?id_list=$ID" -o meta.xml curl -sSL -A "$UA" "https://arxiv.org/e-print/$ID" -o eprint.tar.gz mkdir -p src && tar xzf eprint.tar.gz -C src ``` If `tar` fails the e-print may be a single gzipped `.tex` — `gunzip ...

Details

Author
terrylica
Repository
terrylica/cc-skills
Created
9 months ago
Last Updated
yesterday
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Listed

paper-extract

Hybrid PDF extract: prefer Marker `_raw/` for full text; take math from arXiv source, then Mathpix, then page image plus vision. Use when normalizing `_raw/` into `extracted/`, fixing equations or algorithms, or when the user mentions Marker, Docling, Mathpix, OCR, or arXiv source.

0 Updated 3 weeks ago
L4pisLazuli
Data & Documents Listed

paper-eli5

Rewrite someone else's research paper into plain English — section by section, paragraph by paragraph, 1:1. Same headings, same paragraph order; nothing summarized, merged, dropped, or reordered; only the language changes (smart-newcomer register, jargon translated on first use). Accepts a local PDF/markdown/text path, an arXiv URL or bare ID, or any other web URL. Equations, tables, and inline math stay verbatim with an "in plain words" gloss, and every display equation also gets a "named form" — the same equation re-emitted with each variable replaced by what it actually is, plus a `where:` legend — with math normalized to canonical `$…$` / `$$…$$` so `/paper-gloss` can typeset it; figures become placeholders with rewritten captions; the references section passes through untouched. Output lands in the current repo at docs/papers/<slug>-eli5.md (papers/ if no docs/; beside the input outside a repo) and is sent to Kyle. Use whenever Kyle types /paper-eli5, or says "eli5 this paper", "simplify this paper", "pl

0 Updated yesterday
ksdisch
AI & Automation Listed

read-arxiv-paper

Use this skill when asked to read an arxiv paper given an arxiv URL

3 Updated 1 months ago
marco-trotta1