paper-lookup

paper-lookup is a skill for Claude Code, Codex from xintaofei/codeg. It costs 146 tokens per session (3,639 once invoked), scanned A, original, Apache-2.0.

A research tool for finding academic papers, preprints, citations, and open-access full text across ten literature databases. A preprint is a research paper shared before formal peer review; bioRxiv and medRxiv are preprint servers for biology and medical research.

In plain words
What is it for?
It is for looking up papers by DOI, PMID, or arXiv ID, searching topics or authors, tracing citations, finding full text, and recording where and when results came from.
Why use it?
It makes literature searches more repeatable by using documented databases, search parameters, and identifiers instead of relying on vague results.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/xintaofei/codeg/paper-lookup
Any agent
npx skills add xintaofei/codeg --skill paper-lookup
Clone the repo
git clone --depth 1 https://github.com/xintaofei/codeg

Made for: Claude Code, 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/xintaofei/codeg/paper-lookup.svg)](https://agentmods.dev/skills/xintaofei/codeg/paper-lookup)
Your own site
<a href="https://agentmods.dev/skills/xintaofei/codeg/paper-lookup"><img src="https://agentmods.dev/badge/skills/xintaofei/codeg/paper-lookup.svg" alt="Measured on agentmods" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,639 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00146 $0.03639
Opus 5 $0.00073 $0.01819
Sonnet 5 $0.00029 $0.00728
Haiku 4.5 $0.00015 $0.00364

Measured 4d ago against content hash 03b623807cd7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

paper-lookup scanned grade A with 1 finding 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 4d ago.

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.

Makes network callslowCapability

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

| Claude Code | `WebFetch` | `curl` via Bash |
src-tauri/science/skills/paper-lookup/SKILL.md · 215 lines

How it starts

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

Paper Lookup

This skill gives you 10 academic literature 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."

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.

  2. Select database(s) — Use the selection guide below. Route to the primary database for the intent, then add others only when they earn their place: identifier resolution, open-access lookup, or a known coverage gap. Don't fan out across all ten just because they're available.

  3. Read the reference file — Each database has a file in references/ with endpoints, parameters, example calls, and response shapes. Read the relevant file(s) before calling — the parameter and identifier details matter and are easy to get wrong from memory.

  4. Make bounded API calls — See Making API Calls. For a targeted lookup, the first page is usually enough. For an exhaustive search ("all papers by X", "every citation of Y"), count first when the API exposes a total, paginate deterministically, and reconcile what you retrieved against that total. Ask before a retrieval would exceed ~1,000 records or ~50 calls.

Read the full file on GitHub · 215 lines

Files

What ships with it

10 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. 4d ago First seen · 215 lines · 146 tokens per session scan A 03b623807cd7

Subscribe to this mod's changes

paper-lookup is a skill published in the GitHub repository xintaofei/codeg (3,091 stars, last pushed 2d ago), licensed Apache-2.0. It adds 146 tokens to every session and 3,639 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

knowledge-base

Create and maintain a Markdown knowledge base that any AI agent can read, search, and update. Use when the user wants to start a knowledge base, add or update notes, organize docs/notes for an agent or LLM to consume, build an index of notes, or run a cleanup/maintenance pass on an existing MD knowledge base. Triggers…

wonderwhy-er/DesktopCommanderMCP · 112 tokens

obsidian-vault

Organize Obsidian vaults with MOCs, wikilinks, frontmatter/properties, dashboards, orphan-note checks, and cleanup workflows. Use ONLY when the user explicitly refers to Obsidian — by naming "Obsidian", an Obsidian "vault", or an Obsidian-specific feature such as wikilinks ("[[ ]]"), the Dataview or Bases plugins, or…

wonderwhy-er/DesktopCommanderMCP · 171 tokens

copilot-pr-review-loop

Drive a GitHub pull request through repeated rounds of Copilot code review until convergence. Use when the user asks to "request Copilot review", "run a Copilot review loop", iterate on Copilot feedback, or wants automated triage-and-respond on Copilot PR comments. Covers re-request mechanics, open-thread filtering…

microsoft/intelligent-terminal · 91 tokens

upstream-sync

Periodically sync new commits from microsoft/terminal into this manually-forked intelligent-terminal repo by cherry-picking commit-by-commit onto a dated sync branch, auto-skipping revert pairs and empty commits, auto-resolving known take-upstream files, and stopping cleanly on genuine conflicts. The agent (you…

microsoft/intelligent-terminal · 139 tokens

desktop-commander-overview

Use for Desktop Commander MCP capabilities — persistent shells and REPLs, long-running processes, filesystem beyond the workspace, structured files (.xlsx, .docx, .pdf, images) and large local data files such as CSVs, ripgrep search at scale, SSH, or cross-turn state.

wonderwhy-er/DesktopCommanderMCP · 67 tokens

release-notes

Generate user-facing release notes for Intelligent Terminal. Use when asked to write release notes, changelog, what-is-new summary, or prepare a release. Compares git commits between releases, looks up PR-linked issues and community contributors, then outputs formatted notes with "Verbed + Impact + Scenario" style…

microsoft/intelligent-terminal · 73 tokens