Read Arxiv Paper

karpathy/nanochat/.claude/skills/read-arxiv-paper

作者 karpathy92d63d4e8bb4无许可证58K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库4周前更新

Use this skill when asked to read an arxiv paper given an arxiv URL

AI 生成的概览

获取 arXiv 论文的 LaTeX 源码,阅读后生成与 nanochat 项目相关的 markdown 摘要。

功能
给定 arXiv 链接后,该技能会将其规范化为源码链接,把 TeX 源码压缩包下载到本地缓存并解压。它会定位 LaTeX 入口文件,阅读入口文件及相关源文件,并在本地知识目录中生成 markdown 摘要。摘要围绕论文思路如何应用于 nanochat 仓库展开。
适用场景
当被要求根据链接阅读或总结 arXiv 论文时使用,尤其是目标为提炼与 nanochat 项目相关经验时。适用于偏好 LaTeX 源码而非 PDF 的文献阅读任务。
运行要求
需要网络访问以下载 arXiv 源码压缩包,需要能下载并解压 .tar.gz 文件的 shell 环境,以及对缓存目录和本地知识目录的写入权限。该技能不附带脚本,仅为操作说明。

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/nanochat位于.claude/skills/read-arxiv-paper提交92d63d4

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架