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-code

Installs 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

More from cookjohn/cnki-skills

All 10
1rknall avatarSVG Logo Designerrknall/claude-skillsCreate professional SVG logos from descriptions and design specifications. Generates multiple logo variations with different layouts, styles, and concepts. Prod1.2Kskills.sh installs
2duneanalytics avatarduneduneanalytics/skillsDune CLI for querying blockchain and on-chain data via DuneSQL, searching decoded contract tables, managing saved queries, managing visualizations, managing das1.2Kskills.sh installs
3nexscope-ai avataramazon-variation-strategynexscope-ai/amazon-skillsParent-child variation planning — when to merge/split, color/size variations, ranking benefits1.2Kskills.sh installs
4nexscope-ai avataramazon-category-ungatingnexscope-ai/amazon-skillsCategory and brand ungating — requirements, documentation, appeal process, restricted categories guide1.2Kskills.sh installs
5databricks avatardatabricks-appsdatabricks/databricks-agent-skillsBuild apps on Databricks Apps platform. Use when asked to create data apps, analytics tools, or custom interactive visualizations. A plain "create a dashboard" 1.1Kskills.sh installs
6eronred avatarpaywall-optimizationeronred/aso-skillsWhen the user wants to design, test, or optimize their app's paywall — layout, copy, pricing display, trial offers, plan structure, hard vs soft paywall, paywal1.1Kskills.sh installs