cnki-advanced-search — Claude Code skill: search and install
This skill runs filtered CNKI searches by field, author, journal, dates, and source category. Use it when keyword-only search is too broad.
npx skills add cookjohn/cnki-skills --skill cnki-advanced-search -a claude-codeWhat cnki-advanced-search does
The skill turns a natural-language request into CNKI advanced-search filters. It can target subject, title, or keyword fields, add an author and journal, set a date range, and limit results to source categories such as SCI, EI, CSSCI, CSCD, or 北大核心. It uses the old kns.cnki.net/kns/AdvSearch interface because that form contains the source-category filters.
The agent opens the page with mcp__chrome-devtools__navigate_page, then runs one asynchronous evaluate_script. The script fills the form, submits the search, waits for results, and returns the result count, page marker, and URL. A visible CNKI captcha stops the search, so the page needs a manual check before continuing.
What it helps with
- search CNKI by author and subject
- filter papers by journal
- set a publication date range
- limit results to SCI or CSSCI sources
- return the result count and results URL
Example prompts for the agent
- Search CNKI for papers about “machine learning” within the requested date range, limited to CSSCI, and report the result count.
- Run an advanced CNKI search for author “Ivan Ivanov” and journal “Journal Name”.
- Search two keyword groups in CNKI, connect them with AND, and return the results URL.
How to install cnki-advanced-search
1Skills CLI (Vercel)
npx skills add cookjohn/cnki-skills --skill cnki-advanced-search -a claude-code2Manually: put the files in place
~/.claude/skills/cnki-advanced-search/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/cnki-advanced-search/
1Skills CLI (Vercel)
npx skills add cookjohn/cnki-skills --skill cnki-advanced-search -a codex2Manually: put the files in place
.agents/skills/cnki-advanced-search/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add cookjohn/cnki-skills --skill cnki-advanced-search -a cursor2Manually: put the files in place
.cursor/skills/cnki-advanced-search/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install cookjohn/cnki-skills cnki-advanced-search2Manually: put the files in place
.github/skills/cnki-advanced-search/SKILL.md1Skills CLI (Vercel)
npx skills add cookjohn/cnki-skills --skill cnki-advanced-search -a gemini-cli2Platform CLI
gemini skills install https://github.com/cookjohn/cnki-skills --path skills/cnki-advanced-searchManually: put the files in place
.devin/skills/cnki-advanced-search/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add cookjohn/cnki-skills --skill cnki-advanced-search -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-advanced-search
How do I install cnki-advanced-search in Claude Code?
Run npx skills add cookjohn/cnki-skills --skill cnki-advanced-search -a claude-code, then run npx skills add cookjohn/cnki-skills --skill cnki-advanced-search -a claude-code again and check ~/.claude/skills/cnki-advanced-search/SKILL.md.
What does cnki-advanced-search do?
It runs filtered searches on CNKI using fields, author, journal, dates, and source categories. It reports the result count, page marker, and results URL.
Which platforms support this skill?
It is intended for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode.