# /paper-lookup: Find papers and full text without trusting silent API errors

Source: https://trendhub.net/skills/k-dense-ai-scientific-agent-skills/paper-lookup
Skill folder: https://github.com/K-Dense-AI/scientific-agent-skills/tree/main/skills/paper-lookup
Pack: Scientific Agent Skills (https://trendhub.net/skills/k-dense-ai-scientific-agent-skills)
Works with: Claude Code, Codex, Gemini CLI, Antigravity, Cursor (npx), GitHub CLI (gh skill), Cursor (Agent Plugins), Codex (Agent Plugins), OpenClaw, NemoClaw, Pi, Hermes and other hosts

Paper-lookup routes literature questions to 18 scholarly APIs, including PubMed, Europe PMC, arXiv, OpenAlex, Crossref, Semantic Scholar and Unpaywall. Its main concern is that many of these services report failure inside an HTTP 200 response, so it ships small parsers that detect those cases and tells the agent to report gaps plainly instead of presenting metadata as if it were full text.

## When to use it

- You have a DOI or PMID and want metadata, citations and a legal open-access PDF.
- You need every bioRxiv preprint on a topic, which requires going through Europe PMC.
- You want to know whether a paper has been retracted or who cites it.

## How it works

1. **Set the contract**: The agent pins down the identifier, topic, date range and whether you want a few hits or an exhaustive list, asking when a missing detail would change the answer.
2. **Route to databases**: It uses a use-case table to pick the primary source and adds others only for identifier conversion or open-access checks.
3. **Use bundled scripts**: It prefers the included paginator, JATS, arXiv Atom and OpenAlex abstract parsers over hand-written parsing.
4. **Bound the calls**: It uses curl with encoded parameters, serializes rate-limited hosts and asks before exceeding about 1,000 records or 50 calls.
5. **Return the answer with provenance**: It leads with results, then lists endpoints, parameters, ID conversions, count reconciliation and warnings.

## What it steers the agent away from

- Treating a 200 response as proof that a query succeeded
- Summarizing a title and author list as if it were the full text
- Searching bioRxiv by keyword, which its API does not support

## What it can touch

Calls public scholarly APIs with curl, runs bundled standard-library Python parsers, reads only four named keys from a .env file if present, and may save large full-text payloads locally.

## Pairs well with

- `/database-lookup`
- `/literature-review`
- `/scientific-writing`

## Questions

### Do I need any API keys?

No, but NCBI, Semantic Scholar and OpenAlex keys raise rate limits, and CORE needs a key for full text.

### Can it tell me a paper was never retracted?

It reports that no notice was found in the sources checked, and the skill notes that an empty response does not prove a paper was never retracted.
