Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

read-arxiv-paper — Claude Code skill: what it does, how to install

This skill reads an arXiv paper from its source files and writes a Markdown report. It is useful when research needs to be connected to nanochat.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add karpathy/nanochat --skill read-arxiv-paper -a claude-code
Open on GitHub

What read-arxiv-paper does

The skill takes an arXiv paper link, converts it to the TeX source address, and downloads an archive to ~/.cache/nanochat/knowledge/{arxiv_id}.tar.gz. Existing archives are reused.

It unpacks the source into ~/.cache/nanochat/knowledge/{arxiv_id}, finds the LaTeX entrypoint such as main.tex, and follows the related source files. It then writes a report to ./knowledge/summary_{tag}.md, with attention to how the paper’s ideas could apply to the nanochat repository.

The paper needs accessible TeX source files. This matters because the skill reads the LaTeX project rather than a PDF, so a missing or unusable entrypoint can stop the workflow.

What it helps with

  • read an arXiv paper from a link
  • download the paper’s TeX source
  • locate the LaTeX entrypoint and related files
  • write a paper report as Markdown
  • connect research findings to nanochat

Example prompts for the agent

  • Read the paper at this arXiv link and save a report in the repository.
  • Inspect the paper source, find its LaTeX entrypoint, and explain what could apply to nanochat.
  • Read this arXiv paper and create `./knowledge/summary_{tag}.md` with findings for nanochat.

How to install read-arxiv-paper

1Skills CLI (Vercel)

npx skills add karpathy/nanochat --skill read-arxiv-paper -a claude-code

2Manually: put the files in place

~/.claude/skills/read-arxiv-paper/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/read-arxiv-paper/

Similar

minimal-run-and-audit lllllllama Captures and normalizes execution evidence from deep learning smoke tests and inference commands into standardized repro_outputs/ files. Claude Code CX Codex Cursor +1 474,400installs nature-literature-pipeline Jiahao8595 Automates academic literature discovery, six-dimension paper scoring, and digest delivery to chat apps. Useful for running daily research scans via cron. Claude Code CX Codex Cursor +1 11,800installs nature-statistics Yuan1z0825 Audits and revises statistical reporting in research manuscripts, from experimental units to figure statistics. Use it to review a Methods section, address reviewer comments, or align figures with results. Claude Code CX Codex Cursor +1 11,800installs nature-paper-card Yuan1z0825 Turns one scientific paper into a structured deep-reading card: methods, experiment-to-claim evidence, limitations. Useful when you need the paper taken apart, not summarised. Claude Code CX Codex Cursor +1 10,400installs jupyter-notebook official openai Scaffolds reproducible Jupyter notebooks for experiments and tutorials using bundled templates and a helper script. It prevents manual raw JSON editing errors. Claude Code CX Codex Cursor +1 5,600installs ai-research-explore lllllllama Governs deep learning research exploration on top of an existing baseline. It isolates candidate experiments and generates structured comparison reports. Claude Code CX Codex Cursor +1 335,600installs anysearch anysearch-ai This skill gives an agent web search, domain-specific queries, parallel batch search, and page extraction. Use it when a task needs current information or a claim needs checking. Claude Code CX Codex Cursor +1 38,500installs academic-paper Imbad0202 This skill runs a 12-agent academic pipeline across 11 modes. It guides projects from literature searches and outlines to citation audits and rebuttal reviews. Claude Code CX Codex Cursor +1 10,800installs

Questions about read-arxiv-paper

How do I install read-arxiv-paper in Claude Code?

Run npx skills add karpathy/nanochat --skill read-arxiv-paper -a claude-code, run npx skills add karpathy/nanochat --skill read-arxiv-paper -a claude-code again, then check ~/.claude/skills/read-arxiv-paper/SKILL.md.

What does read-arxiv-paper do?

It downloads an arXiv paper’s TeX sources, unpacks them, reads the entrypoint and related files, then writes a Markdown report to ./knowledge/summary_{tag}.md.

What does read-arxiv-paper need to work?

It needs an arXiv paper link with accessible TeX sources. The extracted source is cached under ~/.cache/nanochat/knowledge/, while the report goes to ./knowledge/.

Source text

SKILL.md · MIT
---
name: read-arxiv-paper
description: Use this skill when asked to read an arxiv paper given an arxiv URL
---

You will be given a URL of an arxiv paper, for example:

https://www.arxiv.org/abs/2601.07372

### Part 1: Normalize the URL

The goal is to fetch the TeX Source of the paper (not the PDF!), the URL always looks like this:

https://www.arxiv.org/src/2601.07372

Notice the /src/ in the url. Once you have the URL:

### Part 2: Download the paper source

Fetch the url to a local .tar.gz file. A good location is `~/.cache/nanochat/knowledge/{arxiv_id}.tar.gz`.

(If the file already exists, there is no need to re-download it).

### Part 3: Unpack the file in that folder

Unpack the contents into `~/.cache/nanochat/knowledge/{arxiv_id}` directory.

### Part 4: Locate the entrypoint

Every latex source usually has an entrypoint, such as `main.tex` or something like that.

### Part 5: Read the paper

Once you've found the entrypoint, Read the contents and then recurse through all other relevant source files to read the paper.

### Part 6: Report

Once you've read the paper, produce a summary of the paper into a markdown file at `./knowledge/summary_{tag}.md`. Notice that 1) use the local knowledge directory here (it's easier for me to open and reference here), not in `~/.cache`, and 2) generate some reasonable `tag` like e.g. `conditional_memory` or whatever seems appropriate given the paper. Probably make sure that the tag doesn't exist yet so you're not overwriting files.

As for the summary itself, remember that you're processing this paper within the context of the nanochat repository, so most often we will be interested in how to apply the paper and its lessons to the nanochat project. Therefore, you should feel free to "remind yourself" of the related nanochat code by reading the relevant parts, and then explicitly make the connection of how this paper might relate to nanochat or what are things we might be inspired about or try.

© karpathy · MIT · karpathy/nanochat

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor