← 返回 Skills 市场
ninganme

arXiv Downloader

作者 NingAnMe · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
130
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install arxiv-downloader
功能描述
arXiv 论文 PDF/LaTeX 源码下载工具。支持通过 arXiv ID 或 URL 下载论文。 当用户提到下载 arXiv 论文、获取 PDF、下载 LaTeX 源码时使用。 触发条件:(1) 用户要求下载 arXiv 论文 (2) 提供 arXiv ID 或链接 (3) 需要 PDF 或源码
使用说明 (SKILL.md)

arXiv Downloader

从 arXiv 下载论文 PDF 或 LaTeX 源码。

使用方法

基本下载 PDF

python ~/.openclaw/workspace/skills/arxiv-downloader/scripts/download_arxiv.py \x3Carxiv-id-or-url> [output_dir]

示例:

# 通过 ID 下载
python download_arxiv.py 2301.12345

# 通过 URL 下载
python download_arxiv.py https://arxiv.org/abs/2301.12345

# 指定输出目录
python download_arxiv.py 2301.12345 ~/Papers

下载 LaTeX 源码

python download_arxiv.py \x3Carxiv-id> --latex

自定义文件名

python download_arxiv.py 2301.12345 --name my-paper

支持的格式

参数 说明
无参数 下载 PDF
--latex 下载 LaTeX 源码(.tar.gz)
--name 自定义输出文件名

常见 arXiv ID 格式

  • 新格式:2301.12345(年份.编号)
  • 带版本:2301.12345v2
  • URL:https://arxiv.org/abs/2301.12345

实现说明

脚本使用 urllib 下载文件,模拟浏览器 User-Agent,支持重试机制(最多 3 次)。

PDF URL: https://arxiv.org/pdf/{id}.pdf LaTeX URL: https://arxiv.org/e-print/{id}

安全使用建议
This skill is coherent for downloading arXiv PDFs and sources and does not ask for credentials. Before installing/running: (1) inspect the script yourself (it's small) to ensure it matches expectations; (2) run it in a restricted directory or sandbox to avoid accidental file overwrites—the script will write files and currently does not sanitize filenames (an attacker or malformed input could cause writing outside the intended output_dir if an absolute path or path separators are passed as the name/identifier); (3) avoid running as a privileged user; (4) if you plan to use it programmatically, consider hardening the script to sanitize/validate filenames (strip path components, forbid absolute paths, enforce expected id formats, and preserve version suffixes if desired).
能力评估
Purpose & Capability
Name/description match the included script and the SKILL.md. The code only builds arxiv.org URLs and downloads PDF or e-print TAR.GZ files from arxiv.org, which is consistent with the stated purpose.
Instruction Scope
Runtime instructions are limited to invoking the bundled Python script to fetch arXiv content. The script only performs HTTP GETs to arxiv.org and writes the response to disk. However, the script does not sanitize the derived filename: if the identifier cannot be parsed or a user supplies a custom --name containing path separators or an absolute path, the resulting output_path can point outside the intended output_dir (possible path traversal / overwrite of files).
Install Mechanism
No installation steps; this is instruction-only with a small included Python script that uses the standard library (urllib). No external downloads or package installs are performed.
Credentials
No environment variables, credentials, or unrelated config paths are requested. Network access to arxiv.org is necessary and is the only remote interaction performed.
Persistence & Privilege
Skill does not request always:true, does not modify other skills, and does not persist credentials or alter agent configuration. Agent autonomy settings are default.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install arxiv-downloader
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /arxiv-downloader 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of arxiv-downloader: - Download PDF or LaTeX source from arXiv by ID or URL. - Supports custom output directory and file name. - Allows downloading LaTeX source with --latex option. - Handles both newer arXiv ID formats and full URLs. - Built-in retry mechanism for downloads.
元数据
Slug arxiv-downloader
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

arXiv Downloader 是什么?

arXiv 论文 PDF/LaTeX 源码下载工具。支持通过 arXiv ID 或 URL 下载论文。 当用户提到下载 arXiv 论文、获取 PDF、下载 LaTeX 源码时使用。 触发条件:(1) 用户要求下载 arXiv 论文 (2) 提供 arXiv ID 或链接 (3) 需要 PDF 或源码. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 130 次。

如何安装 arXiv Downloader?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install arxiv-downloader」即可一键安装,无需额外配置。

arXiv Downloader 是免费的吗?

是的,arXiv Downloader 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

arXiv Downloader 支持哪些平台?

arXiv Downloader 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 arXiv Downloader?

由 NingAnMe(@ninganme)开发并维护,当前版本 v1.0.0。

💬 留言讨论