Rimagination/scansci-pdf is an agent-oriented tool that finds and downloads academic papers from sources such as open-access repositories, preprint services, publishers, and institutional access routes. It accepts identifiers or literature lists, saves papers as named PDF files, and can also export citations or convert PDFs to Markdown. Its MCP server and agent plugins let coding agents use these paper-retrieval workflows.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Rimagination/scansci-pdf --skill scansci-sortgit clone --depth 1 https://github.com/Rimagination/scansci-pdfWrote 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.
[](https://agentmods.dev/skills/rimagination/scansci-pdf/scansci-sort)<a href="https://agentmods.dev/skills/rimagination/scansci-pdf/scansci-sort"><img src="https://agentmods.dev/badge/skills/rimagination/scansci-pdf/scansci-sort/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.
<a href="https://agentmods.dev/skills/rimagination/scansci-pdf/scansci-sort"><img src="https://agentmods.dev/badge/skills/rimagination/scansci-pdf/scansci-sort.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Agent Snooping · line 12 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00111 | $0.02824 |
| Opus 5.5 | $0.00044 | $0.01130 |
| Sonnet 5.5 | $0.00022 | $0.00565 |
| Haiku 4.5 | $0.00011 | $0.00282 |
Grade A, and why
scansci-sort scanned grade A with 1 finding 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 1mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
`www.mdpi.com/pdf` 对脚本 403(Cloudflare 按 TLS 指纹拦:python-ssl 必挂,curl 走代理也挂),但 CDN `mdpi-res.com` 开放且 URL 可构造: How it starts
The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ScanSci Sort — 大清单文献分类摸底
核心原则:先嗅探、后下载;分类一次、路由到底。4000 篇实测嗅探 ≈30 分钟,之后每层下载只处理属于自己的桶。
环境检查
工具列表有 scansci_pdf_* → 可用 MCP(嗅探主要靠自写并发脚本,MCP 非必需);否则用 CLI scansci-pdf check 确认依赖。
嗅探阶段(只查不载)
0. 数据卫生
- 去重、去空、规范化 DOI:剥
https://doi.org/前缀、小写、trim;正则^10\.\d{4,9}/.+校验。 - WOS 导出约 5–6% 行缺 DOI → 提前分离单独文件,不进主流程。
1. OA 判定(全量,不碰灰色源)
- 首选 OpenAlex:50 DOI/请求、10 并发、~3 min/4000 篇。⚠️ 免费配额按 IP 每日计,共享 IP 可能 429(
$0 remaining)。 - 二选 Semantic Scholar 批量:
POST /graph/v1/paper/batch?fields=isOpenAccess,openAccessPdf&id=DOI:...,500 篇/请求、无需邮箱、429 退避 10–20s 可续;openAccessPdf直链质量不错。5645 篇 12 批 ≈3 min(2026-09 实测)。 - 兜底 Unpaywall 单点并发:10 并发、3 次重试、每 500 条落盘 JSON 断点续传,~17 min/4000 篇。⚠️ 批量端点
POST /v2/dois经常 500,不可依赖。 - ⚠️ Unpaywall 拒绝占位邮箱(422
Please use your own email address,错误在响应 body):必须传真实用户邮箱,启动前先拿 1 条 DOI 验证;config.py的默认[email protected]不可用于 Unpaywall。插件本体(mcpscansci_pdf_download)已改为:缺/被拒邮箱时返回error_type=config_needed+action=ask_user_email(带 agent_hint),先向用户要邮箱再跑,不要静默跳过该渠道。 - 查不到的 DOI 用 Crossref
api.crossref.org/works/{doi}验证:404 = 未注册(中文刊常见),不代表 Sci-Hub 没有。
2. 灰色源嗅探(只对非 OA 子集,请求量天然减半)
- Sci-Hub 三镜像轮测:
sci-hub.vg/sci-hub.al/sci-hub.ee(国内可达性 2026-08 实测;se/ru/st/ws/wf 不通,ru 返回反爬页)。 - 15 并发、每篇 3 次重试轮换域名。四分类:hit(HTML 含
(embed|iframe) src="...pdf,命中页 ~8KB)/ miss / turnstile(含challenges.cloudflare.com/turnstile或Verification - Sci-Hub,按 IP 频率随机插入,假 DOI 也会触发)/ blocked(403/503)。 - ⚠️ HTTP 200 ≠ 成功,验证页也是 200,必须看内容。
- LibGen 活着但有两道闸(2026-09 实测,推翻旧的"全镜像不可达"记录):
libgen.li走代理/libgen.bz直连均可达;①裸请求拿到 200 空体——必须先 GET 首页拿会话 cookie 再带 Referer 请求ads.php?doi=(插件已内置);②文件 CDN(booksdl)大概率 503,对get.php链接重试 3-4 次必中。搜不到结果时先区分"没会话"和"真没有"。 - 三镜像全 miss = 灰色源确认无。
3. 合法 OA 补捞(对 Sci-Hub miss 子集)
- OpenAIRE:
api.openaire.eu/search/publications?doi={doi}&format=json,8 并发,递归提取webresource.url过滤doi.org。实测 837 篇 miss 捞回 136 条记录、5 篇确定直链。 - 链接分型:
.pdf直链→命中;PubMed 页→NCBI elink 查 PMC(多数无);Scopus/Lens→无用;机构库 landing→GET 页面找.pdf链接。 - DOAJ API:
doaj.org/api/search/articles/{doi}补期刊官网直链。 - 403/超时 ≠ 无全文(反爬/网络),标注"记录存在但连通受限"。
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.
- 1mo ago Changed · +72 lines · +75 tokens per session de45484edaed
- 3mo ago First seen · 23 lines · 36 tokens per session scan A aeeb670862e3
scansci-sort is a skill published in the GitHub repository Rimagination/scansci-pdf (1,277 stars, last pushed today), licensed MIT. It adds 111 tokens to every session and 2,824 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
scansci-sort compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| scansci-sortRimagination/scansci-pdf | Skill | 1.3k | today | MIT | A | 111 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 101k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 331k | 3d ago | MIT | A | 21 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | today | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |