cnki-advanced-search

Automate CNKI advanced paper searches and export deduplicated categorized Excel summaries.

Updated Apr 17, 2026
One-click install
npx skills add https://github.com/RenJW418/RenJW-Research_skill --skill cnki-advanced-search-renjw418
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cnki-advanced-search
Source: https://github.com/RenJW418/RenJW-Research_skill/tree/main/cnki-advanced-search
Command: npx skills add https://github.com/RenJW418/RenJW-Research_skill --skill cnki-advanced-search-renjw418

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, openpyxl, and includes scripts (resource) components.

What problem does it solve?

This Skill eliminates the repetitive manual work of running CNKI advanced searches, tuning multi-keyword queries, and exporting/organizing results into a single usable file.

Core Features & Use Cases

  • Three-stage retrieval strategy: builds an onion-style query plan (主体联合检索 → 独立补充检索 → 汇总合并去重) to collect both core and background literature.
  • Playwright-based browser automation: automates navigation, CSSCI filtering, keyword group input, sorting by citations, paging selection, and exporting to Excel.
  • Result control and guardrails: applies “group AND” levels with automatic keyword-group downgrading (down to a minimum 2 groups) and mandatory reflection/adjustment triggers for zero or overly small outputs.
  • Final unified spreadsheet: merges direct and indirect batches, de-duplicates by title, and outputs a categorized Excel summary.

Quick Start

Ask your agent: search CNKI CSSCI papers related to “老旧社区 × 数字治理 × 技术悬浮”,then export the deduplicated categorized Excel for both direct and supplementary (background/theory) results.

Frequently Asked Questions about cnki-advanced-search

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

FAQPage Schema
How do I automate CNKI advanced search and export CSSCI literature to Excel?

Automating CNKI advanced search uses Playwright to construct staged keyword-group queries, filter CSSCI journals, sort by citations, and export a deduplicated categorized Excel summary file.

What is the three-stage keyword strategy for CNki literature retrieval?

The three-stage literature retrieval strategy builds an onion-style query plan: main joint search, independent supplementary background search, and final merged deduplication to collect both core and background literature.

How to handle zero results when running multi-keyword CNKI advanced searches?

When multi-keyword CNKI advanced searches return zero or overly small outputs, the workflow applies automatic keyword-group downgrading to a minimum of two groups and triggers mandatory reflection and adjustment.

Do I need Playwright installed to run automated CNKI paper exports?

Yes, Playwright and openpyxl are required dependencies. Playwright drives browser automation for CNKI navigation and CAPTCHA/login detection, while openpyxl generates the final deduplicated Excel output file.

Can I retrieve supplementary theory literature separately from core CNKI search results?

Yes, the workflow executes independent supplement retrieval for background and theory literature alongside direct intersection literature, merging both batches into a unified categorized spreadsheet.

Why does my CNKI automated search fail during CSSCI journal filtering?

CNKI automated search failures during CSSCI filtering often stem from CAPTCHA or login prompts blocking Playwright browser automation, which the workflow detects and handles to maintain the export flow.