360 Secure SkillHub
360 安全技能中心

论文关键词搜索和自动下载到指定目录 Keyword search for papers and automatic download!

该 Skill 通过 Python 脚本调用 arXiv API,按主题加日期范围或按种子论文的 arXiv ID/标题检索相关论文,将 PDF 批量下载到工作区 arxiv/ 目录,并按 vN_YYYYMMDD-标题.pdf 规则命名;脚本仅使用 Python 标准库,可设最大结果数,下载失败或无 PDF 链接的条目会被跳过,已存在文件不重复下载。

ppingzhang
ppingzhang
热度 45.98
最近更新 2026-05-11 17:43:14
分类:搜索依赖:代码执行 / 读写文件 / 第三方 API应用场景:研究 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add paper-search-and-download-automatically
Metadata
name
arxiv-related-papers
description
Search and download related arXiv papers by topic plus date range, or from a seed paper title/id. Use when user asks to crawl related papers, collect arXiv articles, or bulk download PDFs into an arxiv folder with structured filenames.

arXiv Related Papers Downloader

What this skill does

  • Accepts either:
    • topic + time range, or
    • seed paper (arXiv id or title)
  • Finds related papers from arXiv API.
  • Downloads PDF files into arxiv/.
  • Uses filename format: versionDate-title.pdf, where versionDate is vN_YYYYMMDD.

When to use

Use this skill when the user asks to:

  • crawl/search related papers by topic;
  • find related papers from one article;
  • download arXiv PDFs in batch;
  • save with a deterministic naming rule.

Required user input

The user must provide one of these modes:

  1. Topic mode

    • topic
    • start date (YYYY-MM-DD)
    • end date (YYYY-MM-DD)
  2. Seed paper mode

    • seed arXiv id (preferred) or seed title
    • optional start date / end date

Optional:

  • max results (default: 20)

Execution steps

  1. Confirm missing parameters with the user.
  2. Run the script from workspace root:
# Topic mode
python ./scripts/download_arxiv.py \
  --topic "graph neural network" \
  --start-date 2024-01-01 \
  --end-date 2024-12-31 \
  --max-results 20

# Seed mode by arXiv id
python ./scripts/download_arxiv.py \
  --seed-id "2401.12345v1" \
  --max-results 20

# Seed mode by title
python ./scripts/download_arxiv.py \
  --seed-title "Attention Is All You Need" \
  --start-date 2018-01-01 \
  --end-date 2024-12-31 \
  --max-results 20
  1. Report back:
    • how many papers were found;
    • how many PDFs were downloaded;
    • the output directory path.

Output location and naming

  • Output dir: ./arxiv/ (auto-created if missing)
  • File naming rule:
    • v1_20240213-Your_Paper_Title.pdf
    • v3_20231105-Your_Paper_Title.pdf

Notes

  • HTTPS uses normal TLS verification only (no insecure certificate bypass).
  • The script only uses Python standard library.
  • If a paper has no PDF link or download fails, it is skipped with a warning.
  • Existing files are not downloaded again.