openalex

Query the OpenAlex API for scholarly works and format results with jq.

5|1|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/ondata/skills --skill openalex-ondata
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openalex
Source: https://github.com/ondata/skills/tree/main/skills/openalex
Command: npx skills add https://github.com/ondata/skills --skill openalex-ondata

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill solves the problem of reliably querying OpenAlex for scholarly works and turning API results into readable, actionable discovery outputs.

Core Features & Use Cases

  • Query building with guardrails: Compose OpenAlex requests for works, authors, and sources using search, structured filters, sorting, pagination, and field selection.
  • Result formatting for human and agent use: Use jq to transform API responses into clean tables or structured JSON objects (not raw blobs).
  • PDF availability and downloading: Resolve the best available PDF URL from OpenAlex metadata and download it locally when available.
  • Use case: You want a reproducible list of open-access works from 2023 onward, including title, year, citations, DOI, and direct PDF links, without hand-tuning every query each time.

Quick Start

Run the openalex skill to search for recent open-access articles on a topic and output titles, years, citation counts, and DOIs.

Frequently Asked Questions about openalex

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

FAQPage Schema
How do I query the OpenAlex API for scholarly works and format the results?

Query the OpenAlex API for scholarly works by building structured requests with search, filters, and sorting, then format the API results into clean tables or structured JSON objects using jq.

How do I find open access papers and download their PDFs from the command line?

Find open access papers by searching OpenAlex metadata, which resolves the best available open access PDF URL for each work and optionally downloads the file locally via the command line.

Can I paginate through large result sets and filter by publication year in OpenAlex?

Paginate through large OpenAlex result sets and apply structured filters like publication year to narrow down scholarly works, exporting clean outputs for reproducible bibliometric discovery.

Do I need curl and jq to use the OpenAlex API for scholarly discovery?

You need curl, jq, bash, and internet access to query the OpenAlex API, format responses, and resolve PDF URLs, while optionally using an OPENALEX_API_KEY for authenticated requests.

What is the best way to get a reproducible list of open-access works with DOIs and citation counts?

Get a reproducible list of open-access works by querying OpenAlex with structured filters and selecting specific fields like title, year, citations, DOI, and direct PDF links for output.