{
  "markdown": "# Scholar Sidekick — Gemini CLI extension / Antigravity plugin\n\nResolve scholarly identifiers and check citations from inside [Gemini CLI](https://geminicli.com)\n(and, after migration, the Antigravity CLI). Scholar Sidekick turns a DOI (including shortDOI aliases like\n`10/aabbe`), PMID, PMCID, ISBN, arXiv id, ISSN, NASA ADS bibcode, or WHO IRIS URL into\n**formatted citations** (10,000+ CSL styles) and\n**bibliography exports** (BibTeX, RIS, CSL-JSON, EndNote, RefWorks, MEDLINE, Zotero RDF, CSV, text),\nand checks **retraction status**, **open-access status**, and **citation fabrication**.\n\nThis extension is a thin wrapper around the existing\n[`scholar-sidekick-mcp`](https://www.npmjs.com/package/scholar-sidekick-mcp) server and the\n[`scholar-sidekick-cli`](https://www.npmjs.com/package/scholar-sidekick-cli) — both published to npm\nand fetched on demand via `npx`. There is nothing to build.\n\nIt gives Gemini two ways to use Scholar Sidekick:\n\n- **MCP tools** the agent can call autonomously: `resolveIdentifier`, `formatCitation`,\n  `exportCitation`, `checkRetraction`, `checkOpenAccess`, `verifyCitation`, `auditBibliography`.\n- **Slash commands** you invoke directly: `/scholar:format`, `:resolve`, `:export`, `:verify`,\n  `:audit`, `:retraction`, `:oa`.\n\n> **No API key required.** Everything works on the anonymous, rate-limited free tier.\n\n## Requirements\n\n- [Gemini CLI](https://geminicli.com) installed.\n- Node.js ≥ 20 (for the `npx`-launched MCP server and CLI).\n- No API key. An optional free `ssk_` key raises rate limits and enables the verifier's LLM screen.\n\n## Install\n\n```bash\ngemini extensions install https://github.com/mlava/scholar-sidekick-gemini\n```\n\nLocal development (symlink instead of clone):\n\n```bash\ngemini extensions link /path/to/scholar-sidekick-gemini\n```\n\nManage it with the usual commands:\n\n```bash\ngemini extensions list\ngemini extensions disable scholar-sidekick\ngemini extensions uninstall scholar-sidekick\n```\n\n## Configure the (optional) API key\n\n```bash\ngemini extensions config scholar-sidekick\n```\n\nThis stores `SCHOLAR_API_KEY` securely (system keychain) and passes it to the MCP server. It is\n**optional** — the extension works without it. A free `ssk_` key from\n<https://scholar-sidekick.com/account> raises rate limits and unlocks the verifier's Stage-3 LLM\nscreen. `SCHOLAR_SIDEKICK_URL` overrides the API base URL (defaults to\n`https://scholar-sidekick.com`); `RAPIDAPI_KEY` routes via the RapidAPI gateway for paid tiers.\n\n> The slash commands shell out to the `scholar` CLI, which reads `SCHOLAR_API_KEY` from the\n> environment. If `gemini extensions config` does not propagate the key into shell-command execution\n> in your version, also `export SCHOLAR_API_KEY=ssk_...` in your shell. None of the commands need a\n> key to run.\n\n## Usage\n\n### Slash commands\n\n```text\n/scholar:format 10.1056/NEJMoa2033700\n/scholar:format 10.1056/NEJMoa2033700 --style apa\n/scholar:resolve 10.1056/NEJMoa2033700 38000000\n/scholar:export 10.1056/NEJMoa2033700 --format bib\n/scholar:verify --title \"Some claimed title\" --doi 10.1056/NEJMoa2033700\n/scholar:audit refs.bib\n/scholar:retraction 10.1056/NEJMoa2033700\n/scholar:oa 10.1056/NEJMoa2033700\n```\n\nEach command runs the corresponding `scholar` CLI subcommand and asks Gemini to summarize the JSON\noutput. Gemini will prompt for confirmation before running the shell command.\n\n### Let the agent do it\n\nBecause the MCP server is registered, you can also just ask in natural language:\n\n```text\nFormat this DOI in APA: 10.1056/NEJMoa2033700\nIs this citation real? \"Invented title\", doi 10.1056/NEJMoa2033700\nHas 10.1016/j.cell.2020.01.001 been retracted, and is it open access?\n```\n\nGemini will call the appropriate tool (`formatCitation`, `verifyCitation`, `checkRetraction`,\n`checkOpenAccess`, …) itself.\n\n## Antigravity CLI\n\nGemini CLI is being replaced by the [Antigravity CLI](https://antigravity.google) (`agy`) for\nindividual-tier users. Import this extension as a native Antigravity plugin with:\n\n```bash\nagy plugin import gemini\n```\n\nThis works cleanly here because the extension stays within the portable subset:\n\n- The MCP server is **local stdio** (`command`/`args`), which carries over unchanged — the\n  `url` → `serverUrl` rename only affects *remote* HTTP MCP servers, and this extension has none.\n- `commands/*.toml` are collapsed into Antigravity **skills** automatically during import.\n- `GEMINI.md` keeps working as the context file.\n- No custom themes or Node-only API dependencies (the only things that don't migrate).\n\n### Using it in Antigravity (after import)\n\nInvocation differs from Gemini CLI — this is expected:\n\n- There is **no `/scholar:format` slash command** in `agy`. The commands become **skills** (named\n  `format`, `resolve`, `export`, `verify`, `audit`, `retraction`, `oa` under\n  `~/.gemini/config/plugins/scholar-sidekick/skills/`) that the agent invokes, and the **MCP tools**\n  are called by the agent directly. Just ask in natural language, e.g. *\"use scholar-sidekick to\n  format 10.1056/NEJMoa2033700 in APA\"*.\n- **No key needed, so nothing to configure.** The imported\n  `~/.gemini/config/plugins/scholar-sidekick/mcp_config.json` has `env: null`, which is fine. To\n  raise limits, add `\"env\": { \"SCHOLAR_API_KEY\": \"ssk_…\" }` there for the MCP tools, and/or\n  `export SCHOLAR_API_KEY=ssk_…` in your shell for the skill shell-outs.\n\n## Hosted HTTP MCP (alternative)\n\nIf you'd rather not run the server locally via `npx`, Scholar Sidekick also exposes a hosted\nStreamable-HTTP MCP endpoint with the same seven tools at `https://scholar-sidekick.com/api/mcp`. This\nextension uses the local `npx` stdio form because it migrates to Antigravity without a `serverUrl`\nrename.\n\n## What's in here\n\n```\ngemini-extension.json     # manifest: MCP server + settings + contextFileName\nGEMINI.md                 # context auto-loaded into the model\ncommands/scholar/         # /scholar:format|resolve|export|verify|audit|retraction|oa (shell out to the CLI)\n```\n\n## Links\n\n- Scholar Sidekick: <https://scholar-sidekick.com>\n- MCP server: <https://www.npmjs.com/package/scholar-sidekick-mcp>\n- CLI: <https://www.npmjs.com/package/scholar-sidekick-cli>\n\n## License\n\nMIT © Scholar Sidekick\n",
  "bytes": 6207,
  "sha": "99da33b84f7fb6b34bfa3abc06822f58f2d363185c57e0514a8aa4671c6a385a",
  "repo_slug": "mlava/scholar-sidekick-gemini",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_mlava_scholar_sidekick_gemini_b7030a02/readme"
}