cnki-export

cnki-export is a skill for Claude Code from YuanyuanMa03/academic-research-skills. It costs 37 tokens per session (1,840 once invoked), scanned A, original, MIT.

A CNKI export tool that saves a paper’s citation information to Zotero or an RIS file. RIS is a standard format that reference-management programs can import.

In plain words
What is it for?
Use it to export one paper or a selected group of papers to Zotero, RIS, or a GB/T 7714 citation.
Why use it?
It removes the need to copy citation details by hand from CNKI, especially when saving several papers.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the cnki-export plugin — 1 skill shipped together

Good fit Use it to export one paper or a selected group of papers to Zotero, RIS, or a GB/T 7714 citation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yuanyuanma03/academic-research-skills/cnki-export
Install

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.

Any agent
npx skills add YuanyuanMa03/academic-research-skills --skill cnki-export
Clone the repo
git clone --depth 1 https://github.com/YuanyuanMa03/academic-research-skills

Made for: Claude Code.

Or install cnki-export, the plugin that ships this one along with the rest of its 1 skill.

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 cnki-export

README.md
[![agentmods](https://agentmods.dev/badge/skills/yuanyuanma03/academic-research-skills/cnki-export/github.svg)](https://agentmods.dev/skills/yuanyuanma03/academic-research-skills/cnki-export)
Your own site
<a href="https://agentmods.dev/skills/yuanyuanma03/academic-research-skills/cnki-export"><img src="https://agentmods.dev/badge/skills/yuanyuanma03/academic-research-skills/cnki-export/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 cnki-export

Your own site · 80×15
<a href="https://agentmods.dev/skills/yuanyuanma03/academic-research-skills/cnki-export"><img src="https://agentmods.dev/badge/skills/yuanyuanma03/academic-research-skills/cnki-export.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,840 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00037 $0.01840
Opus 5 $0.00018 $0.00920
Sonnet 5 $0.00007 $0.00368
Haiku 4.5 $0.00004 $0.00184

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

Security

Grade A, and why

cnki-export 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/push_to_zotero.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

const resp = await fetch(url, {
plugins/cnki-export/skills/cnki-export/SKILL.md · 203 lines

How it starts

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

CNKI Export & Zotero Integration

Export paper citation data from CNKI and push directly to Zotero, or save as RIS file.

Arguments

  • zotero (default) — push to Zotero desktop via local API
  • ris — save as .ris file
  • gb — output GB/T 7714 citation text
  • Optionally include a paper URL

Mode Selection

Choose the right mode based on context:

Context Mode Tool calls
On a paper detail page Single export (Step 1A) 1 evaluate + 1 bash = 2
On a search results page, save all/selected Batch export (Step 1B) 1 evaluate + 1 bash = 2
Need to search then save Use cnki-search first, then batch export 4 total

Always prefer batch export (1B) when multiple papers need saving. It avoids navigating to each detail page (saves ~3 calls per paper).

Steps

1A. Single export: from paper detail page

Use mcp__chrome-devtools__evaluate_script:

async () => {
  const url = document.querySelector('#export-url')?.value;
  const params = document.querySelector('#export-id')?.value;
  const uniplatform = new URLSearchParams(window.location.search).get('uniplatform') || 'NZKPT';
  if (!url || !params) return { error: 'Not on a paper detail page' };

  const resp = await fetch(url, {
    method: 'POST',
    headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
    body: new URLSearchParams({ filename: params, displaymode: 'GBTREFER,elearning,EndNote', uniplatform })
  });
  const data = await resp.json();
  if (data.code !== 1) return { error: data.msg };

  const result = {};
  for (const item of data.data) {
    result[item.mode] = item.value[0];
  }

  const body = document.body.innerText;
  result.pageUrl = window.location.href;
  result.issn = body.match(/ISSN[::]\s*(\S+)/)?.[1] || '';
  result.dbcode = document.querySelector('#paramdbcode')?.value || '';
  result.dbname = document.querySelector('#paramdbname')?.value || '';
  result.filename = document.querySelector('#paramfilename')?.value || '';

  return result;
}

Read the full file on GitHub · 203 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 203 lines · 37 tokens per session scan A 429eecd079c3

Subscribe to this mod's changes

cnki-export is a skill published in the GitHub repository YuanyuanMa03/academic-research-skills (63 stars, last pushed 22d ago), licensed MIT. It adds 37 tokens to every session and 1,840 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

venue-templates

Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing…

LeonChaoX/qinyan-academic-skills · 97 tokens

google-workspace

Google Docs, Sheets, and Drive operations via REST API.

furkangonel/cowrangler · 16 tokens

gog

Operate Google Workspace from the terminal via the gog CLI (gogcli). Use for checking and replying to Gmail, managing Google Tasks, reading and creating Calendar events, Google Chat (spaces/DMs/messages), Meet spaces, Contacts, Drive/Docs/Sheets, and more. Triggers on /gog, /gog mail, /gog tasks, /gog events, /gog…

olafkfreund/nixos_config · 125 tokens

docx

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when…

LeonChaoX/qinyan-academic-skills · 168 tokens

pptx

Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying…

LeonChaoX/qinyan-academic-skills · 152 tokens

open-notebook

Self-hosted, open-source alternative to Google NotebookLM for AI-powered research and document analysis. Use when organizing research materials into notebooks, ingesting diverse content sources (PDFs, videos, audio, web pages, Office documents), generating AI-powered notes and summaries, creating multi-speaker…

LeonChaoX/qinyan-academic-skills · 123 tokens