read-arxiv-paper

Fetch and unpack arXiv LaTeX sources, then write Markdown summaries.

57.1k|7.9k|Updated Oct 13, 2025
One-click install
npx skills add https://github.com/karpathy/nanochat --skill read-arxiv-paper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: read-arxiv-paper
Source: https://github.com/karpathy/nanochat/tree/main/.claude/skills/read-arxiv-paper
Command: npx skills add https://github.com/karpathy/nanochat --skill read-arxiv-paper

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables researchers to read and summarize arXiv papers by programmatically fetching the LaTeX source (not the PDF), unpacking it locally, identifying a primary entrypoint (e.g., main.tex), and generating a concise summary that integrates with the nanochat knowledge store.

Core Features & Use Cases

  • URL normalization to arXiv source URLs and subsequent access to LaTeX sources.
  • Local caching of the LaTeX tarball under ~/.cache/nanochat/knowledge/{arxiv_id} for quick re-reads.
  • Unpacking & entrypoint discovery to locate main.tex or equivalent starting point.
  • Recursive source reading to build a coherent, in-depth understanding of the paper.
  • Knowledge integration by writing a Markdown summary to ./knowledge/summary_{tag}.md and relating it to nanochat context.

Quick Start

Use the read-arxiv-paper skill with the arXiv URL https://arxiv.org/abs/2601.07372 to generate a knowledge summary.

Frequently Asked Questions about read-arxiv-paper

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read and summarize arXiv papers from their LaTeX source?

Reading arXiv papers from LaTeX source fetches the raw source files rather than PDFs, enabling precise technical analysis. This Skill normalizes arXiv URLs, downloads and unpacks LaTeX tarballs locally, identifies the main entrypoint file, recursively reads related source files, and generates a structured Markdown summary integrated into your knowledge store.

Can I automate arXiv paper analysis without downloading PDFs?

Yes. Automating arXiv analysis via LaTeX source bypasses PDF extraction limitations by working directly with the author's source files. This Skill programmatically accesses the /src endpoint, unpacks the tarball, detects entrypoints like main.tex, and builds coherent summaries for knowledge integration.

What happens to downloaded arXiv LaTeX files—are they cached locally?

Downloaded LaTeX tarballs are cached locally under ~/.cache/nanochat/knowledge/{arxiv_id}, enabling quick re-reads without repeated downloads. The Skill unpacks and processes these cached sources to generate Markdown summaries stored in ./knowledge/summary_{tag}.md.

How does the Skill handle arXiv papers with multiple source files?

The Skill uses recursive source reading to process papers with multiple linked files. It detects common entrypoints like main.tex, then traverses included or referenced source files to build a complete, in-depth understanding of the paper's content and structure.

Do I need special tools installed to read arXiv LaTeX sources?

No external dependencies are required. The Skill handles URL normalization, tarball unpacking, and source file discovery internally. It integrates with nanochat's knowledge store, so familiarity with arXiv URLs and Markdown is sufficient to get started.

Related Skills