cnki-trend
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "cnki-trend":https://skillpi.com/zh/skills/deepskill-71002fa4c7d224bd4da0d06cfae0747f816b882540fb90c17d0c7f7057513f4a。安装前核对上游来源和版本:https://github.com/Drchronx/ai-agent-research-starter-kit。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
针对指定关键词爬取知网 getGroupData 数据,仅保留非空分组结果并生成趋势分析报告。报告包含图表,重点展示当年趋势、近年年度动量、主题集中度、学科与期刊集中度、作者与机构分布以及基金信号。在用户要求知网关键词趋势报告或先获取知网数据再解读时使用。
介绍来源: third_party · Drchronx · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- Crawl CNKI `getGroupData` for a specific keyword, keep only non-empty group results, and generate a trend-analysis report with charts focused on the current year, recent yearly momentum, topic concentration, subject and journal concentration, author and institution distribution, and fund signals. Use when the user asks for a CNKI keyword trend report, a 知网关键词趋势分析, a 年度趋势汇报, or wants CNKI data fetched first and then interpreted.
- 适合谁
- 来源文档未说明。
- 输入和输出
- 来源文档未说明。
- 软件、账号及付费要求
- 来源文档未说明。
- 限制与区别
- 来源文档未说明。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: cnki-trend
description: Crawl CNKI `getGroupData` for a specific keyword, keep only non-empty group results, and generate a trend-analysis report with charts focused on the current year, recent yearly momentum, topic concentration, subject and journal concentration, author and institution distribution, and fund signals. Use when the user asks for a CNKI keyword trend report, a 知网关键词趋势分析, a 年度趋势汇报, or wants CNKI data fetched first and then interpreted.CNKI Keyword Trend Report
Use this skill from /root/.openclaw/workspace-hotspot/skills/cnki-trend.
Workflow
- Install the local dependencies if needed:
python -m pip install -r scripts/requirements.txt
- Run the report script:
python scripts/cnki_keyword_trend_report.py "耐心资本" --print-report
Cookie 自动获取:脚本默认会自动调用 generate_client_id() 动态获取 Ecp_ClientId,无需手动配置。
- Read the generated files in
reports/:
<keyword>_valid_groups.json<keyword>_trend_report.mdcharts/*.png
- Use only the valid groups in follow-up analysis. Ignore groups with empty responses.
Behavior
-
Cookie 管理(v2.0 新增):
- 默认自动调用
generate_client_id()动态获取Ecp_ClientId(与 cnki-crawler 一致的方法) - 支持通过
--ecp-client-id参数或CNKI_ECP_CLIENT_ID环境变量手动指定 - 自动获取失败时回退到内置默认值
- 默认自动调用
-
The script hits CNKI
kvisual8/article/getGroupData. -
It tests the known candidate groups, drops empty responses, and keeps unique
(groupName, groupCode)pairs only. -
It writes raw valid-group data to JSON for traceability.
-
It writes a Markdown report that interprets:
- yearly distribution, peak year, recent-three-year share, and current-year YTD caveat
- major and secondary topic concentration
- subject concentration
- journal concentration
- author and institution dispersion
- fund support signals
-
It renders chart images in
reports/charts/and prefers Chinese-capable fonts such asMicrosoft YaHeiorSimHei.
Parameters
-
Cookie 自动获取(默认行为):
# 不传 --ecp-client-id 时,脚本自动调用 generate_client_id() 获取 python scripts/cnki_keyword_trend_report.py "耐心资本" --print-report -
手动指定 Cookie(可选):
# 方式 1:命令行参数 python scripts/cnki_keyword_trend_report.py "耐心资本" --ecp-client-id "<your-client-id>" # 方式 2:环境变量(优先级高于自动获取) $env:CNKI_ECP_CLIENT_ID="<your-client-id>" python scripts/cnki_keyword_trend_report.py "耐心资本" -
Change output directory:
python scripts/cnki_keyword_trend_report.py "耐心资本" --output-dir "reports/cnki"
Interpretation Rules
- Treat current-year counts as year-to-date values unless the year is complete.
- Do not assume
sum(y)equals unique paper count for topic, subject, author, institution, or fund groups. One paper can contribute to multiple buckets. - If the journal group collapses to a single source, call out that the sample may be too narrow for whole-CNKI conclusions.
- Prefer trend wording such as “集中”“扩散”“头部明显”“分散” over hard causal claims.
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供知网关键词趋势分析报告,满足学术研究需求
- 支持多维度分析(年度趋势、主题集中度、作者机构分布等)
- 自动生成图表增强可读性
亮点
- 触发词覆盖中英文常见表述
- 边界清晰,不易误触
亮点
- 文档结构完整,流程清晰
- 参数说明详细,含多种使用方式
- 解释规则明确,避免误导性结论
待提升项
-
重要异常处理缺失 原报告严重程度:重大
未明确说明网络异常、API 限流、数据解析失败等主要错误的处理机制
改进建议:建议在脚本中添加 try-catch 块处理网络请求异常,增加重试逻辑,并在文档中说明常见错误应对策略
亮点
- Cookie 管理完善,支持自动获取和手动指定
- 具备回退机制提升鲁棒性
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
安装或获取外部依赖
使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。
主文档提及 · 第 15 行
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
来源文档未说明。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。