← ClaudeAtlas

cnki-exportlisted

Export paper from CNKI and push to Zotero, or save as RIS file. Use when user wants to save a paper to Zotero or export citation data.
Jensen-Yao/agents-skills · ★ 0 · Data & Documents · score 68
Install: claude install-skill Jensen-Yao/agents-skills
# 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 `chrome-devtools.evaluate_script`: ```javascript 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 }) }); cons