read-arxiv-paper

karpathy/nanochat · updated Apr 8, 2026

$npx skills add https://github.com/karpathy/nanochat --skill read-arxiv-paper
0 commentsdiscussion
summary

Fetch and summarize arxiv papers from their LaTeX source code.

  • Normalizes arxiv URLs to source format (/src/), downloads .tar.gz archives, and unpacks them locally with caching to avoid re-downloads
  • Locates the LaTeX entrypoint (main.tex or equivalent) and recursively reads all relevant source files to reconstruct the full paper
  • Generates markdown summaries in the local knowledge directory with contextual tags, designed for integration with the nanochat project
  • Includes guidance f
skill.md

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.

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.749 reviews
  • Shikha Mishra· Dec 28, 2024

    Registry listing for read-arxiv-paper matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Sofia Kim· Dec 24, 2024

    I recommend read-arxiv-paper for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Naina Srinivasan· Dec 24, 2024

    We added read-arxiv-paper from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Hassan Bansal· Dec 20, 2024

    Useful defaults in read-arxiv-paper — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Ganesh Mohane· Dec 4, 2024

    read-arxiv-paper has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Zaid Abbas· Dec 4, 2024

    read-arxiv-paper reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Aanya Abbas· Nov 23, 2024

    Registry listing for read-arxiv-paper matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Yash Thakker· Nov 19, 2024

    read-arxiv-paper reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Noah Okafor· Nov 15, 2024

    Keeps context tight: read-arxiv-paper is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Olivia Liu· Nov 15, 2024

    read-arxiv-paper fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

showing 1-10 of 49

1 / 5