Agent skill

Research Paper Downloader

by aipoch in aipoch/medical-research-skills

Download academic papers from open-access sources when the user provides a DOI/arXiv ID or requests a keyword-based paper search, and return the saved PDF path.

MITAuto-check passedResearch & Science

Install Research Paper Downloader

skills CLI
$ npx skills add aipoch/medical-research-skills --skill research-paper-downloader -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aipoch/medical-research-skills research-paper-downloader --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'scientific-skills/Evidence Insight/research-paper-downloader' .claude/skills/research-paper-downloader && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
research-paper-downloader
GitHub stars
1.9k
Token cost
~1.9k tokens
SKILL.md length
777 words
Files
6 (incl. scripts, references)
Skills in repo
578
Repo updated
First seen
Licence
MIT

At a glance

Download academic papers from open-access sources when the user provides a DOI/arXiv ID or requests a keyword-based paper search, and return the saved PDF path.

  • Works in 6 steps: Semantic Scholar (Open Access API) —… → OpenAlex (Open Academic Graph) —… → Unpaywall (OA location finder) —… → …
  • Provides a DOI/arXiv ID
  • SKILL.md covers When to Use, Key Features, Dependencies and Example Usage, plus 8 more sections
  • Runs Python scripts from its folder; calls python

What it does

Research Paper Downloader is an agent skill from aipoch/medical-research-skills. Download academic papers from open-access sources when the user provides a DOI/arXiv ID or requests a keyword-based paper search, and return the saved PDF path.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and reference files (for example `README_CN.md`, `config.json` and `references/apis.md`).

It sits in Research & Science, covering Academic paper search. It works with arXiv, Semantic Scholar and PubMed. The repository describes itself as: Hundreds of agent skills for medical research, including protocol design, data analysis, evidence insights, and academic writing. The licence is MIT.

When your agent uses it

  • Provides a DOI/arXiv ID
  • Requests a keyword-based paper search
  • Return the saved PDF path

Example prompts

  • “/research-paper-downloader”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Semantic Scholar (Open Access API) — api.semanticscholar.org
  2. OpenAlex (Open Academic Graph) — api.openalex.org
  3. Unpaywall (OA location finder) — api.unpaywall.org
  4. arXiv (preprint server) — arxiv.org
  5. PubMed (biomedical database) — pubmed.ncbi.nlm.nih.gov
  6. Crossref (DOI registry/metadata) — api.crossref.org

What it can do on your machine

Read from SKILL.md and the folder at commit 686e09d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Research Paper Downloader loads about 1.9k tokens when it runs, and up to ~2.2k if it reads all its reference files. Until then it costs about 47 tokens; SKILL.md has 777 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~47
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from aipoch/medical-research-skills at commit 686e09d, republished under its MIT licence (© aipoch). 777 words, ~1,937 tokens.

Download SKILL.mdSave it as .claude/skills/research-paper-downloader/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
research-paper-downloader
description
Download academic papers from open-access sources when the user provides a DOI/arXiv ID or requests a keyword-based paper search, and return the saved PDF path.
license
MIT
author
AIPOCH

Source: https://github.com/aipoch/medical-research-skills

When to Use

  • The user provides a DOI (e.g., 10.1038/s41586-020-2649-2) and wants the corresponding open-access PDF.
  • The user provides an arXiv ID (e.g., 1706.03762) and wants the preprint PDF.
  • The user asks to search papers by keywords (e.g., "attention mechanism") and download available open-access PDFs.
  • The user requests downloading an academic/research paper and expects the tool to try multiple open-access providers automatically.
  • The user needs the final local save path for the downloaded PDF(s).

Key Features

  • Multi-source open-access retrieval with priority-based fallback until a PDF is found.
  • Supports three input modes:
    • DOI download
    • arXiv ID download
    • Keyword search + download (with max_results)
  • Configurable output directory and network behavior (timeouts, retries, preferred source order).
  • Clear failure modes:
    • invalid identifiers
    • no open-access location found
    • network timeouts / source unavailable
  • Safe file writing: downloads are saved only under the configured output directory.
  • Consistent naming convention: {first_author}_{year}_{title}.pdf (truncated to a maximum length).

