Builds a citation and co-citation graph from seed DOIs using OpenCitations and Semantic Scholar, with no API key required. Ranks papers by co-citation strength and exports as GraphML and JSON.
Ships in alterlab-research-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A free alternative to ResearchRabbit and Connected Papers that needs no API key, account or subscription. Given a seed DOI (or several seeds), this skill walks the open citation network (OpenCitations, with the Semantic Scholar Graph API where OpenCitations has no data) outward in both directions and assembles a citation / co-citation graph of the local literature:
It then ranks the discovered neighbourhood by co-citation strength — how many of the seed papers a candidate work connects to, via shared references, shared citers, and direct seed links — surfacing the papers most central to the topic, just like ResearchRabbit's "Similar Work" panels. The whole graph is exported as GraphML (open in Gephi, Cytoscape, yEd, or networkx) and JSON (for downstream code).
No key needed — where the data comes from. Every source is keyless (checked live 2026-11-02):
/index/v2/references/doi:<doi> and /citations/doi:<doi>)
lists the DOIs a work cites and the DOIs citing it — open Crossref, DataCite and PubMed
citation data, arXiv preprints included under their 10.48550/arXiv.<id> DOI. The
citations answer is one unpaginated array, so the script reads it as a stream and stops at
--per-seed./graph/v1/paper/<id>/references, /citations, /paper/batch)
fills the gaps: works OpenCitations has no reference list for (preprints, publishers that
deposit none) and metadata for DOIs Crossref does not register. Its keyless pool is shared
and often answers HTTP 429; the script backs off 2 + 4 + 8 s, then pauses Semantic Scholar
for 30 s and lists on stderr which works it could not check (not checked, never "no
references"). An optional S2_API_KEY gives a dedicated rate limit./works?filter=doi:…, 40 DOIs per call) supplies titles, years and citation
counts for the seeds and ranked works; doi.org content negotiation covers the rest.Checked live on 2026-11-02: the Ryan & Deci seed built a 972-node graph in 17 s, and BERT +
arXiv:1706.03762 a merged 422-node graph in 15 s, keyless. OpenAlex is no longer used: since
2026 its keyless list calls share a small per-IP daily budget, so dependable use needed an
account. Don't suggest mailto= or a key; neither is needed.
This is the graph-building / discovery tool; it needs a seed work to walk from.
| Scenario | Use Instead |
|---|---|
| Free-text research question with no seed paper | alterlab-research-lookup |
| Checking that each bibliography entry exists / spotting hallucinated or retracted refs | alterlab-citation-verifier |
| Searching PubMed for biomedical records (MeSH terms, PMIDs, PubMed's own related-articles list) | alterlab-pubmed |
| Systematic review with PRISMA screening and risk-of-bias | alterlab-literature-review |
| Centrality or community analysis of your own (non-citation) relational data | alterlab-sna |
Hand-off rule. When the request matches a row above, open your answer by naming that skill by its exact id (for example alterlab-research-lookup) and saying in one line why it fits better, then stop applying this skill's procedure. Name it even when you also need to ask for missing input. If only part of the request is out of scope, name the skill for that part and do only the in-scope part. A brief general pointer is fine; the named skill does the work.
# No key, no setup. One seed DOI, default 1-hop walk, both formats next to a basename:
uv run python scripts/build_graph.py \
--seed 10.1038/nphys1170 \
--out graph/seed1
# -> graph/seed1.graphml + graph/seed1.json
# Several seeds (DOI / arXiv id), deeper walk, larger ranking:
uv run python scripts/build_graph.py \
--seed 10.1038/nphys1170 \
--seed 10.18653/v1/N19-1423 \
--seed arXiv:2310.06825 \
--depth 2 --per-seed 50 --top 40 \
--out graph/transformer
# Offline smoke test (no network) — verifies the pipeline end-to-end:
uv run python scripts/build_graph.py --self-test
--seed becomes a node id, its lowercase DOI. Accepted forms: a
bare DOI (10.1038/nphys1170), a DOI URL, doi:<doi>, or an arXiv id (arXiv:1706.03762
/ 1706.03762, which becomes its DataCite DOI 10.48550/arxiv.1706.03762). OpenAlex work
ids (W…) are refused with a message asking for the DOI.seed -> reference edges.--per-seed,
or Semantic Scholar's /citations when OpenCitations has none) add citer -> seed edges,
and each citer's own reference list is read the same way, so co-citation and coupling
can be counted.--depth N, repeat the forward expansion on first-hop citers (N >= 2).shared_refs + shared_citers + direct_seed_links — bibliographic coupling and co-citation against the seed set — with
global cited_by_count as the tie-breaker so canonical works float to the top.filter=doi:…, 40 per call), then Semantic
Scholar's batch endpoint and doi.org for what Crossref lacks, and the table is re-ranked.<out>.graphml and <out>.json.| Flag | Default | Meaning |
|---|---|---|
--seed (repeatable) | — | Seed DOI, DOI URL, or arXiv id. At least one required. |
--citers-source | auto | auto: OpenCitations, then Semantic Scholar for works it has none for. opencitations or semanticscholar: that source only. |
--depth | 1 | Citation hops to expand. |
--per-seed | 25 | Max citing works fetched per work. |
--top | 25 | Size of the co-citation ranking table. |
--out | citation_graph | Output basename; writes <out>.graphml and <out>.json. |
--sleep | 0.0 | Extra seconds to wait after each API call. |
--self-test | — | Run the offline self-test and exit (no network). |
The retired --api-key and --mailto flags are still accepted and ignored, so older commands
run. S2_API_KEY (environment only, sent as a header) is the one optional credential.
GraphML (<out>.graphml) — a directed graph with node attributes title, year,
doi, role (seed / reference / citation / neighbor), and cited_by_count. Open it
directly in Gephi, Cytoscape, yEd, or networkx.read_graphml.
JSON (<out>.json) — schema alterlab-citation-graph/1.0. Node ids are lowercase DOIs
(an arXiv preprint is 10.48550/arxiv.<id>); a work with no DOI is pmid:<n> or
s2:<paperId>. cited_by_count comes from Crossref, or Semantic Scholar for works Crossref
does not register, so counts are comparable only roughly:
{
"schema": "alterlab-citation-graph/1.0",
"seeds": ["10.1038/nphys1170"],
"node_count": 142,
"edge_count": 318,
"nodes": [ { "id": "10.…", "title": "…", "year": 2017, "doi": "10.…", "role": "citation", "cited_by_count": 8123 } ],
"edges": [ { "source": "10.…", "target": "10.…" } ],
"cocitation_ranking": [
{ "id": "10.…", "title": "…", "cocitation": 4, "shared_refs": 2,
"shared_citers": 1, "direct_seed_links": 1, "cited_by_count": 8123 }
]
}
S2_API_KEY only helps when Semantic Scholar keeps answering 429;
if the user wants one, ask them to set it themselves rather than paste it into chat.--depth 2 with a large
--per-seed fans out fast; keep --per-seed reasonable and raise --sleep if a service
slows you down.--per-seed citers
OpenCitations lists (not a ranked sample), so a single-seed ranking can lean on the seed's own
references. A published paper and its arXiv preprint are separate nodes (different DOIs).arXiv:<id> seed is walked under its DataCite DOI
(10.48550/arXiv.<id>), with Semantic Scholar supplying its reference list. If the preprint
has a published version, add that DOI as a second seed to merge both citation sets.| Task | Tool |
|---|---|
| Add the papers you pick from the ranking to Zotero (DOI → item, collections) | alterlab-pyzotero |
| Check link/DOI health in a manuscript | alterlab-link-health |
| Draw or restyle the network figure beyond Gephi defaults | alterlab-networkx |
Part of the AlterLab Academic Skills suite.
What SKILL.md sets; muted values are Claude Code's defaults
/alterlab-research-tools:alterlab-citation-graphfrom alterlab-research-tools
npx claudepluginhub alterlab-ieu/alterlab-academic-skills --plugin alterlab-research-tools14 skills in this plugin
/alterlab-bgpt-searchSearch scientific papers and retrieve structured experimental evidence from their full text — methods, results, sample sizes, effect sizes, risk-of-bias / quality assessment, limitations and conclusions, 25+ fields per paper, each value traced to the section it came from. Keyless by default — finds open-access studies in Europe PMC / PubMed Central, pulls their full text with the bundled script, and Claude extracts the fields; the BGPT MCP server (search_papers, lookup_paper by DOI) is an optional backend for its pre-extracted records (first 50 results free, then BGPT_API_KEY). Use when running a literature review or evidence synthesis, or when needing experimental details (sample sizes, effect sizes, methods, quality scores) that abstracts alone do not provide. Part of the AlterLab Academic Skills suite./alterlab-mixed-methodsMixed methods research design and integration strategies for combining qualitative and quantitative approaches. Use when planning convergent, explanatory sequential, exploratory sequential, embedded, transformative, or multiphase designs; when integrating diverse data sources through merging, connecting, or embedding; when constructing joint displays or meta-inferences; or when evaluating quality criteria specific to mixed methods research. Covers Creswell & Plano Clark frameworks, notation systems, and software tools for integration. For single-strand qualitative coding (thematic analysis, grounded theory, saturation, inter-coder reliability) use alterlab-qualitative-methods; for questionnaire/Likert/instrument-validation mechanics use alterlab-survey-design. Part of the AlterLab Academic Skills suite./alterlab-open-scienceGuidance for open science practices — preregistration (OSF Registries, AsPredicted, PROSPERO, ClinicalTrials.gov), open data and FAIR principles, repository choice (Zenodo, Dryad, Figshare), open access routes (Green/Gold/Diamond), Creative Commons licensing, reproducible computational workflows (Docker, Binder, Code Ocean), registered reports, open peer review, and TOP Guidelines. Use when preregistering a study, writing the FAIR data-sharing and repository section of a grant data management plan (NSF, NIH, ERC, UKRI), choosing a data repository, navigating open access, or building reproducible analyses. For human-subjects ethics, IRB applications, informed consent, or GDPR/HIPAA compliance, defer to alterlab-research-ethics. Part of the AlterLab Academic Skills suite./alterlab-parallel-webSearch the web, run multi-source deep research, and extract what a known URL actually says, saving every result with its sources to sources/. Keyless by default — Claude's WebSearch and WebFetch run the same search / research / extract workflow; Parallel Web Systems (Chat API `base`/`core` research models with inline citations, Extract API v1, plus notes on the Search, Task and Responses APIs) is an optional backend when the user asks for Parallel and sets PARALLEL_API_KEY. Use when running general web searches, current-events/market/technical lookups, broad information gathering, comprehensive research reports, or verifying a specific URL's content. For scholarly paper retrieval or dual-backend academic lookup prefer alterlab-research-lookup instead. Part of the AlterLab Academic Skills suite./alterlab-pdf-extractFree Elicit-columns analog — ingest N PDFs (or any MarkItDown-supported document) and build a per-paper evidence table with user-defined columns, one row per paper and one column per attribute/question you want pulled from every source. Use when extracting structured data across many papers into a comparison table or data-extraction sheet (sample size, methods, main finding, effect, population/intervention/outcome, limitations), screening a corpus into a spreadsheet, or pulling the same fields from a stack of PDFs into CSV/Markdown. Keyless by default — MarkItDown conversion, an offline heuristic draft of every cell, then Claude reads each converted paper to confirm or fill the cells exactly; an LLM API batch backend is optional. Part of the AlterLab Academic Skills suite./alterlab-perplexityRun Perplexity-style grounded searches (answers where every claim cites a current source) for current information and recent literature. Keyless by default: Claude's WebSearch and WebFetch plus keyless scholarly APIs (Europe PMC, Crossref, arXiv) find and open the sources; Perplexity Sonar models (sonar, sonar-pro, sonar-pro-search agentic search, sonar-reasoning-pro) via LiteLLM and OpenRouter are an optional backend when the user asks for Perplexity and sets OPENROUTER_API_KEY. Use when searching for current information or recent scientific literature, getting answers grounded in cited sources, verifying a claim against current evidence, or reaching information beyond the model's training cutoff. This is the direct single-backend search: for automatic routing with results saved to sources/ use alterlab-research-lookup, and for structured per-paper experimental-data extraction (sample sizes, effect sizes, quality scores) use alterlab-bgpt-search. Part of the AlterLab Academic Skills suite.2 plugins in one repository ship this exact skill · first indexed Nov 9, 2026
Other plugins' skills for the same job