Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
karpathy avatar

Read Arxiv Paper

  • 2.4k installs
  • 57k repo stars
  • Updated August 2, 2026
  • karpathy/nanochat

read-arxiv-paper is a nanochat skill to download arXiv TeX sources and write project-oriented summary markdown.

About

The read-arxiv-paper skill ingests arXiv papers for the nanochat repository by fetching TeX source instead of PDF. Given an abs URL like https://www.arxiv.org/abs/2601.07372, normalize to https://www.arxiv.org/src/{id}, download to ~/.cache/nanochat/knowledge/{arxiv_id}.tar.gz skipping re-download if cached, then unpack into the matching folder. Locate the LaTeX entrypoint such as main.tex and recursively read included sources to understand the paper. After reading, produce a summary markdown at ./knowledge/summary_{tag}.md in the project workspace using a descriptive tag like conditional_memory, ensuring the tag does not overwrite existing files. Summaries should connect findings to nanochat by reading related repository code and stating how lessons might apply or inspire experiments within nanochat. The workflow is optimized for agent consumption of primary sources rather than PDF extraction, keeping cache under home and summaries in the local knowledge directory for easy human review.

  • Fetches arXiv TeX source via /src/ URL, not the PDF.
  • Caches tar.gz under ~/.cache/nanochat/knowledge/{arxiv_id}.
  • Unpacks and reads main.tex plus included LaTeX files recursively.
  • Writes ./knowledge/summary_{tag}.md with a unique tag name.
  • Relates paper takeaways to relevant nanochat code and experiments.

Read Arxiv Paper by the numbers

  • 2,440 all-time installs (skills.sh)
  • +52 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #369 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

read-arxiv-paper capabilities & compatibility

Capabilities
abs to src url normalization · cached download and unpack workflow · latex entrypoint discovery and recursive read · project local summary markdown generation · nanochat code cross reference guidance
Use cases
research · documentation
From the docs

What read-arxiv-paper says it does

explicitly make the connection of how this paper might relate to nanochat
SKILL.md
npx skills add https://github.com/karpathy/nanochat --skill read-arxiv-paper

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2.4k
repo stars57k
Security audit2 / 3 scanners passed
Last updatedAugust 2, 2026
Repositorykarpathy/nanochat

How do I read an arXiv paper and summarize it for application inside the nanochat repo?

Download an arXiv paper TeX source, read the entrypoint and includes, and write a nanochat-oriented summary markdown file.

Who is it for?

nanochat contributors researching papers with agent-friendly TeX source workflows.

Skip if: Skip for PDF-only papers without TeX source or summaries unrelated to nanochat context.

When should I use this skill?

User provides an arxiv.org/abs URL and asks to read or summarize the paper.

What you get

Cached TeX source read and a unique knowledge/summary_{tag}.md linking insights to nanochat code.

  • Cached TeX archive
  • Unpacked LaTeX source
  • Paper summary

By the numbers

  • Workflow has 3 parts: normalize URL, download archive, unpack TeX source
  • Caches papers at ~/.cache/nanochat/knowledge/{arxiv_id}.tar.gz

Files

SKILL.mdMarkdownGitHub ↗

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.

Related skills

How it compares

Pick read-arxiv-paper for arxiv.org TeX ingestion pipelines rather than generic web-scrape skills that default to PDF downloads.

FAQ

Why use /src/ instead of the PDF?

The skill targets TeX source for structured reading; the URL uses arxiv.org/src/{id}.

Where is the summary written?

In ./knowledge/summary_{tag}.md locally, not in the home cache directory.

Should I re-download if cached?

No. Skip download when ~/.cache/nanochat/knowledge/{arxiv_id}.tar.gz already exists.

Is Read Arxiv Paper safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.