cnki-search

Search CNKI (中国知网) for papers by keyword. Use when the user wants to find academic papers on a topic.

By cookjohn · 1,080 installs

npx skills add cookjohn/cnki-skills --skill cnki-search

Source repository · Upstream listing

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: 3. Report Present results as a numbered list: 4. Follow up: navigate to a paper When the user wants to open or download a specific paper, use navigate page with the result's href URL directly — do NOT click the link (clicking opens a new tab and wastes 3 extra tool calls for tab management). Captcha detection Check tcaptcha transform dy element's getBoundingClientRect().top = 0 . Tencent captcha SDK preloads DOM at top: 1000000px (off screen, not active). Only return error: 'captcha' when top = 0 (actually visible to user). Verified selectors Element Selector Notes Search input input.search input id= txt search , placeholder "中文文献、外文文献" Search button input.search btn type="button" Result count .pagerTitleCell text "共找到 X 条结果" Page indicator .countPageMark text "1/300" Result rows .result table list tbody tr Each row = one paper Title link td.name a.fz14 Paper title with href Authors td.author a.KnowledgeNetLink Author name links Journal td.source a Journal/source link Date td.date Publication date text Citations td.quote Citation count Downloads td.download Download count Batch export to Zotero When user wants to save results to Zotero, use batch export directly from the results page — do NOT navigate to each detail page . The exportId in results equals the detail page's export id . Call cnki export skill with batch mode (Step 1B). See cnki export SKILL.md for details. Tool calls: 2 (navigate + evaluate script)