Openalex search

From beita6969/ScienceClaw · View interactive version

Openalex search is an AI agent skill from the GitHub repository beita6969/ScienceClaw. Open academic metadata via OpenAlex API. Use when: user needs author profiles, institution data, concept mapping, or open citation data. NOT for: full-text search or downloading papers.

How to use this skill

Skill file

OpenAlex Search Skill

Query the OpenAlex open academic metadata API for works, authors, institutions, and concepts.

When to Use

When NOT to Use

Setup

No API key required. Add mailto parameter for polite pool (10x faster rate limit).

API Base

https://api.openalex.org

Common Commands

Search Works

curl -s "https://api.openalex.org/works?search=CRISPR+gene+editing&per_page=5&mailto=user@example.com"

# Filter by year + open access
curl -s "https://api.openalex.org/works?filter=publication_year:2024,open_access.is_oa:true&search=quantum+computing&per_page=10"

# Get specific work by DOI
curl -s "https://api.openalex.org/works/doi:10.1038/s41586-024-07000-0"

Search Authors

curl -s "https://api.openalex.org/authors?search=Yoshua+Bengio&per_page=5"

# Get author profile by ID
curl -s "https://api.openalex.org/authors/A5023888391"

Search Institutions

curl -s "https://api.openalex.org/institutions?search=MIT&per_page=5"

# Filter by country, sort by output
curl -s "https://api.openalex.org/institutions?filter=country_code:CN&sort=works_count:desc&per_page=10"

Concepts

curl -s "https://api.openalex.org/concepts?search=machine+learning&per_page=5"

Filtering and Sorting

# Multiple filters
curl -s "https://api.openalex.org/works?filter=publication_year:2023-2024,cited_by_count:>100&sort=cited_by_count:desc&per_page=10"

# Group by field
curl -s "https://api.openalex.org/works?filter=authorships.author.id:A5023888391&group_by=publication_year"

Pagination

# Page-based (up to 10,000 results)
curl -s "https://api.openalex.org/works?search=climate&page=2&per_page=25"

# Cursor-based (unlimited)
curl -s "https://api.openalex.org/works?search=climate&per_page=100&cursor=*"

Notes

Zero-Hallucination Rule

NEVER fabricate results from training data. Every paper title, author, DOI, PMID, citation count, and metadata detail presented to the user MUST come from an actual API response in this conversation. If the API returns no results or partial data, report exactly what was returned. Do not "fill in" missing details from memory.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.