cnki-export
Skill28 starsChanged 2 months agoMITView on GitHub
Export CNKI citations natively or convert verified JSON, RIS or EndNote tagged records into UTF-8 BibTeX.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- wentorai/Research-Clawtheir own version, first seen Oct 8, 2026
- vluckyzhang/cnki-skills-codextheir own version, first seen Jun 14, 2026
- cookjohn/cnki-skillstheir own version, first seen Feb 28, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- cookjohn/cnki-skills★ 951same name
- wentorai/Research-Claw★ 858same name
- vluckyzhang/cnki-skills-codex★ 17same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- cnki-advanced-searchSkill
- cnki-downloadSkill
- cnki-evidence-tableSkill
- cnki-jevSkill
- cnki-journal-browseSkill
- cnki-navigate-pagesSkill
- cnki-paper-detailSkill
- cnki-parse-resultsSkill
- cnki-researcherSkill
- cnki-resumeSkill
- cnki-screeningSkill
- cnki-searchSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 8 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Prefer an offered native BibTeX option.
- Distinctive: line 19
Use the user's available browser connector.
- Distinctive: line 28
Start at an already-open CNKI official/authorized institutional entry.
- Distinctive: line 35
Never start at an overseas mirror (oversea.cnki.net, global.cnki.net, data.oversea.cnki.net, scholar.cnki.net, ar.oversea.cnki.net or …
- Distinctive: line 44
Do not invent selectors, search API payloads, article URLs, download hashes or session tokens.
- Distinctive: line 45
Use read-only DOM extraction only if supported and grounded in observed markup.
- Distinctive: line 46
If an operation fails twice without progress, preserve completed records and report the blocker.
- Distinctive: line 64
Do not treat a plain redirect to oversea.cnki.net as "the domestic site is down" by itself — navigate to the kns.cnki.net entry first.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CNKI export
- Resolve the requested set (single, selected list or all listed papers). Preserve exact titles and identities. Verify selected checkboxes before opening the visible 导出/参考文献 control; do not assume selection survives paging.
- Prefer an offered native BibTeX option. Otherwise export the actual offered EndNote tagged or RIS format, or build verified structured JSON from detail metadata. Do not call a constructed conversion a native CNKI export.
- For format details and schema read references/formats.md. Convert with scripts/convert.py:
python3 <skill-dir>/scripts/convert.py input.json --format json --output citations.bibFormats: json, ris, endnote. Input encoding defaults to UTF-8; explicitly use --encoding gb18030 if confirmed. - The converter is offline and refuses incomplete author lists, conflicting duplicate metadata and unsupported record types. Resolve those from the source; do not weaken validation to force an export.
- Validate the resulting file with an independent BibTeX parser when available, count unique entries, compare titles/DOIs/authors to the source and test Chinese names/special characters. The converter's successful exit alone is not an import test.
- Deliver the .bib file and conversion provenance/warnings. Missing year/volume/pages remain omitted. If only a formatted GB/T reference is available, verify individual fields against the detail page before forming JSON; do not regex-guess all metadata from prose.
- Optional Zotero: import the .bib through an available, documented local connector only when requested. No cookie transfer or bundled third-party push script.
Browser and access
Use the user's available browser connector. Claude Code: Chrome DevTools MCP
(list pages → select page → take snapshot → interact). Codex: use its available
browser skill/tool and documented API. WorkBuddy: the browser-skill CLI (bsk)
— bsk session start → bsk navigate <url> --session <id> → bsk snapshot →
interact → bsk session stop <id> (mandatory, even on error paths). Read that
tool's instructions first; do not assume Chrome DevTools names exist in the other
runtimes. If no connector is available, report the missing dependency, without
installing it implicitly.
Start at an already-open CNKI official/authorized institutional entry. Otherwise default to the domestic CNKI site, in this order:
- https://kns.cnki.net/kns8s/defaultresult/index — domestic 检索 entry (verified working: renders 主题 + 学术期刊 controls and the result table, and honours an institutional login).
- https://www.cnki.net/ — domestic homepage, only if the entry above is unreachable.
Never start at an overseas mirror (oversea.cnki.net, global.cnki.net,
data.oversea.cnki.net, scholar.cnki.net, ar.oversea.cnki.net or similar).
Detection: if the page title is "CNKI Overseas" or the host contains oversea,
you are on the international platform — www.cnki.net may silently redirect there
depending on the network exit point. Navigate straight to the kns.cnki.net entry
above instead of staying on the mirror.
Preserve the current institution route and observed links; do not reconstruct
proxy URLs or trust a hostname solely because it contains "cnki".
Inspect current visible controls before acting; refresh observations after navigation.
Do not invent selectors, search API payloads, article URLs, download hashes or session tokens.
Use read-only DOM extraction only if supported and grounded in observed markup.
If an operation fails twice without progress, preserve completed records and report
the blocker. Login and CAPTCHA require user intervention under the runtime policy;
do not evade detection or bypass access controls. Do not export cookies or credentials.
Close owned temporary tabs when finished, retaining only a page needed for user handoff.
Overseas fallback (last resort only)
Fall back to an overseas mirror only when the domestic site is genuinely unreachable or blocked for the user — for example kns.cnki.net times out, returns a network/ISP block page, or shows an access blocker with no institutional route available. When that happens:
- Tell the user explicitly that the domestic site failed, state the observed reason (timeout, block page, missing institution entitlement), and say you are switching to the international platform.
- Record which platform produced every result: the overseas edition indexes a different corpus, so counts, full text and export formats are not comparable with domestic CNKI results.
- Re-check whether an authorized domestic route exists before continuing; if the user has one, ask before settling for the overseas edition. Do not treat a plain redirect to oversea.cnki.net as "the domestic site is down" by itself — navigate to the kns.cnki.net entry first.
Evidence
This release is a UI-guided workflow, not a tested site scraper. In development, www.cnki.net redirected to oversea.cnki.net; Chinese language selection reached /chn/, exposing 主题, 搜索, 高级检索 and 出版物检索. Clicking 高级检索 on the overseas platform triggered a puzzle CAPTCHA before query submission. A later run opened https://kns.cnki.net/kns8s/defaultresult/index directly: the domestic 检索 page rendered 主题/学术期刊 controls and a result table, an institutional login was recognised, and a 主题 keyword search returned 总库 / 学术期刊 / 学位论文 counts without a CAPTCHA. The domestic entry is therefore the verified default; the overseas platform is fallback only (see above). Domestic full-text download and export controls remain unverified. Treat domestic and international platforms separately. Never report an attempted click as a successful search/export/download. Keep publication date, online-first date and indexing date distinct. Missing fields stay missing.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

