Routes research queries to the best backend (Crossref, Europe PMC, arXiv, Semantic Scholar for papers; WebSearch/WebFetch for general questions) and saves results with citations to sources/. Works keyless by default.
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.
This skill provides real-time research information lookup with intelligent backend routing, and it works with no API key:
scripts/research_lookup.py queries Crossref, Europe PMC, arXiv and Semantic Scholar, merges the same work across indexes (DOI, then arXiv id / PMID / PMCID, then full title + year + first author), and returns index records — title, authors, year, venue, DOI, each index's citation count, an abstract snippet — in the indexes' relevance order (--rank cited orders by one declared index's citation count instead). You read the records, open the papers you cite, and write the synthesis.sources/ (procedure below).core model, optional, PARALLEL_API_KEY): synthesized multi-source web research reports with inline citations (https://api.parallel.ai/v1beta/chat/completions).OPENROUTER_API_KEY): synthesized academic answers with citations.The skill detects the query type and routes it; keys only add the two paid backends.
Use this skill when you need:
| Scenario | Use Instead |
|---|---|
| You specifically want Perplexity (choosing a Sonar model yourself), no routing | alterlab-perplexity |
| Extracting or verifying the content of a known URL, or calling Parallel's Search/Task APIs directly | alterlab-parallel-web |
| Structured per-paper experimental data (sample sizes, effect sizes, quality scores) | alterlab-bgpt-search |
| Mapping the citation network around a seed paper | alterlab-citation-graph |
| A systematic review with PRISMA screening and risk-of-bias assessment | alterlab-literature-review |
Hand-off rule. When the request matches a row above, open your answer by naming that skill by its exact id (for example alterlab-perplexity) 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.
The skill automatically routes queries to the best backend based on content:
Query arrives
|
+-- --terms / --since / --until / --cite-index / --rank cited given?
| --> scholarly backend (only it applies them)
|
+-- Contains academic keywords? (papers, DOI, journal, peer-reviewed, etc.)
| OPENROUTER_API_KEY set --> Perplexity sonar-pro-search (academic mode)
| otherwise --> scholarly backend (keyless index records)
|
+-- Everything else (general research, market data, technical info, statistics)
PARALLEL_API_KEY set --> Parallel Chat API (core model)
OPENROUTER_API_KEY set --> Perplexity
no key --> keyless web lookup with WebSearch/WebFetch (you);
the script, if run, returns papers only and says so
With no key at all — the usual case — paper searches run the script and everything else is a WebSearch/WebFetch lookup that you do yourself. The script prints the route it took on stderr.
Queries containing these terms take the paper-search route (Perplexity with its key, the scholarly backend without):
find papers, find articles, research papers on, published studiescite, citation, doi, pubmed, pmidpeer-reviewed, journal article, scholarly, arxiv, preprintsystematic review, meta-analysis, literature searchfoundational papers, seminal papers, landmark papers, highly citedGeneral research questions, market and industry analysis, technical documentation, current events, comparative analysis and statistics go to Parallel when its key is set, and otherwise to the keyless web lookup.
You can force a specific backend:
# Keyless scholarly backend, whatever the query or keys
python scripts/research_lookup.py "your query" --force-backend scholarly
# Paid backends: only when the user asks for them (or their key is set and you want them)
python scripts/research_lookup.py "your query" --force-backend parallel
python scripts/research_lookup.py "your query" --force-backend perplexity
A forced paid backend whose key is missing exits 1 with a message naming the variable and the keyless alternatives; it never answers from another backend and writes nothing to -o. Tell the user which key is missing, then offer (or, if they only wanted results, run) the keyless route and label it as such.
For statistics, market data, news, policy and documentation, do the lookup with Claude's own tools, keeping the same standards the paid backends promise:
CDC National Diabetes Statistics Report prevalence). Prefer primary publishers: agencies, statistical offices, registries, the journal itself.sources/research_YYYYMMDD_HHMMSS_<topic>.md file with Write: the question, the searches run, the retrieval date, the answer, and a numbered source list (title, publisher, date, URL, the exact sentence or table cell each figure came from).For academic claims inside a general question, run the scholarly backend as well and cite the papers by DOI.
Query Examples:
- "Find papers on transformer attention mechanisms in NeurIPS 2024"
- "Foundational papers on quantum error correction"
- "Systematic review of immunotherapy in non-small cell lung cancer"
- "Cite the original BERT paper and its most influential follow-ups"
- "Published studies on CRISPR off-target effects in clinical trials"
Keyless procedure:
python scripts/research_lookup.py "<request>" -o sources/papers_YYYYMMDD_HHMMSS_<topic>.md. It drops English routing words ("find peer-reviewed papers on … with DOIs") before searching and keeps words in every script as written (Turkish, Greek, CJK, … — never transliterated or translated). Pass --terms '"exact phrase" OR "synonym"' when you know the field's vocabulary (quotes, AND/OR/NOT in capitals, -word, parentheses), --since YYYY / --until YYYY (or YYYY-MM-DD) for a date window, --rank cited to order by citation count (the default order is relevance), --limit N for more records. Words such as "recent" or a year inside the topic never become a date filter — use --since.--terms with its title, or https://api.crossref.org/works/<DOI>) rather than citing from memory.With OPENROUTER_API_KEY: the same query goes to Perplexity sonar-pro-search, which returns a synthesized answer with sources; still open what you cite.
Query Examples:
- "Recent advances in CRISPR gene editing 2025"
- "Compare mRNA vaccines vs traditional vaccines for cancer treatment"
- "AI adoption in healthcare industry statistics"
- "Global renewable energy market trends and projections"
Without a key, follow Keyless Web Lookup above. With PARALLEL_API_KEY, the script's Parallel route returns a multi-source markdown report with inline citations, sections, and source URLs.
Query Examples:
- "Western blot protocol for protein detection"
- "Statistical power analysis for clinical trials"
- "Machine learning model evaluation metrics comparison"
Query Examples:
- "Prevalence of diabetes in US population 2025"
- "Global AI market size and growth projections"
- "COVID-19 vaccination rates by country"
When searching for papers, favor high-quality, influential work, but treat citation counts and venue as rough proxies rather than measures of quality: they lag for recent papers, vary widely by field, and under-represent null results, regional journals, and non-English work. Judge each paper on its design and evidence (see alterlab-scientific-thinking), and include a lower-profile paper when it is the most direct evidence for the claim. The thresholds below are working heuristics, not established cut-offs.
| Paper Age | Citation Threshold | Classification |
|---|---|---|
| 0-3 years | 20+ citations | Noteworthy |
| 0-3 years | 100+ citations | Highly Influential |
| 3-7 years | 100+ citations | Significant |
| 3-7 years | 500+ citations | Landmark Paper |
| 7+ years | 500+ citations | Seminal Work |
| 7+ years | 1000+ citations | Foundational |
Tier 1 - Premier Venues (prefer when relevant):
Tier 2 - High-Impact Specialized (Strong preference):
Tier 3 - Respected Specialized (Include when relevant):
# Optional paid backend for general research (Parallel Chat API)
export PARALLEL_API_KEY="your_parallel_api_key"
# Optional paid backend for academic answers (Perplexity via OpenRouter)
export OPENROUTER_API_KEY="your_openrouter_api_key"
No key is needed. Ask the user to set a key themselves (never paste it into chat) only when they want that paid backend.
Scholarly backend (keyless, scripts/scholarly_backend.py, stdlib only):
api.crossref.org/works (query.bibliographic, is-referenced-by-count), Europe PMC REST (TITLE_ABS: query, sort=CITED desc in cited mode), arXiv export.arxiv.org/api/query, Semantic Scholar graph/v1/paper/search, best effort: its shared keyless search pool is often spent (HTTP 429 for minutes, checked 2026-11-02), so it gets one retry after 2 s, is then skipped for the rest of the run, and is reported as not checked; Crossref, Europe PMC and arXiv carry the query on their own. An optional S2_API_KEY (or SEMANTIC_SCHOLAR_API_KEY), sent as a header, raises its limit. OpenAlex is no longer queried: since 2026 its keyless search is metered per IP, so dependable use needed an accountmerged_from)--terms, or quotes / AND OR NOT / parentheses / leading - in the request) is parsed and translated per index: Europe PMC and arXiv receive the exact boolean query; Crossref and Semantic Scholar have no boolean search, so they get an approximate keyword query (labelled) or, when the expression excludes terms, are skipped with the reason. Each run prints and returns query_translation per index. OR binds tighter than AND; malformed --terms (unbalanced quote or parenthesis, dangling operator) is an error, nothing is searched--since/--until go to every index (Crossref from-/until-pub-date, Europe PMC FIRST_PDATE, arXiv submittedDate, Semantic Scholar year) and are re-checked on the returned dates: out-of-range records are dropped and counted, undated ones kept and marked "date unknown"--rank cited sorts by one index's count (--cite-index, default crossref) with uncounted records after, never by comparing counts across indexes. Full rules (tokenization, grammar, dedup, preprint vs published, ranking, dates, output schema v2): references/search_semantics.md--terms '"testing effect" OR "retrieval practice"' returned Roediger & Karpicke 2006, DOI 10.1111/j.1467-9280.2006.01693.x, firstParallel Chat API (Beta):
POST https://api.parallel.ai/v1beta/chat/completions (OpenAI SDK with base_url="https://api.parallel.ai/v1beta")core (60s-5min latency, complex multi-source synthesis)openaiPerplexity sonar-pro-search:
perplexity/sonar-pro-search (via OpenRouter; $3/$15 per million tokens plus $18 per 1,000 requests at 2026-09 list prices)web_search_options.search_context_size: high and Perplexity's search_mode: academic; OpenRouter may not forward the latter, so academic-only sourcing is best-efforturl_citation annotations and/or citations/search_results fields; the script merges and deduplicates themrequestsThe keyless route needs only the Python standard library. The optional Parallel route imports openai and the Perplexity route uses requests; where they are not installed, prefix those commands with uv run --python ">=3.11" --with openai --with requests instead of installing anything.
# Auto-routed research (recommended)
python scripts/research_lookup.py "your query" -o sources/research_YYYYMMDD_HHMMSS_<topic>.md
# Paper search with exact terms, influence order, 15 records (keyless)
python scripts/research_lookup.py "find papers" --terms '"testing effect" OR "retrieval practice"' \
--rank cited --limit 15 -o sources/papers_<topic>.md
# Boolean expression with an exclusion and a date window (keyless)
python scripts/research_lookup.py "find papers" --terms '(memory OR learning) AND sleep NOT rodent' \
--since 2020 --until 2024 -o sources/papers_<topic>.md
# Force specific backend
python scripts/research_lookup.py "your query" --force-backend scholarly -o sources/papers_<topic>.md
python scripts/research_lookup.py "your query" --force-backend parallel -o sources/research_<topic>.md
python scripts/research_lookup.py "your query" --force-backend perplexity -o sources/papers_<topic>.md
# JSON output
python scripts/research_lookup.py "your query" --json -o sources/research_<topic>.json
# Batch queries
python scripts/research_lookup.py --batch "query 1" "query 2" "query 3" -o sources/batch_research_<topic>.md
Save every research-lookup result to the project's sources/ folder. The saved file is what lets you (and reviewers) trace each citation back to the raw search output, and paid backends cost money per call.
| Backend | Target | Filename Pattern |
|---|---|---|
| Scholarly backend (keyless) | -o sources/papers_<topic>.md | papers_YYYYMMDD_HHMMSS_<brief_topic>.md |
| Keyless web lookup (WebSearch/WebFetch) | Write sources/research_<topic>.md | research_YYYYMMDD_HHMMSS_<brief_topic>.md |
| Parallel Deep Research | -o sources/research_<topic>.md | research_YYYYMMDD_HHMMSS_<brief_topic>.md |
| Perplexity (academic) | -o sources/papers_<topic>.md | papers_YYYYMMDD_HHMMSS_<brief_topic>.md |
| Batch queries | -o sources/batch_<topic>.md | batch_research_YYYYMMDD_HHMMSS_<brief_topic>.md |
Pass -o pointing into sources/ on every script call (create the folder first), and keep the citations, source URLs, and DOIs in the saved file — they are the audit trail. A failed or refused call writes nothing, so a file in sources/ always holds real results. The default text output already includes a Sources section (title, date, URL for each source) and an Additional References section (DOIs); use --json for the full citation metadata. For a keyless web lookup, write the file yourself in the shape described under Keyless Web Lookup.
# General research — save to sources/ (includes Sources + Additional References sections)
python scripts/research_lookup.py "Recent advances in CRISPR gene editing 2025" \
-o sources/research_20250217_143000_crispr_advances.md
# Academic paper search — save to sources/ (includes paper citations with DOIs)
python scripts/research_lookup.py "Find papers on transformer attention mechanisms in NeurIPS 2024" \
-o sources/papers_20250217_143500_transformer_attention.md
# JSON format for maximum citation metadata (full citation objects with URLs, DOIs, snippets)
python scripts/research_lookup.py "CRISPR clinical trials" --json \
-o sources/research_20250217_143000_crispr_trials.json
# Forced backend — save to sources/
python scripts/research_lookup.py "AI regulation landscape" --force-backend parallel \
-o sources/research_20250217_144000_ai_regulation.md
# Batch queries — save to sources/
python scripts/research_lookup.py --batch "mRNA vaccines efficacy" "mRNA vaccines safety" \
-o sources/batch_research_20250217_144500_mrna_vaccines.md
Each output format preserves citations differently:
| Format | Citations Included | When to Use |
|---|---|---|
| Text (default) | Sources (N): section with [title] (date) + URL + Additional References (N): with DOIs and academic URLs | Standard use — human-readable with all citations |
JSON (--json) | Full citation objects: url, title, date, snippet, doi, type | When you need maximum citation metadata |
For the scholarly backend, saved files include: the numbered index records (title, authors, year, venue, DOI, per-index citation counts, impact label, abstract snippet) + Sources list + DOIs, and which indexes did not answer. For Parallel backend, saved files include: research report + Sources list (title, URL) + Additional References (DOIs, academic URLs). For Perplexity backend, saved files include: academic summary + Sources list (title, date, URL, snippet) + Additional References (DOIs, academic URLs).
Use --json when you need to:
sources/ folder documents exactly how all research information was gatheredsources/ for existing results before making new API callsBefore calling research_lookup.py, check if a relevant result already exists:
ls sources/ # Check existing saved results
If a prior lookup covers the same topic, re-read the saved file instead of making a new API call.
When saving research results, always log:
[HH:MM:SS] SAVED: Research lookup to sources/research_20250217_143000_crispr_advances.md (3,800 words, 8 citations)
[HH:MM:SS] SAVED: Paper search to sources/papers_20250217_143500_transformer_attention.md (6 papers found)
This skill supports scientific writing by providing (each result saved to sources/):
Treat returned citations as leads: open and check any paper before citing it, because search-model answers can misattribute findings or garble bibliographic details (alterlab-citation-verifier checks that references exist).
| Task | Skill |
|---|---|
| Citation network / co-citation map grown from a seed paper | alterlab-citation-graph |
| PubMed search | alterlab-pubmed |
| Zotero library / DOI-to-BibTeX management | alterlab-pyzotero |
| Verify that the references you collected exist | alterlab-citation-verifier |
Known Limitations:
--terms and --rank cited, and confirm known classics by DOI; each index's citation count covers only its own corpus (they are labelled, never compared); Crossref and Semantic Scholar cannot run boolean queries (see query_translation); routing-word removal is English-only; Semantic Scholar's shared keyless search pool is often spent, so many runs answer from Crossref, Europe PMC and arXiv alone (the output names Semantic Scholar as not checked, never silently)Fallback Behavior:
--force-backend parallel|perplexity whose key is missing exits 1 naming the variable; it never answers from another backend--terms, --since, --until, --cite-index and --rank cited exist only in the scholarly backend: given one, auto-routing uses the scholarly backend even when a key is set, and --force-backend parallel|perplexity refuses (exit 1) instead of ignoring it--terms or an invalid date exits 1 (scholarly_backend.py exits 2) before any request; a request whose own text has unparseable syntax is searched as plain words and the output says sosuccess: false, the error goes to stderr, and the script exits 1 — rerun with --force-backend to try another--terms) for better results if the initial response is insufficientBackend-key setup and specific error messages: see references/troubleshooting.md.
| Query | No key (default) | With keys |
|---|---|---|
| "Find papers on CRISPR off-target effects in clinical trials" | Scholarly backend → sources/papers_…md; you open and summarise 5–8 papers with DOIs and citation counts | Perplexity sonar-pro-search (academic mode) |
| "Global AI adoption in healthcare statistics 2025" | Keyless web lookup: WebSearch → WebFetch the primary reports → Write sources/research_…md | Parallel Chat API (core model) |
| "Compare mRNA vaccines vs traditional vaccines for cancer treatment" | Web lookup for the overview plus the scholarly backend for the trials and reviews you cite | Parallel Chat API (core model) |
This skill is the primary research interface with intelligent routing, keyless by default:
alterlab-parallel-web for web search and URL extractionPart of the AlterLab Academic Skills suite.
evals/evals.json (opens in a new tab)evals/fixtures/relevance_fixture.json (opens in a new tab)examples.py (opens in a new tab)lookup.py (opens in a new tab)references/search_semantics.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)scripts/research_lookup.py (opens in a new tab)scripts/scholarly_backend.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
research, scholarly-papers, citation-management, academic-search, crossref, arxiv
14 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-citation-graphFree ResearchRabbit / Connected Papers analog — builds a citation and co-citation graph around one or more seed papers from open citation data (the OpenCitations index and Semantic Scholar, with titles from Crossref), with no API key, account or subscription. Walks both directions of the citation network (works the seed cites and works that cite the seed), ranks the discovered neighbourhood by co-citation strength and bibliographic coupling to surface the papers most central to a topic's literature, and exports the network as GraphML (Gephi / Cytoscape / yEd) and JSON. Use when mapping a literature landscape, finding seminal or highly co-cited papers from a seed DOI, snowballing a reference network, building a citation map / co-citation analysis, or visualizing how a research area's papers connect. 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-research-tools:alterlab-research-lookupfrom alterlab-research-tools
npx claudepluginhub alterlab-ieu/alterlab-academic-skills --plugin alterlab-research-tools2 plugins in one repository ship this exact skill · first indexed Nov 9, 2026
Other plugins' skills for the same job