Agent skill

Read arXiv Paper

by karpathy in karpathy/nanochat

Fetches the TeX source of an arXiv paper from its URL, reads it and writes a markdown summary tied to the nanochat project.

MITAuto-check passedResearch & Science

Install Read arXiv Paper

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

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install karpathy/nanochat read-arxiv-paper --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/karpathy/nanochat.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/read-arxiv-paper .claude/skills/read-arxiv-paper && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
read-arxiv-paper
GitHub stars
59k
Used in
1 other repo
Token cost
~494 tokens
SKILL.md length
292 words
Files
1
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Fetches the TeX source of an arXiv paper from its URL, reads it and writes a markdown summary tied to the nanochat project.

  • Reading an arXiv paper from its abstract link
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Summarizing a paper and noting how it applies to nanochat
  • Keeping a local folder of paper summaries for later reference

What it does

Given an arXiv URL, the agent rewrites the abstract link into the matching source link so that it gets the TeX source rather than the PDF. It downloads the archive into a cache folder under ~/.cache/nanochat/knowledge, skipping the download when the file is already there, and unpacks it beside the archive.

The agent then looks for the main TeX entrypoint, such as main.tex, and reads it along with the other source files it pulls in. It finishes by writing a markdown summary into a local knowledge folder, named with a short topic tag that does not collide with an existing file, and the summary is written to connect the paper to the nanochat project and to ideas worth trying there.

When your agent uses it

  • Reading an arXiv paper from its abstract link
  • Summarizing a paper and noting how it applies to nanochat
  • Keeping a local folder of paper summaries for later reference

Example prompts

  • “Read https://www.arxiv.org/abs/2601.07372 and summarize it for this repo.”
  • “Read this arXiv paper and tell me what we could try in nanochat.”
  • “Fetch the TeX source for that arXiv link and write a summary file.”

Requirements

  • Network access to arxiv.org

What it can do on your machine

Read from SKILL.md and the folder at commit 92d63d4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • arxiv.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Read arXiv Paper loads about 494 tokens when it runs. Until then it costs about 21 tokens; SKILL.md has 292 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~21
When it runs · the whole SKILL.md, loaded when a task matches
~494

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from karpathy/nanochat at commit 92d63d4, republished under its MIT licence (© karpathy). 292 words, ~494 tokens.

Download SKILL.mdSave it as .claude/skills/read-arxiv-paper/SKILL.md (or your agent's skills folder).
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. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/read-arxiv-paper of karpathy/nanochat.

Open the folder on GitHubat commit 92d63d4

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in karpathy/nanochat, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Read arXiv Paper next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Read arXiv Paper compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Read arXiv Paper this skillkarpathy/nanochat59k1 repos~494Automated safety check: PassMIT
Citation Managementneflibata-feng/MyArxiv-Agent12619 repos~8.1kAutomated safety check: NotesMIT
Literature Review AgentAr9av/PaperOrchestra6791 repos~5.2kAutomated safety check: PassCustom licence
Academic Searchustc-ai4science/academic-search668—~1.1kAutomated safety check: PassMIT
Arxiv MCP Serverblazickjp/arxiv-mcp-server3.2k—~353Automated safety check: PassApache-2.0
Nature Academic Searchwp-a/nature-academic-search304—~1.4kAutomated safety check: PassMIT

Similar skills

  • Citation Management

    neflibata-feng/MyArxiv-Agent

    Comprehensive citation management for academic research. An agent skill from neflibata-feng/MyArxiv-Agent.

    126 GitHub starsUsed in 19 repos~8.1k tokens
    Research & ScienceAuto-check: notes
  • Literature Review Agent

    Ar9av/PaperOrchestra

    Step 3 of the PaperOrchestra pipeline (arXiv:2604.05018). An agent skill from Ar9av/PaperOrchestra.

    679 GitHub starsUsed in 1 repo~5.2k tokens
    Research & ScienceAuto-check passed
  • Academic Search

    ustc-ai4science/academic-search

    A skill your agent uses when the user asks to search or review academic papers, retrieve scholarly metadata or citation counts, validate or deduplicate scholarly records, find an author's…

    668 GitHub stars~1.1k tokensUpdated 1 mo ago
    Research & ScienceAuto-check passed
  • Arxiv MCP Server

    blazickjp/arxiv-mcp-server

    A skill your agent uses when finding, comparing, reading, or monitoring arXiv papers, including requests for abstracts, citation graphs, original LaTeX, section-level technical details, or…

    3.2k GitHub stars~353 tokensUpdated 3 days ago
    Research & ScienceAuto-check passed
  • Nature Academic Search

    wp-a/nature-academic-search

    A skill your agent uses when users ask to 找文献、做文献检索、查论文、查临床试验、核验引用、去重文献、设计 PubMed/MeSH 检索式、追踪上下游引文、解析 DOI/PMID/PMCID/arXiv/OpenAlex/Semantic Scholar/NCT ID, 或导出 RIS、BibTeX、NBIB、ENW;also use for…

    304 GitHub stars~1.4k tokensUpdated 9 days ago
    Research & ScienceAuto-check passed
  • Arxiv Paper Writer

    appautomaton/latex-arxiv-SKILL

    Write LaTeX ML/AI review articles for arXiv using the IEEEtran template and verified BibTeX citations.

    458 GitHub stars~2.3k tokensUpdated 27 days ago
    Research & ScienceAuto-check passed

Works with

Questions about Read arXiv Paper

What does Read arXiv Paper do?

Fetches the TeX source of an arXiv paper from its URL, reads it and writes a markdown summary tied to the nanochat project. Given an arXiv URL, the agent rewrites the abstract link into the matching source link so that it gets the TeX source rather than the PDF.cache/nanochat/knowledge, skipping the download when the file is already there, and unpacks it beside the archive.

When should I use Read arXiv Paper?

Read arXiv Paper fits situations like: reading an arXiv paper from its abstract link; summarizing a paper and noting how it applies to nanochat; keeping a local folder of paper summaries for later reference.

How do I install Read arXiv Paper in Claude Code?

Run `npx skills add karpathy/nanochat --skill read-arxiv-paper -a claude-code`. Or copy the skill folder (.claude/skills/read-arxiv-paper in karpathy/nanochat) into .claude/skills/read-arxiv-paper in your project. Claude Code loads it when a task matches its description.

How do I install Read arXiv Paper in Codex?

Run `npx skills add karpathy/nanochat --skill read-arxiv-paper -a codex`. Or copy the skill folder (.claude/skills/read-arxiv-paper in karpathy/nanochat) into .agents/skills/read-arxiv-paper in your project. Codex loads it when a task matches its description.

Can I use Read arXiv Paper in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add karpathy/nanochat --skill read-arxiv-paper -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/read-arxiv-paper, .gemini/skills/read-arxiv-paper, .github/skills/read-arxiv-paper and .opencode/skills/read-arxiv-paper in your project.

What does Read arXiv Paper need to run?

SKILL.md names no scripts, command-line tools or credentials: Read arXiv Paper is instructions for the agent only. Our summary lists: Network access to arxiv.org.

Does Read arXiv Paper access the network?

SKILL.md names 1 domain. As links in the text: arxiv.org. This is read from the text; nothing was executed.

Is Read arXiv Paper safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Read arXiv Paper use?

Read arXiv Paper is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Read arXiv Paper use?

About 494 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Read arXiv Paper?

Skills that share tags, products or a category with Read arXiv Paper: Citation Management (neflibata-feng/MyArxiv-Agent, 126 stars), Literature Review Agent (Ar9av/PaperOrchestra, 679 stars), Academic Search (ustc-ai4science/academic-search, 668 stars) and Arxiv MCP Server (blazickjp/arxiv-mcp-server, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Read arXiv Paper?

karpathy (a GitHub user) maintains it in karpathy/nanochat, which has 58,532 GitHub stars. The repository was last updated on September 7, 2026.

Source: karpathy/nanochat on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.