cnki-download — Claude Code skill: download papers
Download a specific CNKI paper as PDF or CAJ from its detail page. The account must be signed in and allowed to download.
npx skills add cookjohn/cnki-skills --skill cnki-download -a claude-codeWhat cnki-download does
Give the skill a paper URL, or open the paper page in the browser first. It navigates to a supplied URL with navigate_page, then uses evaluate_script to inspect the page and trigger a PDF or CAJ download. If you do not choose a format, it tries an available PDF link first, then CAJ.
The result includes the paper title and format; find the file in Chrome’s download manager. A visible captcha requires manual completion in Chrome. The download cannot start unless the CNKI account is signed in and has download permission.
What it helps with
- download a specific CNKI paper as PDF
- get a paper in CAJ format
- start a download from a paper detail page
- identify when sign-in or a captcha blocks a download
Example prompts for the agent
- Download this CNKI paper as a PDF: [paper URL]
- Save the open CNKI paper in CAJ format
- Try downloading this paper and tell me if CNKI requires sign-in: [paper URL]
How to install cnki-download
1Skills CLI (Vercel)
npx skills add cookjohn/cnki-skills --skill cnki-download -a claude-code2Manually: put the files in place
~/.claude/skills/cnki-download/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/cnki-download/
1Skills CLI (Vercel)
npx skills add cookjohn/cnki-skills --skill cnki-download -a codex2Manually: put the files in place
.agents/skills/cnki-download/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add cookjohn/cnki-skills --skill cnki-download -a cursor2Manually: put the files in place
.cursor/skills/cnki-download/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install cookjohn/cnki-skills cnki-download2Manually: put the files in place
.github/skills/cnki-download/SKILL.md1Skills CLI (Vercel)
npx skills add cookjohn/cnki-skills --skill cnki-download -a gemini-cli2Platform CLI
gemini skills install https://github.com/cookjohn/cnki-skills --path skills/cnki-downloadManually: put the files in place
.devin/skills/cnki-download/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add cookjohn/cnki-skills --skill cnki-download -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about cnki-download
How do I install cnki-download in Claude Code?
Run npx skills add cookjohn/cnki-skills --skill cnki-download -a claude-code. The skill file is at ~/.claude/skills/cnki-download/SKILL.md.
What does cnki-download do?
It opens a CNKI paper page and triggers a PDF or CAJ download. The file appears in Chrome’s download manager.
Does cnki-download require a CNKI account?
Yes. You must be signed in with download permission. If a captcha appears, complete it manually in Chrome.