paper-lookup

paper-lookup is a skill for Codex from PracticalSwan/agent-skills. It costs 199 tokens per session (7,218 once invoked), scanned C, original, MIT.

A literature-search tool that queries scholarly databases and APIs for papers, preprints, citations, open-access copies, and repository records. It includes sources such as PubMed, bioRxiv (a repository for biology preprints), medRxiv, and arXiv.

In plain words
What is it for?
Use it to find papers and preprints, check citation and open-access information, retrieve repository records, and document how a search was performed.
Why use it?
It makes research searches repeatable by recording sources, query details, identifiers, and access dates. It also warns when a database response is incomplete or misleading instead of treating an empty result as proof that nothing exists.

Skill for Codex

Written for Codex: reads $CODEX_HOME. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it to find papers and preprints, check citation and open-access information, retrieve repository records, and document how a search was performed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/practicalswan/agent-skills/paper-lookup
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 PracticalSwan/agent-skills --skill paper-lookup
Clone the repo
git clone --depth 1 https://github.com/PracticalSwan/agent-skills

Made for: Codex.

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 paper-lookup

README.md
[![agentmods](https://agentmods.dev/badge/skills/practicalswan/agent-skills/paper-lookup/github.svg)](https://agentmods.dev/skills/practicalswan/agent-skills/paper-lookup)
Your own site
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/paper-lookup"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/paper-lookup/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 paper-lookup

Your own site · 80×15
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/paper-lookup"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/paper-lookup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 199 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,218 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00199 $0.07218
Opus 5.5 $0.00080 $0.02887
Sonnet 5.5 $0.00040 $0.01444
Haiku 4.5 $0.00020 $0.00722

Measured 1mo ago against content hash 59507f09f984, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

paper-lookup scanned grade C with 2 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 1mo ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/_common.py, scripts/arxiv_atom.py, scripts/jats_to_text.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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -s "https://export.arxiv.org/api/query?id_list=1706.03762" | python3 scripts/arxiv_atom.py -

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

compatibility: "Needs network access and curl. The bundled scripts require Python 3.11+ and use only the standard library. No credentials are required; NCBI_API_KEY, S2_API_KEY, CORE_API_KEY, and OPENALEX_API_KEY raise r
paper-lookup/SKILL.md · 368 lines

How it starts

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

Paper Lookup

This skill gives you 18 scholarly APIs with documented endpoints. Your job is to turn the user's intent into a reproducible retrieval: pick the authoritative database(s), make bounded and rate-limited calls, and return an answer with enough provenance (endpoints, parameters, identifiers, access date) that a human or another agent can repeat it.

A literature lookup is only as trustworthy as it is repeatable. Prefer explicit identifiers and documented endpoints over broad guessing, report what you queried, and say plainly when a result is partial or a database came back empty — a silent gap reads as "nothing exists" when it may just mean "not indexed here."

Endpoint contracts were reviewed against official documentation on 2026-09-30. Response examples are illustrative shapes or explicitly dated historical captures; counts, prices, availability, and status values are not current lookup results. Selected public smoke calls and offline parser tests do not establish authenticated full-text access.

These APIs can fail with HTTP 200. That is the recurring hazard, and the reason for most of the rules below. PMC eFetch returns a well-formed article with no <body> when the publisher forbids redistribution. arXiv returns totalResults: 1 and one entry titled Error for a malformed parameter, and silently rewrites an unknown field prefix to all:. Europe PMC puts errCode in a 200 body. bioRxiv treats cursors as absolute offsets, so an incorrect step skips records. Figshare GET /articles?search_for= ignores the query and still 200s. OpenCitations answers an unknown DOI with [{"count": "0"}]. None of these raise, and every one of them produces a confident, wrong answer. Verify the shape of what you got, not just the status code.

Core Workflow

  1. Define the retrieval contract — What is the user after? A specific paper by DOI/PMID/arXiv ID? Papers on a topic? An author's publications? A citation graph? An open-access PDF? Full text? Note any constraints that change the answer: date range, field of study, open-access-only, exhaustive list vs. a few top hits. If a constraint that affects correctness is missing (e.g., "recent" with no year, or an author name with many namesakes), ask rather than guess.

Read the full file on GitHub · 368 lines

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. 1mo ago First seen · 368 lines · 199 tokens per session scan C 59507f09f984

Subscribe to this mod's changes

paper-lookup is a skill published in the GitHub repository PracticalSwan/agent-skills (25 stars, last pushed 18d ago), licensed MIT. It adds 199 tokens to every session and 7,218 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-20.

Related

paper-lookup compared with skills from other repositories

paper-lookup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
paper-lookupPracticalSwan/agent-skillsSkill2518d agoMITC199Codex
scientific-writingBoom5426/Nature-Paper-SkillsSkill71312d agoMITA43Claude Code, Codex
paper2poster-posterPaper2Poster/Paper2PosterSkill4.1k22d agoMITA80Codex
manuscript-optimizerBoom5426/Nature-Paper-SkillsSkill71312d agoMITA85Claude Code, Codex
write-scientific-manuscriptBoom5426/Nature-Paper-SkillsSkill71312d agoMITA152Claude Code, Codex
paper-reviewerBoom5426/Nature-Paper-SkillsSkill71312d agoMITA190Claude Code, Codex
figure-plannerBoom5426/Nature-Paper-SkillsSkill71312d agoMITA45Claude Code, Codex