本文へスキップ
Skillpedia
リサーチ18k · #10556

openalex

できること

このスキルは、OpenAlexの学術データベースで論文とそのメタデータを検索します。引用データ、所属、資金の詳細が必要な研究者向けです。

使う場面

  • ✓一群の論文について、オープンな引用データが必要なとき。
  • ✓どの機関や資金提供者がある研究の流れを支えているかを知りたいとき。
  • ✓論文のトピック、キーワード、オープンアクセスの状態などのメタデータがほしいとき。

スキルのリンク

https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/openalex/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/openalex/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

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: citations or — sort: date.
  • OPENALEX_FETCHER — canonical name openalex_fetch.py, resolved per shared-references/integration-contract.md §2 (Policy D1 — standalone /openalex has 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

  1. Python 3.7+ with requests library:

    pip install requests
    
  2. Optional: 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'
    claude
    

    The helper reads OPENALEX_API_KEY and OPENALEX_EMAIL from its process environment. A separate tool-shell export does 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 .env loading.

  3. 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キーは必要ありません。

結果はいくつ返りますか?

既定では10件で、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.

repo: wanshuiyin/Auto-claude-code-research-in-sleep

人気

GitHubのスター
18k
ランキング
#10556
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル