paper-search
Search academic papers and fetch details (title, authors, citation count, DOI,
abstract, open-access PDF link) via OpenAlex — 250M+ works, free, no API key.
When to use
- User wants scientific/academic backing or citations for a claim or topic.
- User asks to find research papers on a subject.
- User gives a DOI URL or OpenAlex ID and wants the paper details.
- Building a literature review or exploring a citation graph.
How to use
Two helper scripts ship with the source repo (paths: scripts/search.sh and
scripts/paper.sh in https://github.com/ykdojo/paper-search). Locate the
installed copies first:
find ~/.claude -name "search.sh" -path "*/paper-search/*" 2>/dev/null | sort -V | tail -1
paper.sh lives in the same directory as search.sh.
Search by keyword
<scripts-dir>/search.sh "your search query" [limit] [sort] [page]
limit: results per page (default 10, max 200)
sort: relevance (default), cites, or date
page: page number for pagination (default 1)
Look up one paper by DOI or OpenAlex ID
<scripts-dir>/paper.sh <DOI_URL or OpenAlex_ID>
- Accepts full DOI URLs (
https://doi.org/10.3390/brainsci8020020) or OpenAlex
IDs (W2789811475).
- Returns full details: authors, abstract, concepts, open-access PDF link,
related works.
If the scripts are not installed, the logic is a thin wrapper over the OpenAlex
REST API (https://api.openalex.org/works). Equivalent calls:
- Search:
GET /works?search=<query>&per-page=<limit>&page=<page>&sort=relevance_score:desc
(sort cited_by_count:desc for landmark papers, publication_date:desc for recent).
- Single work:
GET /works/<doi-url-or-openalex-id>.
Include a mailto= query param to use OpenAlex's polite pool. Parse JSON with jq.
Tips & gotchas
- Use
relevance (default) for topical searches; use cites to surface
landmark/highly-cited papers.
- Be specific — "bilingual cognitive advantages executive function" beats
"bilingualism brain".
- Search results may show "Abstract: N/A" — run
paper.sh on that work to get
the full abstract (OpenAlex reconstructs it from an inverted index).
related_works IDs from paper.sh can be fed back into paper.sh to walk the
citation graph.
- Recommended flow when asked for scientific backing: search broadly first, pick
the most relevant/cited papers, then
paper.sh for full details, and cite as
(Author, Year, Journal).
1---2name: paper-search3description: "Use when searching for academic / scientific papers, finding research citations or scholarly references, looking up a paper by DOI or OpenAlex ID, or asking for peer-reviewed backing on a topic (keywords: academic paper, research paper, citation, DOI, OpenAlex, scholar, abstract, journal, peer-reviewed, scientific evidence)."4version: 1.0.05license: MIT6tags: [research, papers, academic, citations, openalex, doi, science, literature, scholar]7source: https://github.com/ykdojo/paper-search8derived_from: awesomeclaude9prerequisites:10 commands: [curl, jq]11metadata:12 source: https://skillmd.com/skills/aashutosh396/paper-search13---1415# paper-search1617Search academic papers and fetch details (title, authors, citation count, DOI,18abstract, open-access PDF link) via OpenAlex — 250M+ works, free, no API key.1920## When to use21- User wants scientific/academic backing or citations for a claim or topic.22- User asks to find research papers on a subject.23- User gives a DOI URL or OpenAlex ID and wants the paper details.24- Building a literature review or exploring a citation graph.2526## How to use2728Two helper scripts ship with the source repo (paths: `scripts/search.sh` and29`scripts/paper.sh` in https://github.com/ykdojo/paper-search). Locate the30installed copies first:3132```33find ~/.claude -name "search.sh" -path "*/paper-search/*" 2>/dev/null | sort -V | tail -134```3536`paper.sh` lives in the same directory as `search.sh`.3738### Search by keyword39```40<scripts-dir>/search.sh "your search query" [limit] [sort] [page]41```42- `limit`: results per page (default 10, max 200)43- `sort`: `relevance` (default), `cites`, or `date`44- `page`: page number for pagination (default 1)4546### Look up one paper by DOI or OpenAlex ID47```48<scripts-dir>/paper.sh <DOI_URL or OpenAlex_ID>49```50- Accepts full DOI URLs (`https://doi.org/10.3390/brainsci8020020`) or OpenAlex51 IDs (`W2789811475`).52- Returns full details: authors, abstract, concepts, open-access PDF link,53 related works.5455If the scripts are not installed, the logic is a thin wrapper over the OpenAlex56REST API (`https://api.openalex.org/works`). Equivalent calls:57- Search: `GET /works?search=<query>&per-page=<limit>&page=<page>&sort=relevance_score:desc`58 (sort `cited_by_count:desc` for landmark papers, `publication_date:desc` for recent).59- Single work: `GET /works/<doi-url-or-openalex-id>`.60Include a `mailto=` query param to use OpenAlex's polite pool. Parse JSON with `jq`.6162## Tips & gotchas63- Use `relevance` (default) for topical searches; use `cites` to surface64 landmark/highly-cited papers.65- Be specific — "bilingual cognitive advantages executive function" beats66 "bilingualism brain".67- Search results may show "Abstract: N/A" — run `paper.sh` on that work to get68 the full abstract (OpenAlex reconstructs it from an inverted index).69- `related_works` IDs from `paper.sh` can be fed back into `paper.sh` to walk the70 citation graph.71- Recommended flow when asked for scientific backing: search broadly first, pick72 the most relevant/cited papers, then `paper.sh` for full details, and cite as73 (Author, Year, Journal).