literature-search-openalex

Query the OpenAlex scholarly database for papers, authors, institutions, and bibliometric data.

1|Updated Mar 7, 2025
One-click install
npx skills add https://github.com/carmonalab/ECODA_paper --skill literature-search-openalex-carmonalab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: literature-search-openalex
Source: https://github.com/carmonalab/ECODA_paper/tree/main/.agents/skills/literature_search_openalex
Command: npx skills add https://github.com/carmonalab/ECODA_paper --skill literature-search-openalex-carmonalab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires polite-http, python-dotenv, and includes scripts (resource) and references (resource) components.

What problem does it solve? Finding and analyzing academic literature at scale requires navigating complex scholarly APIs, resolving ambiguous author or institution names, and handling rate limits. This Skill provides a structured CLI workflow to search, filter, and retrieve scholarly metadata from OpenAlex without writing custom API integration code. ## Core Features & Use Cases - Entity Resolution & Lookup: Resolve names of authors, institutions, topics, and sources to canonical OpenAlex IDs, then fetch full metadata or perform DOI lookups. - Filtered Search & Aggregation: Filter works by publication year, open-access status, citations, and more; group results by field for bibliometric analysis like institutional output by year. - PDF Download & Bibliometrics: Download open-access PDFs with fallback locations and retrieve citation counts, h-index, and impact metrics. - Use Case: A researcher wants the top 10 most-cited papers by a specific author. Resolve the author's name to an ID, filter works by that author ID sorted by citation count, and export the slimmed results to JSON. ## Quick Start Ask the assistant to find the most-cited recent papers on a topic using the OpenAlex literature search skill, for example by requesting the top open-access papers on single-cell RNA-seq from 2023.

Frequently Asked Questions about literature-search-openalex

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search for academic papers using the OpenAlex API?▼

Use the filter command with an entity type like works, adding --search for full-text queries or --filter for structured expressions such as publication_year:2023. Always resolve names to OpenAlex IDs first before filtering by author or institution.

How do I find all publications by a specific author in OpenAlex?▼

First run the resolve command with the author's name to get their OpenAlex ID, then filter works with authorships.author.id set to that ID. Sort by cited_by_count:desc to surface their most influential papers.

Do I need an API key to use OpenAlex?▼

No, OpenAlex works without a key using the free polite pool, but rate limits are very restrictive. Providing an OPENALEX_API_KEY enables roughly 10 requests per second and unlocks PDF downloads from the premium content server.

Can I download open-access PDFs through OpenAlex?▼

Yes, the download-pdf command fetches PDFs for a given work ID, trying the OpenAlex content server first and falling back to pdf_url locations in the work metadata. Downloaded files are validated for the %PDF- header to catch corrupt or paywalled responses.

Why does my OpenAlex query return a 429 error?▼

A 429 means you hit the rate limit, which is common without an API key since unauthenticated usage is tightly capped. Add an OPENALEX_API_KEY to your .env file to raise limits, or wait and retry with backoff.

What are the limitations of filtering OpenAlex by name directly?▼

Filtering by display name is unreliable because names are ambiguous across authors and institutions. The correct approach is to resolve the name to a canonical OpenAlex ID first, then use that ID in the filter expression for accurate results.