← Back to Skills Marketplace
ninganme

arXiv Downloader

by NingAnMe · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
130
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install arxiv-downloader
Description
arXiv 论文 PDF/LaTeX 源码下载工具。支持通过 arXiv ID 或 URL 下载论文。 当用户提到下载 arXiv 论文、获取 PDF、下载 LaTeX 源码时使用。 触发条件:(1) 用户要求下载 arXiv 论文 (2) 提供 arXiv ID 或链接 (3) 需要 PDF 或源码
README (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}

Usage Guidance
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).
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install arxiv-downloader
  3. After installation, invoke the skill by name or use /arxiv-downloader
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug arxiv-downloader
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is arXiv Downloader?

arXiv 论文 PDF/LaTeX 源码下载工具。支持通过 arXiv ID 或 URL 下载论文。 当用户提到下载 arXiv 论文、获取 PDF、下载 LaTeX 源码时使用。 触发条件:(1) 用户要求下载 arXiv 论文 (2) 提供 arXiv ID 或链接 (3) 需要 PDF 或源码. It is an AI Agent Skill for Claude Code / OpenClaw, with 130 downloads so far.

How do I install arXiv Downloader?

Run "/install arxiv-downloader" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is arXiv Downloader free?

Yes, arXiv Downloader is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does arXiv Downloader support?

arXiv Downloader is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created arXiv Downloader?

It is built and maintained by NingAnMe (@ninganme); the current version is v1.0.0.

💬 Comments