Dependencies

  • Python >= 3.8
  • requests >= 2.0.0
  • Internet access (HTTPS) to the following services:
    • api.semanticscholar.org
    • api.openalex.org
    • api.unpaywall.org
    • arxiv.org
    • pubmed.ncbi.nlm.nih.gov
    • api.crossref.org

Example Usage

CLI (scripts/download.py)

Download by DOI:

bash
python scripts/download.py --doi "10.1038/s41586-020-2649-2" --output "~/Downloads/ResearchPapers"

Download by arXiv ID:

bash
python scripts/download.py --arxiv "1706.03762" --output "~/Downloads/ResearchPapers"

Search by keywords and download up to 3 results:

bash
python scripts/download.py --search "attention mechanism" --max-results 3 --output "~/Downloads/ResearchPapers"
Python (import and call)
python
from pathlib import Path

# These functions are expected to be provided by the skill implementation (e.g., scripts/download.py or a module it exposes).
from download import download_by_doi, download_by_arxiv, search_download

output_dir = Path.home() / "Downloads" / "ResearchPapers"
output_dir.mkdir(parents=True, exist_ok=True)

# 1) Download by DOI
pdf_path = download_by_doi(doi="10.1016/j.clinimag.2022.03.004", output_dir=str(output_dir))
print("Saved to:", pdf_path)

# 2) Download by arXiv ID
pdf_path = download_by_arxiv(arxiv_id="2310.12345", output_dir=str(output_dir))
print("Saved to:", pdf_path)

# 3) Keyword search and download
pdf_paths = search_download(query="transformer attention", max_results=5, output_dir=str(output_dir))
for p in pdf_paths:
    print("Saved to:", p)

Implementation Details

Source Priority and Fallback

The downloader attempts open-access sources in priority order and stops at the first successful PDF retrieval:

  1. Semantic Scholar (Open Access API) — api.semanticscholar.org
  2. OpenAlex (Open Academic Graph) — api.openalex.org
  3. Unpaywall (OA location finder) — api.unpaywall.org
  4. arXiv (preprint server) — arxiv.org
  5. PubMed (biomedical database) — pubmed.ncbi.nlm.nih.gov
  6. Crossref (DOI registry/metadata) — api.crossref.org

If a source is unavailable, returns no OA link, or times out, the implementation should automatically proceed to the next source.

Configuration (config.json)

Recommended configuration keys:

  • output_dir: default download directory (e.g., ~/Downloads/ResearchPapers)
  • timeout: request timeout in seconds (recommended range: 30-120)
  • max_retries: maximum retry attempts for transient failures
  • preferred_sources: ordered list of sources to try (overrides default priority)
File Output Rules
  • Path restriction: all files must be written only inside output_dir.
  • Default directory: ~/Downloads/ResearchPapers (if not overridden).
  • Filename format: {first_author}_{year}_{title}.pdf
  • Maximum filename length: 80 characters (truncate safely).
  • The tool should return (or print) the full absolute path of each saved PDF.
Error Handling Expectations
  • Invalid DOI/arXiv ID: return a clear error and suggest correcting the identifier format.
  • No open-access version found: report that no OA PDF is available and suggest alternatives (library access or contacting the authors).
  • Timeouts: retry according to max_retries, then fall back to the next source.
  • Source unavailable: skip to the next source and report which sources failed if all fail.
Safety Constraints
  • No paywall bypassing or restricted-content circumvention.
  • No credential handling is required (sources are expected to work without API keys).
  • The downloader must not execute external code; it only performs network requests and writes files to disk.
Show full SKILL.md (330 more words)Show less

When Not to Use

  • Do not use this skill when the required source data, identifiers, files, or credentials are missing.
  • Do not use this skill when the user asks for fabricated results, unsupported claims, or out-of-scope conclusions.
  • Do not use this skill when a simpler direct answer is more appropriate than the documented workflow.

Required Inputs

  • A clearly specified task goal aligned with the documented scope.
  • All required files, identifiers, parameters, or environment variables before execution.
  • Any domain constraints, formatting requirements, and expected output destination if applicable.
  1. Validate the request against the skill boundary and confirm all required inputs are present.
  2. Select the documented execution path and prefer the simplest supported command or procedure.
  3. Produce the expected output using the documented file format, schema, or narrative structure.
  4. Run a final validation pass for completeness, consistency, and safety before returning the result.

