cnki-navigate-pages

Navigate CNKI search result pages and change sort order via browser automation.

850|114|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/wentorai/Research-Claw --skill cnki-navigate-pages
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cnki-navigate-pages
Source: https://github.com/wentorai/Research-Claw/tree/main/skills/cnki-navigate-pages
Command: npx skills add https://github.com/wentorai/Research-Claw --skill cnki-navigate-pages

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

When browsing CNKI (China National Knowledge Infrastructure) search results, manually clicking through pages or changing sort order is repetitive, and automated scripts often break on captchas or dynamic page updates. This Skill paginates and re-sorts CNKI result pages through a single browser evaluate call with built-in captcha detection.

Core Features & Use Cases

  • Pagination Control: Jump to the next page, previous page, or any specific page number of CNKI search results.
  • Sort Order Switching: Re-sort results by relevance, publication date, citations, downloads, or comprehensive ranking.
  • Captcha Detection: Detects Tencent captcha overlays before and after navigation and returns a clear error instead of failing silently.
  • Use Case: While reviewing literature on a topic, ask the agent to show page 3 of the results, then re-sort by citation count to surface the most influential papers first.

Quick Start

Ask the agent to go to the next page of the current CNKI search results or sort the results by citations.

Frequently Asked Questions about cnki-navigate-pages

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I navigate CNKI search result pages with browser automation?

Run a single browser evaluate action that locates the .pages a elements, clicks the link matching 下一页, 上一页, or a specific page number, then polls the .countPageMark counter until the page changes. The Skill returns the new page number and total result count.

How to sort CNKI search results by citations or date?

Click the corresponding li element inside #orderList: li#CF for citations, li#PT for publication date, li#DFR for downloads, li#FFD for relevance, or li#ZH for comprehensive. The results refresh and reset to page one after sorting.

Does CNKI automation trigger a captcha?

Yes, CNKI can show a Tencent captcha overlay. The Skill checks the #tcaptcha_transform_dy element's bounding position before and after each action and returns a captcha error when it becomes visible, so the run fails gracefully instead of clicking blindly.

Why does CNKI pagination fail or time out?

Pagination fails when the requested page link does not exist, when a captcha appears, or when the page counter does not update within the polling window. The Skill reports no_next_page, page_not_found, captcha, or timeout errors accordingly.

What are the limitations of automating CNKI result browsing?

The automation depends on CNKI's current DOM selectors such as .pages a and #orderList li, so site redesigns can break it. It also cannot bypass captchas automatically and only operates on an already-open search results page.