skill/arxiv_downloader/SKILL.md
如何从 arXiv 下载论文 LaTeX 源码。Agent 在收到论文链接后使用此技能。
npx skillsauth add tangshunpu/paper_granny arxiv-downloaderInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
从用户输入中提取 arXiv ID,支持格式:
https://arxiv.org/abs/2603.03251 → 2603.03251https://arxiv.org/pdf/2603.03251 → 2603.032512603.03251 → 2603.03251arXiv:2603.03251 → 2603.03251mkdir -p papers/{arxiv_id}/source
根据系统环境选择可用的下载工具(参考 system prompt 中的系统环境信息):
curl(macOS/Linux 通常自带):
curl -L "https://arxiv.org/e-print/{arxiv_id}" -o papers/{arxiv_id}/source.tar.gz
wget(如果可用):
wget "https://arxiv.org/e-print/{arxiv_id}" -O papers/{arxiv_id}/source.tar.gz
cd papers/{arxiv_id} && tar -xzf source.tar.gz -C source/
如果 tar 失败(可能是单个 gzip 文件),尝试:
cd papers/{arxiv_id} && gunzip -c source.tar.gz > source/main.tex
ls papers/{arxiv_id}/source/
确认有 .tex 文件存在。
tools
管理 LaTeX 模板目录,提供模板发现、加载和信息展示功能。
documentation
如何使用 LaTeX 模板写解读报告。Agent 准备写报告时使用此技能,学习盒子环境和格式规范。
development
将生成的 LaTeX 文件编译为 PDF,处理编译错误,清理中间文件。
data-ai
如何深度解读论文——术语白话化、公式拆解、背景补充、类比解释。Agent 在阅读完论文、准备写解读报告前使用此技能。