Output Contract

  • Return a structured deliverable that is directly usable without reformatting.
  • If a file is produced, prefer a deterministic output name such as research_paper_downloader_result.md unless the skill documentation defines a better convention.
  • Include a short validation summary describing what was checked, what assumptions were made, and any remaining limitations.

Validation and Safety Rules

  • Validate required inputs before execution and stop early when mandatory fields or files are missing.
  • Do not fabricate measurements, references, findings, or conclusions that are not supported by the provided source material.
  • Emit a clear warning when credentials, privacy constraints, safety boundaries, or unsupported requests affect the result.
  • Keep the output safe, reproducible, and within the documented scope at all times.

Failure Handling

  • If validation fails, explain the exact missing field, file, or parameter and show the minimum fix required.
  • If an external dependency or script fails, surface the command path, likely cause, and the next recovery step.
  • If partial output is returned, label it clearly and identify which checks could not be completed.

Quick Validation

Run this minimal verification path before full execution when possible:

bash
python scripts/download.py --help

Expected output format:

text
Result file: research_paper_downloader_result.md
Validation summary: PASS/FAIL with brief notes
Assumptions: explicit list if any

© aipoch, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (scripts, references) in scientific-skills/Evidence Insight/research-paper-downloader of aipoch/medical-research-skills.

  • SKILL.md
  • README_CN.md
  • config.json
  • references/apis.md
  • research-paper-downloader_audit_result_v2.json
  • scripts/download.py

Open the folder on GitHubat commit 686e09d

Compare with similar skills

Research Paper Downloader next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Research Paper Downloader compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Research Paper Downloader this skillaipoch/medical-research-skills1.9k—~1.9kAutomated safety check: PassMIT
Literature Reviewneflibata-feng/MyArxiv-Agent12620 repos~5.9kAutomated safety check: NotesMIT
Paper Searchopenags/paper-search-mcp2.8k—~1.2kAutomated safety check: NotesMIT
Nature Academic Searchwp-a/nature-academic-search304—~1.4kAutomated safety check: PassMIT
Paper Searchopenags/paper-search-mcp2.8k—~794Automated safety check: NotesMIT
Nature Academic Searchjing1312/nature-figure-skill171—~1.3kAutomated safety check: NotesMIT

Similar skills

  • Literature Review

    neflibata-feng/MyArxiv-Agent

    Conduct comprehensive, systematic literature reviews using multiple academic databases (PubMed, arXiv, bioRxiv, Semantic Scholar, etc.).

    126 GitHub starsUsed in 20 repos~5.9k tokens
    Research & ScienceAuto-check: notes
  • Paper Search

    openags/paper-search-mcp

    Search, download, and read academic papers from 20+ sources (arXiv, PubMed, Semantic Scholar, CrossRef, etc).

    2.8k GitHub stars~1.2k tokensUpdated 9 days ago
    Research & ScienceAuto-check: notes
  • Nature Academic Search

    wp-a/nature-academic-search

    A skill your agent uses when users ask to 找文献、做文献检索、查论文、查临床试验、核验引用、去重文献、设计 PubMed/MeSH 检索式、追踪上下游引文、解析 DOI/PMID/PMCID/arXiv/OpenAlex/Semantic Scholar/NCT ID, 或导出 RIS、BibTeX、NBIB、ENW;also use for…

    304 GitHub stars~1.4k tokensUpdated 9 days ago
    Research & ScienceAuto-check passed
  • Paper Search

    openags/paper-search-mcp

    Search, download, and read academic papers through the paper-search MCP tools (mcppaper-search), covering arXiv, PubMed, bioRxiv, Semantic Scholar, Crossref, OpenAlex and 15+ other sources.

    2.8k GitHub stars~794 tokensUpdated 9 days ago
    Research & ScienceAuto-check: notes
  • Nature Academic Search

    jing1312/nature-figure-skill

    Multi-source literature search, citation verification, MeSH search strategy, citation file management (.nbib/.ris/.bib conversion), and reference management (BibTeX, related articles, ID conversion)…

    171 GitHub stars~1.3k tokensUpdated 1 mo ago
    Research & ScienceAuto-check: notes
  • Paper Search

    dr-dumpling/paper-search-cli

    学术文献检索与论文获取调度器,基于 paper-search CLI,而不是 MCP server. An agent skill from dr-dumpling/paper-search-cli.

    135 GitHub stars~1.1k tokensUpdated 3 mo ago
    Research & ScienceAuto-check passed

More from aipoch/medical-research-skills

All 578 skills in this repo
  • Academic Poster Generator

    aipoch/medical-research-skills

    Complete workflow for generating academic research posters from PDF literature; use when you need to extract paper content from PDFs and produce a LaTeX-based poster…

    1.9k GitHub stars~2.2k tokensUpdated 24 days ago
    Auto-check passed
  • Diagnostic Study Quality Assessment Quadas

    aipoch/medical-research-skills

    Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool.

    1.9k GitHub stars~1.4k tokensUpdated 24 days ago
    Auto-check passed
  • Exploratory Data Analysis

    aipoch/medical-research-skills

    Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.

    1.9k GitHub stars~3.7k tokensUpdated 24 days ago
    Auto-check passed
  • Iso Certification

    aipoch/medical-research-skills

    A toolkit for preparing ISO 13485:2016 certification documentation for medical device QMS.

    1.9k GitHub stars~1.8k tokensUpdated 24 days ago
    Auto-check passed
  • Journal Skills

    aipoch/medical-research-skills

    Recommends target journals for manuscript submission by analyzing the paper topic/abstract and the journal distribution of similar PubMed literature; use when users ask for journal…

    1.9k GitHub stars~1.7k tokensUpdated 24 days ago
    Auto-check passed
  • Latex Posters

    aipoch/medical-research-skills

    Creates academic-poster writing packages for LaTeX using beamerposter, tikzposter, or baposter.

    1.9k GitHub stars~1.3k tokensUpdated 24 days ago
    Auto-check passed

Questions about Research Paper Downloader

What does Research Paper Downloader do?

Download academic papers from open-access sources when the user provides a DOI/arXiv ID or requests a keyword-based paper search, and return the saved PDF path. Research Paper Downloader is an agent skill from aipoch/medical-research-skills. Download academic papers from open-access sources when the user provides a DOI/arXiv ID or requests a keyword-based paper search, and return the saved PDF path.

When should I use Research Paper Downloader?

Research Paper Downloader fits situations like: provides a DOI/arXiv ID; requests a keyword-based paper search; return the saved PDF path.

How do I install Research Paper Downloader in Claude Code?

Run `npx skills add aipoch/medical-research-skills --skill research-paper-downloader -a claude-code`. Or copy the skill folder (scientific-skills/Evidence Insight/research-paper-downloader in aipoch/medical-research-skills) into .claude/skills/research-paper-downloader in your project. Claude Code loads it when a task matches its description.

How do I install Research Paper Downloader in Codex?

Run `npx skills add aipoch/medical-research-skills --skill research-paper-downloader -a codex`. Or copy the skill folder (scientific-skills/Evidence Insight/research-paper-downloader in aipoch/medical-research-skills) into .agents/skills/research-paper-downloader in your project. Codex loads it when a task matches its description.

Can I use Research Paper Downloader in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aipoch/medical-research-skills --skill research-paper-downloader -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/research-paper-downloader, .gemini/skills/research-paper-downloader, .github/skills/research-paper-downloader and .opencode/skills/research-paper-downloader in your project.

What does Research Paper Downloader need to run?

Going by SKILL.md and its folder, Research Paper Downloader needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Research Paper Downloader access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Research Paper Downloader safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Research Paper Downloader use?

Research Paper Downloader is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Research Paper Downloader use?

About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 291 tokens, read only when the agent opens those files.

What are the alternatives to Research Paper Downloader?

Skills that share tags, products or a category with Research Paper Downloader: Literature Review (neflibata-feng/MyArxiv-Agent, 126 stars), Paper Search (openags/paper-search-mcp, 2.8k stars), Nature Academic Search (wp-a/nature-academic-search, 304 stars) and Paper Search (openags/paper-search-mcp, 2.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Research Paper Downloader?

aipoch (a GitHub organization) maintains it in aipoch/medical-research-skills, which has 1,937 GitHub stars. The repository holds 578 skills in this directory. The repository was last updated on September 17, 2026.

Source: aipoch/medical-research-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.