
Cnki Search
Searches CNKI (China National Knowledge Infrastructure) for academic papers and returns structured results in two tool calls. Handles the search form, waits for results, and extracts titles, authors, journals, dates, citations, and download counts into a clean list. Includes captcha detection that checks if Tencent's challenge is actually visible rather than just preloaded in the DOM. When you want to open a specific paper, it navigates directly to the URL instead of clicking links to avoid unnecessary tab management overhead. Works with the cnki-export skill for batch saving to Zotero without visiting individual paper pages. Useful if you're doing Chinese academic research and want programmatic access to CNKI's database without manually clicking through their interface.
- skills.sh installs
- 1.2K
- GitHub stars
- 1.1K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add cookjohn/cnki-skills --skill cnki-search --agent claude-codeInstalls into .claude/skills of the current project.
Files
CNKI Basic Search
Search CNKI for papers using keyword(s). Returns result count and structured result list (titles, URLs, authors, journal, date) in a single call.
Arguments
$ARGUMENTS contains the search keyword(s) in Chinese or English.
Steps
1. Navigate
Use mcp__chrome-devtools__navigate_page → https://kns.cnki.net/kns8s/search
2. Search + extract results (single evaluate_script, NO wait_for)
Replace YOUR_KEYWORDS with actual search terms:
async () => {
const query = "YOUR_KEYWORDS";
// Wait for search input (replaces wait_for)
await new Promise((r, j) => {
let n = 0;
const c = () => { if (document.querySelector('input.search-input')) r(); else if (++n > 30) j('timeout'); else setTimeout(c, 500); };
c();
});
// Check captcha (only if visible on screen, not hidden SDK at top:-1000000)
const outer = document.querySelector('#tcaptcha_transform_dy');
if (outer && outer.getBoundingClientRect().top >= 0) return { error: 'captcha' };
Sponsors
Details
- Repository
- github.com/cookjohn/cnki-skills
- Category
- Marketing & SEO
- First seen
- Jun 3, 2026