fetch-paper

fetch-paper is a skill for Claude Code from ShaishavMaisuria/research-paper-lifecycle-skills. It costs 117 tokens per session (1,227 once invoked), scanned A, original, Apache-2.0.

A tool that finds a legally available copy of one specific research paper from its DOI or arXiv identifier. A DOI is a persistent identifier for a published work, while arXiv is an open research-paper repository.

In plain words
What is it for?
Use it when you already have a paper's DOI or arXiv ID and need its PDF, HTML text, or open-access location.
Why use it?
It removes the need to search several publisher and open-access sites manually and helps locate a readable copy for temporary use.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the paper-search plugin — 4 skills shipped together

Good fit Use it when you already have a paper's DOI or arXiv ID and need its PDF, HTML text, or open-access location.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shaishavmaisuria/research-paper-lifecycle-skills/fetch-paper
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ShaishavMaisuria/research-paper-lifecycle-skills --skill fetch-paper
Clone the repo
git clone --depth 1 https://github.com/ShaishavMaisuria/research-paper-lifecycle-skills

Made for: Claude Code.

Or install paper-search, the plugin that ships this one along with the rest of its 4 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fetch-paper

README.md
[![agentmods](https://agentmods.dev/badge/skills/shaishavmaisuria/research-paper-lifecycle-skills/fetch-paper/github.svg)](https://agentmods.dev/skills/shaishavmaisuria/research-paper-lifecycle-skills/fetch-paper)
Your own site
<a href="https://agentmods.dev/skills/shaishavmaisuria/research-paper-lifecycle-skills/fetch-paper"><img src="https://agentmods.dev/badge/skills/shaishavmaisuria/research-paper-lifecycle-skills/fetch-paper/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fetch-paper

Your own site · 80×15
<a href="https://agentmods.dev/skills/shaishavmaisuria/research-paper-lifecycle-skills/fetch-paper"><img src="https://agentmods.dev/badge/skills/shaishavmaisuria/research-paper-lifecycle-skills/fetch-paper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,227 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00117 $0.01227
Opus 5 $0.00059 $0.00613
Sonnet 5 $0.00023 $0.00245
Haiku 4.5 $0.00012 $0.00123

Measured 12d ago against content hash 309e723a2534, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

fetch-paper scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/resolve_oa.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/fetch-paper/SKILL.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fetch Paper

Resolves one DOI or arXiv ID to a legal open-access copy (PDF URL, arXiv HTML rendering, landing page) and optionally downloads it for transient reading. This is the fetch layer that find-papers, literature-review, study-exemplars, and draft-related-work build on.

When to use

  • The user has a DOI, doi.org URL, arXiv ID, or arxiv.org URL and wants the paper.
  • Another skill needs full text for a paper it found (lit review, exemplar study).
  • The user asks "is there an open-access version of this paper?"
  • NOT for topic/title/venue search — run find-papers first to get the identifier.

Inputs

  • Exactly one identifier per fetch: a DOI (10.1145/3589132.3625571, https://doi.org/...) or an arXiv ID (2403.12345, arXiv:2403.12345v2, cs/0309136, or any arxiv.org URL). arXiv-issued DOIs (10.48550/arXiv.*) are auto-converted.
  • UNPAYWALL_EMAIL (or CONTACT_EMAIL) env var — a real address; Unpaywall rejects placeholders with HTTP 422. The script prompts if unset.

Process

  1. Resolve the identifier. Run:

    python3 scripts/resolve_oa.py <DOI-or-arXiv-ID> --json
    

    The script handles everything deterministic: identifier normalization, Unpaywall best_oa_location lookup, arXiv PDF/HTML URLs, the post-2026 ACM DL open-access fallback for 10.1145/* DOIs, rate limiting, 429 backoff, and response caching under .cache/fetch-paper/. Never hand-roll these API calls.

  2. Interpret the result (exit codes: 0 = OA found, 3 = no legal OA copy, 2 = bad input/config, 1 = network failure):

    • Prefer html_url (arXiv HTML) when present — easiest to read directly.
    • Otherwise use pdf_url. Read the meaning of oa_status, version, and license in references/oa-sources.md.
    • version: submittedVersion means a preprint — warn the user that the published version may differ before they quote or cite page numbers.
  3. Fetch the full text transiently. Either read the URL directly, or:

Read the full file on GitHub · 103 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 103 lines · 117 tokens per session scan A 309e723a2534

Subscribe to this mod's changes

fetch-paper is a skill published in the GitHub repository ShaishavMaisuria/research-paper-lifecycle-skills (42 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 117 tokens to every session and 1,227 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

acmmm-camera-ready

Use when preparing the ACM MM (ACM Multimedia) camera-ready version of record — de-anonymizing safely, completing the ACM rights form and CCS concepts, meeting ACM sigconf requirements, releasing code/data/media artifacts and any earned reproducibility badge, registering, and planning the oral/poster presentation in…

brycewang-stanford/Awesome-Journal-Skills · 67 tokens

ccs-submission

Use when auditing an ACM CCS submission for HotCRP readiness, dual-cycle abstract registration and full-paper deadlines, the 12-page ACM sigconf body, anonymization, the ethics considerations appendix, artifact-availability posture, dual-submission policy, per-cycle submission caps, desk-reject triggers, and…

brycewang-stanford/Awesome-Journal-Skills · 69 tokens

pdf-cascade

Acquire PDFs for bibliographic references via a strict 8-source cascade (Crossref OA → arXiv → OpenAlex → Unpaywall → HAL → CORE → archive.org → WebSearch queue; optionally Sci-Hub + Anna's Archive, plus Anna's via a windowed browser, in opt-in mode). Each acquired PDF is validated against expected author/title/year…

roomi-fields/paper-trail · 266 tokens

paper-typeset

A document-conversion tool for turning Markdown—the plain-text writing format—into LaTeX, Word, or PDF files. It can format references using GB/T 7714-2015, the Chinese national citation standard.

cabbage2000-lab/paper-tutor-skills · 353 tokens

document-conversion

This skill should be used when users need to convert PDFs (especially with tables or figures), mentions 'convert', 'PDF', 'document processing', has complex academic papers to import, or asks about document conversion options.

linxule/interpretive-orchestration · 47 tokens

interview-ingest

This skill should be used when users have audio interview recordings to transcribe, need to convert PDF documents, mentions 'import data', 'transcribe', 'convert', or is starting data preparation for Stage 1 or Stage 2.

linxule/interpretive-orchestration · 52 tokens