cnki-advanced-search

cnki-advanced-search is a skill for Claude Code, Codex from yipng05-max/-skills. It costs 212 tokens per session (4,663 once invoked), scanned A, original, MIT.

An automated search tool for CNKI, a Chinese academic database, that finds papers from research topics or keywords in several stages.

In plain words
What is it for?
It helps search for CSSCI or C-journal papers, retrieve bibliographic details and abstracts, sort results by citations, and export them to one Excel file.
Why use it?
It reduces the work of designing searches, expanding related terms, finding both direct and background sources, and removing duplicates.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/songyiping/.claude/skills/cnki-advanced-search/scripts/cnki_search.py.

Good fit It helps search for CSSCI or C-journal papers, retrieve bibliographic details and abstracts, sort results by citations, and export them to one Excel file.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cnki-advanced-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/yipng05-max/-skills/cnki-advanced-search/github.svg)](https://agentmods.dev/skills/yipng05-max/-skills/cnki-advanced-search)
Your own site
<a href="https://agentmods.dev/skills/yipng05-max/-skills/cnki-advanced-search"><img src="https://agentmods.dev/badge/skills/yipng05-max/-skills/cnki-advanced-search/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cnki-advanced-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/yipng05-max/-skills/cnki-advanced-search"><img src="https://agentmods.dev/badge/skills/yipng05-max/-skills/cnki-advanced-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 212 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,663 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00212 $0.04663
Opus 5 $0.00106 $0.02331
Sonnet 5 $0.00042 $0.00933
Haiku 4.5 $0.00021 $0.00466

Measured 12d ago against content hash 5dcfee2ecfbb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

cnki-advanced-search scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/cnki_search.py, scripts/diagnose_dom.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://localhost:9222/json/version 2>&1
cnki-advanced-search/SKILL.md · 356 lines

How it starts

The opening of the file, as written. The whole thing — 356 lines — stays where its author put it; the contents beside it link to each section on GitHub.

知网高级检索论文工具

调用 Python Playwright 脚本(scripts/cnki_search.py)执行全流程自动化检索,无需 MCP 工具操作浏览器。

Step 0: 解析用户输入并制定检索策略(倒剥洋葱法)

0.1 识别输入类型

类型一:单关键词(用户给出一个词或概念)

→ 将该词及其同义词、同位词用 + 连接,填入单个检索框。

例:用户说"情感劳动"→ 情感劳动 + 情绪劳动 + 情感工作


类型二:研究选题 / 研究问题(用户给出包含多个概念的完整表述)

→ 从选题中提取 2-4 个核心概念,每个概念分别扩展同义词/同位词,各自作为一个检索组,组间关系为 AND(联合检索)。

例:用户说"超大城市老旧社区数字治理的悬浮与重建"→ 提取三组核心概念:

  • 第一组(场所):老旧社区 + 老旧小区 + 城市社区
  • 第二组(议题):数字治理 + 数字化治理 + 数字技术治理
  • 第三组(机制):技术悬浮 + 数字悬浮 + 技术失灵

三组形成 AND 联合检索,聚焦"老旧社区 × 数字治理 × 悬浮机制"的交叉文献。

注意:不要把一个选题的几个概念各自独立检索再合并,那会检出大量不相关文献。AND联合检索才能聚焦核心文献。

0.2 上位概念预分析(关键步骤)

填词之前,对每个概念组完成以下判断:

判断该组词是否"过于精确/小众"

  • 新兴理论术语(如"技术悬浮""制度悬置")
  • 极具体的场所或现象描述(如"老旧社区""城中村")
  • 近几年才出现的政策/实践概念(如"数字乡村""反向育儿")

如果某组词落入上述类别,立即在该组内加入上位概念(用 + OR关系),不要等到检索失败后才扩展。

概念类型 精确词 主动纳入的上位概念/兜底词
新兴理论术语 技术悬浮 + 数字悬浮 技术失灵 + 数字鸿沟 + 基层数字化
具体场所 老旧社区 + 老旧小区 城市社区 + 社区治理
新政策概念 数字乡村 农村数字化 + 乡村振兴 + 农村信息化
具体机制 制度悬置 制度失效 + 制度执行 + 基层治理

规则:宁可初始词组稍宽,也不要等检索为0后才想起扩展。上位概念应在设计时就一并纳入同一组的 + OR列表中。

0.3 倒剥洋葱策略(结果不足时自动降级)

先用全部概念组 AND 检索(最聚焦层)。若检索结果过少(< 20篇),自动减少 AND 组数,最少保留 2 组 AND,不自动降至 1 组:

层级 策略 适用场景
第1层(最聚焦) 所有概念组 AND 交叉研究、新兴议题
第2层 去掉最次要的一组,保留核心 N-1 组 AND 第1层结果 < 20篇
第3层(底线) 保留最核心的 2 组 AND 第2层结果仍 < 20篇

去组顺序原则:先去掉与研究问题关系最外围的概念组(如修饰性概念、情境概念),最后保留最核心的理论/机制概念组。

0.4 向用户确认

列出拟定的检索分组和当前层级策略,等用户确认后再执行。格式示例:

检索策略:第1层(3组 AND 联合检索)
- 组1(场所):老旧社区 + 老旧小区 + 城市社区 + 社区治理
- 组2(议题):数字治理 + 数字化治理 + 数字技术治理
- 组3(机制):技术悬浮 + 数字悬浮 + 技术失灵 + 基层数字化
若结果 < 20篇,将自动降至第2层(去掉组3,保留组1 AND 组2)
若仍 < 20篇,保留2组AND并停止降级,提示调整关键词

0.5 结果反思触发条件

脚本报告以下情况时,必须停下来重新思考关键词,不能直接导出

情况 诊断方向
2组AND结果为0 两组词都太专 → 各自替换为更高层的上位概念
2组AND结果 < 5篇 某组词太冷僻 → 找出哪组更窄,优先替换该组
2组AND结果 5-19篇 边界情况 → 尝试在某一组补充1-2个上位概念后重检索

底线原则:宁可修改关键词重跑,也不接受"2组AND < 20篇"的结果直接导出。1组AND的结果范围太宽,不具备文献聚焦价值。

Step 0.5: 检查 Chrome 调试模式

Read the full file on GitHub · 356 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 356 lines · 212 tokens per session scan A 5dcfee2ecfbb

Subscribe to this mod's changes

cnki-advanced-search is a skill published in the GitHub repository yipng05-max/-skills (285 stars, last pushed 4mo ago), licensed MIT. It adds 212 tokens to every session and 4,663 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens