← 返回 Skills 市场
mlava

Scholar Sidekick (REST API)

作者 Mark Lavercombe · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ pending
38
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install scholar-sidekick-api
功能描述
Resolve scholarly identifiers (DOI, PMID, PMCID, ISBN, arXiv, ISSN, ADS bibcode, WHO IRIS URL) into formatted citations (10,000+ CSL styles) and bibliography...
使用说明 (SKILL.md)

Scholar Sidekick (REST API) — Citations, Retraction & Open-Access

Turn a scholarly identifier into a formatted citation, a bibliography file, or an integrity check (retraction / open-access / fabrication), via a documented REST API. No API key and no install required — plain HTTPS calls over curl. An optional RapidAPI key only raises rate limits.

Prefer the scholar-sidekick-mcp skill instead if your host already has the Scholar Sidekick MCP server connected — same capabilities as native tool calls. This skill is the zero-setup path that works in any agent that can run curl.

When to Use

  • The user has an identifier (DOI, PMID, PMCID, ISBN, arXiv, ISSN, ADS bibcode, WHO IRIS URL) and wants metadata, a formatted citation, or a bibliography file.
  • "Cite this in APA/Vancouver/Chicago…", "give me a BibTeX/RIS file", "export these refs".
  • "Has this been retracted?", "is this open access?", "is this citation real / did you make it up?"
  • Do NOT use to search for papers by topic — that's discovery (see the arxiv skill). This assumes you already have an identifier.

Surfaces — call the API, never scrape the UI

The site is built for agents. The contract lives at:

Always call the JSON REST API below. Do not drive the website form.

Authentication & limits

Calls to scholar-sidekick.com/api/* work anonymously — there is no first-party API key — at a rate-limited free tier (~40 format / 10 export requests per window), which is plenty for normal, human-driven agent use. For higher limits, Scholar Sidekick is offered on RapidAPI: subscribe at https://rapidapi.com/scholar-sidekick-scholar-sidekick-api/api/scholar-sidekick and call it through the RapidAPI gateway with your X-RapidAPI-Key. Use the anonymous scholar-sidekick.com endpoints by default; move to RapidAPI only for volume.

Quick Reference

Base URL: https://scholar-sidekick.com

Need Endpoint Body
Format a citation POST /api/format {text, style, output}
Export a bibliography file POST /api/export {text, format}
Retraction / correction / EoC check POST /api/retraction-check {id}
Open-access status + best legal URL POST /api/oa-check {id}
Verify a claimed citation (fabrication) POST /api/verify {claimed: {title, doi}}
Service health GET /api/health

Procedure

Format a citation

curl -sS -X POST "https://scholar-sidekick.com/api/format" \
  -H "Content-Type: application/json" \
  -d '{"text": "10.1038/nphys1170", "style": "vancouver", "output": "text"}'
  • text: one identifier, or several newline-separated for a batch. Pass verbatim — PMID:, arXiv:, ISBN hyphens, and https://doi.org/… are all tolerated.
  • style: vancouver (default), ama, apa, ieee, cse, or any CSL style ID (chicago-author-date, harvard-cite-them-right, modern-language-association, nature, bmj, the-lancet, …).
  • output: text or json. Response: { "ok": true, "items": [{ "formatted": "…" }], "text": "…" }.

Export a bibliography file

curl -sS -X POST "https://scholar-sidekick.com/api/export" \
  -H "Content-Type: application/json" \
  -d '{"text": "10.1038/nphys1170\
PMID:30049270", "format": "bibtex"}' \
  -o refs.bib
  • format: bibtex, ris, csl-json, endnote-xml, refworks, nbib, rdf, csv, txt.

Check retraction

curl -sS -X POST "https://scholar-sidekick.com/api/retraction-check" \
  -H "Content-Type: application/json" \
  -d '{"id": "10.1016/S0140-6736(97)11096-0"}'

Returns { ok, doi, result: { isRetracted, hasCorrections, hasConcern, notices[], title } } (Crossref + Retraction Watch). One identifier per call — field is id. When the work has no DOI (e.g. a book), result is null and reason explains why (no_doi / timeout / upstream).

Check open access

curl -sS -X POST "https://scholar-sidekick.com/api/oa-check" \
  -H "Content-Type: application/json" \
  -d '{"id": "10.1371/journal.pone.0173664"}'

Returns { ok, doi, result: { isOa, oaStatus, bestLocation: {url, hostType, license, version}, locations[] } } (Unpaywall). One identifier per call — field is id.

Verify a claimed citation (catch fabrication)

curl -sS -X POST "https://scholar-sidekick.com/api/verify" \
  -H "Content-Type: application/json" \
  -d '{"claimed": {"title": "The title exactly as cited", "doi": "10.xxxx/xxxxx"}}'

Citation fields go inside a claimed object: title (required) plus one identifier (doi, pmid, …) and optional authors / year / container. Returns { ok, verdict, confidence, matched }, verdict ∈ matched / mismatch / ambiguous / not_found / parsing_error:

  • matched — the claim agrees with the record at the identifier.
  • mismatch — the identifier resolves but the title doesn't: the dominant AI-fabrication pattern (real DOI + invented title; Topaz et al., Lancet 2026).
  • ambiguous — the identifier resolves to one paper but the claimed title matches a different real paper (a wrong-identifier error, not a fabrication).
  • not_found — neither identifier nor title resolves anywhere.
  • parsing_error — the claim had no usable title.

Use this for "is this citation real?", not a plain format/resolve.

Pitfalls

  • Never scrape the web UI — the JSON API is faster and stable.
  • Pass identifiers verbatim; don't strip prefixes.
  • Body fields differ per endpoint: format/export use text; retraction-check/oa-check use id (one identifier per call); verify wraps fields in claimed. Don't mix them up.
  • ISBNs have no DOI, so retraction/OA return a "no DOI" result for books.
  • Don't fabricate a fallback: if a call fails or returns ok:false, report that — never invent a citation, retraction status, OA verdict, or a "matched" verdict.

Verification

  • curl -sS https://scholar-sidekick.com/api/health returns { "ok": true, … }.
  • A good /api/format response has items[].formatted non-empty.

Optional: MCP server (power users)

Scholar Sidekick is also an MCP server (tools: resolveIdentifier, formatCitation, exportCitation, checkRetraction, checkOpenAccess, verifyCitation). That path requires installing the server and a RapidAPI key, so the REST calls above are the zero-setup default. See the companion scholar-sidekick-mcp skill, or:

npx -y scholar-sidekick-mcp@latest   # needs RAPIDAPI_KEY in env
能力标签
requires-sensitive-credentials
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install scholar-sidekick-api
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /scholar-sidekick-api 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: zero-install REST citation / verify / retraction / OA skill.
元数据
Slug scholar-sidekick-api
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Scholar Sidekick (REST API) 是什么?

Resolve scholarly identifiers (DOI, PMID, PMCID, ISBN, arXiv, ISSN, ADS bibcode, WHO IRIS URL) into formatted citations (10,000+ CSL styles) and bibliography... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 38 次。

如何安装 Scholar Sidekick (REST API)?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install scholar-sidekick-api」即可一键安装,无需额外配置。

Scholar Sidekick (REST API) 是免费的吗?

是的,Scholar Sidekick (REST API) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Scholar Sidekick (REST API) 支持哪些平台?

Scholar Sidekick (REST API) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Scholar Sidekick (REST API)?

由 Mark Lavercombe(@mlava)开发并维护,当前版本 v1.0.0。

💬 留言讨论