Skip to content
cookjohn avatar

Cnki Parse Results

Extract structured paper data from CNKI search results pages, covering title, authors, journal, date, and citations.

CCM score
62 of 100
skills.sh installs
423
GitHub stars
1.1K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the post-search extraction flow: verify the results page, run a DOM query, and present a numbered list
  • Includes a JavaScript extractor for title, authors, journal, date, database type, citations, downloads, and export ID per row
  • Enforces a stop with a notice when the page lacks "条结果" or a captcha must be solved manually
  • Designed for use after a CNKI search has run and the results need to be pulled into structured data

Install

$ npx -y skills add cookjohn/cnki-skills --skill cnki-parse-results -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

CNKI Parse Search Results

Extract structured paper data from the current CNKI search results page.

Prerequisites

The current Chrome page must be a CNKI search results page (URL contains kns.cnki.net and page shows "条结果").

Steps

1. Verify we are on a results page

Use mcp__chrome-devtools__take_snapshot. Verify the page contains "条结果". If not, inform the user that no search results page is currently open.

Check for captcha ("拖动下方拼图完成验证") - if found, notify user to solve it manually.

2. Extract results via JavaScript

Use mcp__chrome-devtools__evaluate_script with this function:

Details

Repository
github.com/cookjohn/cnki-skills
Categories
Research & Academic, Browser Automation & Scraping
First seen
Jun 3, 2026

Questions

What does the cnki-parse-results skill do?

It extracts structured paper data from the CNKI search results page currently open in Chrome, including title, authors, journal, date, and citation counts. It is meant for use after a search has already been performed, so the agent can read the results. If the page shows a captcha, the user must solve it manually first.

How do I install the cnki-parse-results skill?

Run npx -y skills add cookjohn/cnki-skills --skill cnki-parse-results -y in your project. The skill then lets the agent pull the results from a CNKI search page into a numbered list with links to each paper.

What does cnki-parse-results need to run?

It needs a Chrome browser with the chrome-devtools MCP server available, and the current page must be a CNKI results page at kns.cnki.net. If the DOM structure changes, the skill falls back to parsing the page accessibility snapshot.

More from cookjohn/cnki-skills

All 10

Similar to Cnki Parse Results

More Research & Academic