scansci-cn

scansci-cn is a skill for Claude Code, Codex from Rimagination/scansci-pdf. It costs 81 tokens per session (960 once invoked), scanned A, original, MIT.

A guide for legally finding, downloading, identifying, and checking Chinese academic papers from services such as CNKI, Wanfang, VIP, and NCPSSD. It covers DOI cleanup, institutional access, PDF verification, and CAJ files, a Chinese journal format that may need special software.

In plain words
What is it for?
Use it to normalize Chinese titles and DOI values, retrieve papers through permitted channels, handle CAJ or PDF downloads, and verify downloaded papers against bibliographic records.
Why use it?
It avoids unreliable or prohibited access methods and helps detect downloads that are incomplete, mismatched, or retracted. It also explains which sources can be searched automatically and which require a browser.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/verify_pdf.py --doi 10.1007/s11356-020-11742-8 --pdf paper.pdf.

Good fit Use it to normalize Chinese titles and DOI values, retrieve papers through permitted channels, handle CAJ or PDF downloads, and verify downloaded papers against bibliographic records.

Compare 6 skills from other repositories ↓
About the project

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.

Rimagination/scansci-pdf · 1,153 stars · on GitHub

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Rimagination/scansci-pdf
agentmods
npx agentmods add skills/rimagination/scansci-pdf/scansci-cn

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 scansci-cn

README.md
[![agentmods](https://agentmods.dev/badge/skills/rimagination/scansci-pdf/scansci-cn/github.svg)](https://agentmods.dev/skills/rimagination/scansci-pdf/scansci-cn)
Your own site
<a href="https://agentmods.dev/skills/rimagination/scansci-pdf/scansci-cn"><img src="https://agentmods.dev/badge/skills/rimagination/scansci-pdf/scansci-cn/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 scansci-cn

Your own site · 80×15
<a href="https://agentmods.dev/skills/rimagination/scansci-pdf/scansci-cn"><img src="https://agentmods.dev/badge/skills/rimagination/scansci-pdf/scansci-cn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 960 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.00081 $0.00960
Opus 5.5 $0.00032 $0.00384
Sonnet 5.5 $0.00016 $0.00192
Haiku 4.5 $0.00008 $0.00096

Measured 2d ago against content hash 562d75645ac4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

scansci-cn 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 2d 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.

zcode-plugin/skills/scansci-cn/SKILL.md · 54 lines

What it actually says

ScanSci CN — 中文文献获取与核验

扫描中文文献的合法通道,并给中文清单做标识规范化与下载后校验。不涉及任何镜像绕过或第三方共享账号。

通道矩阵(按可达性排序)

通道 覆盖 前提 脚本化程度
机构订阅(IP/CARSI) 知网、万方、维普、超星 用户自己的校园网/单位认证 浏览器登录态;scansci-pdf login --kind carsi 同理扩展
NCPSSD 国家哲学社会科学文献中心 人文社科期刊/论文 免费注册 页面为 JS 渲染,目前只能人工检索下载
期刊官网 大量中文刊官网提供免费 PDF 无 常见路径 /CN/article/downloadArticleFile.do、/CN/Y{年}/V{卷}/I{期}/{页}
预印本/机构库 中国科技论文在线、各高校机构库 无 部分可脚本化
中文 DOI 系统 chinadoi 注册的中文刊 无 仅用于标识解析(见 scripts/cn_resolve.py)

⚠️ 知网/万方的站内检索接口带轮换 JS 加密(crypto-js),不可脚本化——检索与下载一律走机构登录态下的浏览器流程,不做逆向。

中文 DOI 与标识

  • 中文刊常见 DOI 族:10.3969/j.issn.1000-xxxx.yyyy.nn.nnn(万方系)、10.11897/…、10.13324/… 及大量自有前缀。
  • 校验用 scripts/cn_resolve.py:全角→半角、空白清理、DOI 提取、ISSN/年份/期号/篇号拆解。
  • 知网导出多为 CAJ 格式:需 CAJViewer,或机构版页面选 PDF 下载;批量任务应把 .caj 单独成桶。

下载后核验(必做)

scripts/verify_pdf.py:用 PDF 首页文本对比 Crossref 标题(EN 用词元覆盖率,CJK 用字符二元组 Jaccard),并检查 撤稿状态(Crossref update-to + OpenAlex is_retracted)。

python scripts/verify_pdf.py --doi 10.1007/s11356-020-11742-8 --pdf paper.pdf
python scripts/verify_pdf.py --dir ./pdfs          # 文件名以 DOI 开头的批量核验

建议在 sort 落库前对整批下载跑一次,输出 JSON 里:

  • match 低于阈值 → 疑似下错文章
  • retracted: true → 从综述证据链剔除

与 sort 流程的衔接

  1. 清单卫生:中文标题做全角/空白归一(见 cn_resolve.py)
  2. 分诊:中文 DOI 走机构桶;无 DOI 的中文文献单独成桶(缺DOI)
  3. 下载:机构登录态 / NCPSSD 人工 / 期刊官网直链
  4. 核验:verify_pdf.py 全量跑
  5. 报告:按"来源/许可"分桶(O A/机构/官网/人工),便于发表偏倚分析

反爬与礼貌

  • 知网/万方/维普对高频请求敏感:串行、间隔 ≥2s,单账号单日控制在个人阅读量级。
  • 机构 cookie 有时效:批量任务前先用一次小请求探测登录态是否有效。
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. 2d ago First seen · 54 lines · 81 tokens per session scan A 562d75645ac4

Subscribe to this mod's changes

scansci-cn is a skill published in the GitHub repository Rimagination/scansci-pdf (1,153 stars, last pushed yesterday), licensed MIT. It adds 81 tokens to every session and 960 once invoked, about $0.0003 per session on Opus 5.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-10-23.

Related

Other skills, from other repositories

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

matlab

Builds, reviews, migrates, and plans MATLAB or GNU Octave numerical workflows. Use for arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 44 tokens

exploratory-data-analysis

Performs bounded, local exploratory analysis of explicitly supported scientific files. Supports redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

phylogenetics

Builds and analyzes phylogenetic trees using MAFFT multiple sequence alignment, IQ-TREE maximum likelihood with ModelFinder and branch support, and FastTree approximate inference. Uses ETE3 for tree summaries and visualization. Applies to homologous nucleotide or protein sequences, microbial gene trees, protein…

K-Dense-AI/scientific-agent-skills · 71 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

presenting-conference-talks

Generates conference presentation slides (Beamer LaTeX PDF and editable PPTX) from a compiled paper with speaker notes and talk script. Use when preparing oral talks, spotlight presentations, or invited talks for ML and systems conferences.

Orchestra-Research/AI-Research-SKILLs · 53 tokens