Claude Code Tools

paper-search-pro

github

Academic literature discovery as a Skill — Claude Code · Codex · any agent that loads SKILL.md. Five sources · four tiers · single-file Shadcn report.

Stars
⭐ 68
License
Apache-2.0
Last Updated
2026-06-23
Source
github

English · 中文


paper-search-pro

Academic literature discovery as a Skill.
Built natively for Claude Code; runs in Codex and any agent that loads the SKILL.md format.
Five sources · four tiers · single-file Shadcn report.


Apache 2.0 Agent Skill Python 3.10+ v2.1.2


Findings — Swiss hero

→ Live demo (opens the actual report in your browser)


What it does

You ask your agent for papers; this Skill runs a real multi-source literature search across OpenAlex · Semantic Scholar · CrossRef · PubMed · arXiv, classifies relevance via parallel LLM SubAgents, and writes a self-contained HTML report you can open in any browser. No external LLM keys — your agent is the LLM.

In your agent's chat, after install:

  Find papers on working memory training in older adults

CJK in the query routes to Chinese UI; otherwise English. Both report flavors use the same data pipeline.


Use cases

ScenarioTierWhat you get
Scope a topic before writing the proposalQuick / Standard20–60 top-RCS papers + 300-word executive summary in 8 min
Background section for course paper / thesis chapterStandard60–180 papers screened, BibTeX ready for Zotero / Mendeley
Writing a review article — need real domain coverageDeep180–400 papers + 1-hop citation chasing + topic clustering
SR-prep: PRISMA log + reproducibility auditAudit400–1000+ papers, PRISMA-S 16-item disclosure, MeSH-precise
Onboarding a research assistant in a new fieldQuickHand them the report.html — three tabs, hover for context

Install

Clone into your agent’s Skills directory. The target path varies by agent — pick the one matching what you use:

# Pick ONE target directory, depending on your agent:
#   ~/.claude/skills/paper-search-pro          # Claude Code
#   ~/.codex/skills/paper-search-pro           # Codex CLI
#   ~/.agents/skills/paper-search-pro          # cross-agent convention (Goose, Roo, etc.)
#   ~/.config/opencode/skills/paper-search-pro # OpenCode
#   ~/.codeium/windsurf/skills/paper-search-pro # Windsurf
#   ./.claude/skills/paper-search-pro          # project-local (Cursor, etc.)

git clone https://github.com/O0000-code/paper-search-pro.git \
  ~/.claude/skills/paper-search-pro   # change to your chosen path

# Point PSP_HOME at wherever you cloned. SKILL.md STEP 0 also auto-resolves
# the common paths above, so this manual export is only needed for non-standard locations.
export PSP_HOME="$HOME/.claude/skills/paper-search-pro"

python3 -m pip install -r "$PSP_HOME/scripts/requirements.txt"

Five free API keys (~15 min total) — see references/setup.md.


Four tiers

The Skill picks Standard by default. Wording like thorough, systematic review, or 几篇 overrides.

TierWall-clockPapersTrigger signals
Quick5–8 min20–60scan · “5 papers” · before-tomorrow scope
Standard10–17 min60–180default — background reading · course paper
Deep30–45 min180–400review article · thorough coverage · 综述写作
Audit2–3 hr400–1000+systematic review · PRISMA · Cochrane-adjacent

What each report contains

Three tabs · three hero layouts · two list densities · responsive at 860 px · bilingual UI · Noto Sans SC inlined · fully offline.

Methods · Coverage
Methods · Coverage — saturation curve, model fit, current position on the curve.
Methods · Distribution
Methods · Distribution — publications by year, RCS histogram, citation scatter.
Audit · PRISMA-S
Audit · PRISMA-S — 16-item disclosure log: performed · implicit · skipped.
Discovery Report layout
Discovery Report layout — preprint-style hero with abstract paragraph + Roman tabs.

Outputs land in $PWD/paper-search-results/<search_id>/:

report.html         Self-contained Shadcn report (opens directly in browser)
report.md           Markdown variant for pandoc · citation managers
papers.csv          Spreadsheet export
papers.bib          BibTeX for Zotero · Mendeley · LaTeX
papers.ris          RIS for EndNote · Papers
papers.json         Full structured data (UnifiedPaperEntity[])
kg_classified.json  Internal KG with per-paper RCS scores
execution_log.json  PRISMA-S 16-item disclosure log
summary.md          300-word executive summary in the main agent's voice

Configuration

Five keys, all free, ~15 min total. Real config lives at ~/.paper-search-pro/config.yaml (mode 0600, auto-created). Template lives at assets/default_config.yaml.

LayerSourceRoleCostApply at
L1OpenAlexprimary — always onfreehttps://openalex.org/settings/api
L2PubMedmedical · MeSH enricherfreehttps://account.ncbi.nlm.nih.gov/settings/
L2arXivpreprint freshness (T-0~T-4)free(no signup — SDK enforces 1 req / 3 s)
L3Semantic ScholarinfluentialCitationCount + abstract fallbackfreehttps://www.semanticscholar.org/product/api
L3CrossReffunder · license · clinical-trial-numberfree(no key — crossref_email only)

Verify readiness any time:

PYTHONPATH=$PSP_HOME python3 -c \
  "from scripts.config import load_config; c = load_config(); \
   print('ready' if c.openalex_api_key and c.ncbi_email else 'missing')"

How it works

A 14-step recipe in SKILL.md drives every run. Python helpers in scripts/ do deterministic API work; relevance classification is delegated to up to five parallel SubAgents per round. No third-party LLM keys required — your agent is the LLM.

        ┌──────────────────────────────────────────────────────────┐
        │  Main agent reads SKILL.md (recipe) and drives the run   │
        └────────┬───────────────────────────────────────┬─────────┘
                 │                                       │
                 ▼                                       ▼
         ┌───────────────┐                       ┌───────────────┐
         │    Python     │ ← deterministic API   │   SubAgents   │
         │    helpers    │   work; no LLM,       │   (parallel,  │
         │               │   no LLM key          │    5 / round) │
         └───────┬───────┘                       └───────┬───────┘
                 │                                       │
                 └───────────────────┬───────────────────┘

                       ┌─────────────────────────────┐
                       │  Single-file HTML report    │
                       │  + MD + BibTeX + RIS        │
                       │  + CSV + PRISMA-S log       │
                       └─────────────────────────────┘

Seventeen per-step reference documents live in references/ — tier decisions, query planning (PICO / SPIDER / PEO), source routing, helper cheatsheets, the RCS rubric, stop conditions, citation chasing, the classifier SubAgent prompt, the PRISMA-S 16-item checklist, summary writer guide, error handling, output conventions.


License

Apache License 2.0 — see LICENSE.txt.