scipdf-mcp: Skill for Claude Code

.grok/skills/scipdf/SKILL.md

scipdf is a skill for Claude Code, Codex from gjjisadog/scipdf-mcp. It costs 75 tokens per session (1,229 once invoked), scanned A, original, MIT.

A workflow for finding academic papers and downloading their PDF files locally from a title, DOI, link, or bibliography. A DOI is a unique identifier assigned to a research publication.

In plain words
What is it for?
Use it to resolve DOIs, download one or many papers, parse bibliography or BibTeX/RIS lists, check download sources, and return local paths with citations.
Why use it?
It removes the manual work of locating papers and keeps the saved file path and citation together, while reporting failures clearly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is gjjisadog/scipdf-mcp's own configuration. It tells Claude Code and Codex how to work on scipdf-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything scipdf-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to gjjisadog/scipdf-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/gjjisadog/scipdf-mcp/main/.grok/skills/scipdf/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/gjjisadog/scipdf-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for scipdf

README.md
[![agentmods](https://agentmods.dev/badge/skills/gjjisadog/scipdf-mcp/scipdf/github.svg)](https://agentmods.dev/skills/gjjisadog/scipdf-mcp/scipdf)
Your own site
<a href="https://agentmods.dev/skills/gjjisadog/scipdf-mcp/scipdf"><img src="https://agentmods.dev/badge/skills/gjjisadog/scipdf-mcp/scipdf/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for scipdf

Your own site · 80×15
<a href="https://agentmods.dev/skills/gjjisadog/scipdf-mcp/scipdf"><img src="https://agentmods.dev/badge/skills/gjjisadog/scipdf-mcp/scipdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,229 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00075 $0.01229
Opus 5 $0.00037 $0.00615
Sonnet 5 $0.00015 $0.00246
Haiku 4.5 $0.00007 $0.00123

Measured 11d ago against content hash 53d2ded0c93a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

scipdf scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.grok/skills/scipdf/SKILL.md · 124 lines

How it starts

The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.

scipdf — 论文 PDF 本地下载工作流

配套:MCP scipdf + 可选 CLI node …/scipdf-mcp/dist/index.js

目标:用户要论文 → DOI → 本地下载 → 返回 path(+ 可选引用格式)。

下载顺序(MCP 内部):

  1. 可选 Unpaywall OA:仅当用户同时配置了
    SCIPDF_UNPAYWALL_EMAIL SCIPDF_PREFER_OA=true 时,才在 Sci-Hub 之前尝试合法 OA
  2. 默认:pdfHosts → Sci-Hub 镜像(始终主路径,无需额外配置)
    • pdfHosts 默认:https://sci.bban.top/pdf/
    • 镜像默认约 15 个(含 ren/red/ee/st/ru/box/se、sidesgame、vg、usualwant、hkvisa、al、mksa.top、pismin、sci-hub.in 等)
    • 完整列表见仓库 src/config.ts / config.example.json / README

未配置邮箱 / 未开 PREFER_OA → 行为与纯 Sci-Hub 一致。不要要求用户必须配邮箱。
镜像异常时用 check_mirrors(可 force_refresh: true);可用 SCIPDF_MIRRORS / SCIPDF_PDF_HOSTS 覆盖。

前置条件 / 诊断

  1. 工具列表应有 download_paper(MCP 名 scipdf)。
  2. 若没有 MCP 工具:
    • 提示用户:重启客户端;或运行
      cd <repo> && bash install.sh / bash install.sh --update
    • 不要假装已下载。
    • 若用户本机有仓库,可退路执行 CLI:
      node /path/to/scipdf-mcp/dist/index.js download "<query>"

完整工作流

用户:标题 / DOI / 链接 / 文献列表 / bib
  → ① 收集查询
  → ② resolve_doi(必要时)
  → ③ download_paper / download_papers
  → ④ 汇报 path + DOI + 引用;失败报 code

① 收集

优先级:DOI → URL → 标题 → 引用串 → bib/ris 整段(用 parse_references)。

② 解析 DOI

输入 动作
DOI 直接 download_paper
标题 resolve_doi 或直接 download_paper(内部会解析)
失败 DOI_NOT_FOUND candidates;或 web 检索后用明确 DOI 再下
AMBIGUOUS_DOI 列出 candidates 让用户选,不要静默下错篇

③ 下载

download_paper:
  query: "..."
  query_type: auto|doi|title|url|citation
  force: false

批量:

download_papers:
  queries: ["10.a/b", "title...", "@article{...}"]
  • 已存在文件会返回 cached: true + path(不必当错误)。
  • 镜像异常:check_mirrors(可 force_refresh: true)。

④ 汇报(必填字段)

成功:

  • 标题、DOI、path、bytes、cached、可选 citation.apa / gbt / bibtex

失败:

  • code(如 DOI_NOT_FOUND / MIRROR_BLOCKED / ALL_SOURCES_FAILED / PDF_NOT_IN_DB
  • error 原文
  • candidates(若有)

禁止编造 path。

失败重试(固定策略)

  1. 标题 → download_paper 失败且 DOI_NOT_FOUND
  2. resolve_doi 或 candidates / 公开网页确认 DOI
  3. download_paper + query_type: "doi"
  4. 仍失败 → check_mirrors,把 code 给用户,不无限重试

Read the full file on GitHub · 124 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 124 lines · 75 tokens per session scan A 53d2ded0c93a

Subscribe to this mod's changes

scipdf is a skill published in the GitHub repository gjjisadog/scipdf-mcp (1 stars, last pushed 1mo ago), licensed MIT. It adds 75 tokens to every session and 1,229 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories