
Cnki Paper Detail
Pulls complete metadata from CNKI paper detail pages, including title, authors with affiliations, abstracts, keywords, funding info, and citation counts. Uses JavaScript extraction to parse the DOM structure, with fallback to accessibility tree parsing if that fails. Handles CNKI's captcha verification by pausing and asking you to solve it manually in Chrome. The skill knows about CNKI's quirks like the "网络首发" (online first) indicators and cleans up title suffixes. Works either by navigating to a paper URL or extracting from whatever page you're already on. Most useful when you need structured data from Chinese academic papers without manually copying fields.
- skills.sh installs
- 679
- GitHub stars
- 1.1K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add cookjohn/cnki-skills --skill cnki-paper-detail --agent claude-codeInstalls into .claude/skills of the current project.
Files
CNKI Paper Detail Extraction
Extract complete metadata from a CNKI paper detail page.
Arguments
$ARGUMENTS is optionally a CNKI paper detail URL (containing kcms2/article/abstract). If not provided, assumes the current page is already a paper detail page.
Steps
1. Navigate to the paper page (if URL provided)
If $ARGUMENTS contains a URL:
- Use
mcp__chrome-devtools__navigate_pagewith the URL. - Use
mcp__chrome-devtools__wait_forwith text["摘要"]and timeout 15000.
2. Check for captcha
Use mcp__chrome-devtools__take_snapshot. If "拖动下方拼图完成验证" found, notify user:
CNKI 正在显示滑块验证码。请在 Chrome 浏览器中手动完成拼图验证,完成后告诉我继续。
3. Extract paper metadata via JavaScript
Use mcp__chrome-devtools__evaluate_script with this function:
() => {
const brief = document.querySelector('.brief');
if (!brief) return { error: 'Paper detail section (.brief) not found' };
// Title
const title = brief.querySelector('h1')?.innerText?.trim()
?.replace(/\s*附视频\s*$/, '') // remove "附视频" suffix
?.replace(/\s*网络首发\s*$/, ''); // remove "网络首发" suffix
Sponsors
Details
- Repository
- github.com/cookjohn/cnki-skills
- First seen
- Jun 3, 2026