openalex
它能做什么
这个技能在 OpenAlex 学术数据库中搜索论文及其元数据。适合需要引用数据、作者所属机构或资助信息的研究人员。
适用场景
- ✓当你需要一组论文的开放引用数据的时候。
- ✓当你想知道哪些机构或资助方支持某一研究方向的时候。
- ✓当你需要论文的主题、关键词或开放获取状态等元数据的时候。
技能链接
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/openalex/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我想在 OpenAlex 上搜索关于联邦学习的论文,按被引次数排序,并列出资助方。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体将你的查询发送到 OpenAlex API,并返回匹配的作品及其元数据。你可以设置结果数量和排序方式。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
OpenAlex Academic Search
Search query: $ARGUMENTS
Role & Positioning
This skill uses OpenAlex as a comprehensive open academic graph source:
| Skill | Source | Best for |
|---|---|---|
/arxiv |
arXiv API | Latest preprints, cutting-edge unrefereed work |
/semantic-scholar |
Semantic Scholar API | Published venue papers (IEEE, ACM, Springer) with citation counts |
/openalex |
OpenAlex API | Open citation graph, institutional affiliations, funding data, comprehensive metadata |
/deepxiv |
DeepXiv CLI | Layered reading: search, brief, section map, section reads |
/exa-search |
Exa API | Broad web search: blogs, docs, news, companies, research papers |
/gemini-search |
Gemini MCP / CLI | AI-powered broad literature discovery |
Use OpenAlex when you want:
- Open citation data — fully open citation graph (no API key required for basic use)
- Institutional affiliations — author institutions and collaborations
- Funding information — NSF, NIH, and other funding sources
- Comprehensive metadata — topics, keywords, abstract, open access status
- Cross-database coverage — indexes 250M+ works from multiple sources
Constants
- MAX_RESULTS = 10 — Default number of results. Override with
— max: 20. - DEFAULT_SORT = relevance — Sort by relevance. Override with
— sort: citationsor— sort: date. - OPENALEX_FETCHER — canonical name
openalex_fetch.py, resolved pershared-references/integration-contract.md§2 (Policy D1 — standalone/openalexhas no documented inline fallback, so unresolved helper terminates with an explicit error).
Overrides (append to arguments):
/openalex "topic" — max: 20— return up to 20 results/openalex "topic" — year: 2023-— papers from 2023 onward/openalex "topic" — year: 2020-2023— papers from 2020 to 2023/openalex "topic" — type: article— only journal articles/openalex "topic" — type: preprint— only preprints/openalex "topic" — open-access— only open access papers/openalex "topic" — min-citations: 50— minimum 50 citations/openalex "topic" — sort: citations— sort by citation count (descending)/openalex "topic" — sort: date— sort by publication date (newest first)
Setup
Prerequisites
Python 3.7+ with
requestslibrary:pip install requestsOptional: API key and email — Set the variables you use in the same shell before starting Claude Code so helper commands inherit them:
export OPENALEX_API_KEY='your-key-here' export OPENALEX_EMAIL='your-email@example.com' claudeThe helper reads
OPENALEX_API_KEYandOPENALEX_EMAILfrom its process environment. A separate tool-shellexportdoes not update an already running host. If you keep credentials in an environment file, load it explicitly before starting the host rather than relying on automatic.envloading.Get API keys (optional but recommended):
- OpenAlex API key: Free tier $1/day (10,000 list calls, 1,000 search calls) from openalex.org
- Email for polite pool: Faster response times (no registration needed)
Verify Setup
python3 "$OPENALEX_FETCHER" search "machine learning" --max 3
(Resolve $OPENALEX_FETCHER via the canonical chain first — see Step 2 below.)
Workflow
Step 1: Parse Arguments
Parse $ARGUMENTS for:
- query: The research topic (required)
- max: Override MAX_RESULTS
- year: Publication year filter (e.g.,
2023-,2020-2023) - type: Work type filter (
article,preprint,book,book-chapter,dataset,dissertation) - open-access: Only include open access papers
- min-citations: Minimum citation count threshold
- sort: Sort order (
relevance,citations,date)
Step 2: Locate Script
Resolve $OPENALEX_FETCHER via the canonical strict-safe chain (see
shared-references/integration-contract.md §2).
Policy D1: there is no native inline fallback for OpenAlex
(retrieval requires the requests SDK + optional API key — the
fetcher script encapsulates pagination, throttling, and per-source
parameters), so unresolved helper terminates with explicit remediation.
cd "$(git rev-parse --show-toplevel 2>/dev/null || pwd)" || exit 1
if [ -z "${ARIS_REPO:-}" ] && [ -f .
常见问题
它需要 API 密钥吗?
技能说明基本使用不需要 API 密钥。
它返回多少条结果?
默认为十条,你可以通过 max 选项设置其他数量。
我如何对结果排序?
默认按相关性排序,你也可以改为按被引次数或日期排序。
详情
作者的原始描述
Search academic papers via OpenAlex API for open citation data, institutional affiliations, and funding information. Use when user says "openalex search", "search openalex", "open citation graph", or wants comprehensive academic metadata beyond arXiv/Semantic Scholar.
热度
- GitHub 星标
- 18k
- 排名
- #10556
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
ablation-planner
18k帮你的智能体为论文规划消融实验,在主要结果看起来不错之后,选出审稿人很可能会要求的测试。
alphaxiv
18k让你的智能体借助 AlphaXiv 摘要快速阅读一篇研究论文,并以完整文本或 LaTeX 源文件作为备用,只需提供 arXiv 链接或编号。
analyze-results
18k帮你的智能体分析机器学习实验结果,将各次运行与基线进行比较,并把数字整理成清晰的发现和后续步骤。
arxiv
18k让你的智能体在 arXiv 上搜索学术论文、阅读论文详情,并把 PDF 保存到你的文库中,用于某个研究主题。