agentCLAWHUBUnverified

Cnki

中国知网 (CNKI) 统一入口 - 搜索、下载、导出、详情查询一体化技能 Skill: Cnki Owner: jirboy Summary: 中国知网 (CNKI) 统一入口 - 搜索、下载、导出、详情查询一体化技能 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-16T09:47:37.520Z | auto CNKI skill unified multiple features into a single streamlined tool for literature search, download, export, and journal access. - Integrates multiple related CNKI skills (search, detail, download, export, journal functions) into a single entry point. - Reduces tool cal

OpenClaw

Rank

62

Safety

84

Downloads

1.3k

Updated

Oct 10, 2026

Version

1.0.0

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 10, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 10, 2026
Adoption signal
1.3K downloadsadoption · observed Oct 10, 2026
Latest release
1.0.0release · observed Apr 16, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s172kehers3wd9ajz7fymawqnn843cz8:cnki
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-jirboy-cnki/snapshot"

Documentation

CLAWHUB

15,813 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: cnki
version: 1.0.0
description: 中国知网 (CNKI) 统一入口 - 搜索、下载、导出、详情查询一体化技能
license: MIT
author: OpenClaw Community
argument-hint: "[命令] [参数] - 例如:search 振动控制, download, export zotero, detail [URL]"
---

# CNKI 统一入口技能

**版本:** 1.0.0  
**整合自:** cnki-search, cnki-advanced-search, cnki-paper-detail, cnki-download, cnki-export, cnki-journal-search, cnki-journal-toc, cnki-parse-results

---

## 🎯 功能概览

| 命令 | 功能 | 原技能 |
|------|------|--------|
| `search` | 基础搜索 | cnki-search |
| `advsearch` | 高级搜索(作者/期刊/年份/SCI/EI 等) | cnki-advanced-search |
| `detail` | 获取论文详情 | cnki-paper-detail |
| `download` | 下载 PDF/CAJ | cnki-download |
| `export` | 导出到 Zotero 或 RIS | cnki-export |
| `journal` | 期刊搜索 | cnki-journal-search |
| `toc` | 期刊目录 | cnki-journal-toc |

---

## 📖 使用方式

### 1️⃣ 基础搜索
```
search [关键词]
search 振动控制
search 实时混合试验 RTHS
```

### 2️⃣ 高级搜索
```
advsearch [自然语言描述条件]
advsearch 作者 张三 期刊 建筑结构学报 2020-2025
advsearch 主题 振动控制 来源类别 SCI,EI
```

### 3️⃣ 论文详情
```
detail [URL]
detail https://kns.cnki.net/kcms2/article/abstract?xxx
```
(如已在论文详情页,可省略 URL)

### 4️⃣ 下载论文
```
download pdf [URL]
download caj [URL]
```
(如已在论文详情页,可省略 URL)

### 5️⃣ 导出文献
```
export zotero [URL]     # 导出到 Zotero(默认)
export ris [URL]        # 保存为 RIS 文件
export gb [URL]         # 输出 GB/T 7714 格式引用
```

### 6️⃣ 期刊相关
```
journal [期刊名]        # 搜索期刊
toc [期刊名] [年份]     # 查看期刊目录
```

---

## 🛠️ 工作流程

### search 命令流程
```
1. 导航到搜索页 (kns.cnki.net/kns8s/search)
2. 填入关键词并搜索
3. 提取结果(标题/作者/期刊/日期/引用/下载)
4. 返回结构化结果
```

### advsearch 命令流程
```
1. 导航到高级搜索页 (kns.cnki.net/kns/AdvSearch)
2. 解析自然语言条件 → 填充表单字段
   - 主题/篇名/关键词
   - 作者/期刊
   - 年份范围
   - 来源类别 (SCI/EI/北大核心/CSSCI/CSCD)
3. 执行搜索并返回结果
```

### detail 命令流程
```
1. 导航到论文页(如提供 URL)
2. 检查验证码(滑块拼图)
3. 提取完整元数据:
   - 标题/作者/单位
   - 摘要/关键词
   - 基金/分类号
   - DOI/URL
```

### download 命令流程
```
1. 导航到论文页(如提供 URL)
2. 检查登录状态和验证码
3. 点击下载链接(PDF 或 CAJ)
4. 确认下载开始
```

### export 命令流程
```
1. 检查当前页面类型(详情页/列表页)
2. 单篇模式:从详情页提取引用数据
3. 批量模式:从列表页批量导出
4. 推送到 Zotero 或保存 RIS 文件
```

---

## ⚠️ 注意事项

### 验证码处理
- **滑块拼图:** 需手动在 Chrome 中完成
- **检测逻辑:** 仅检查可见验证码(排除隐藏的 SDK 验证)
- **提示:** 发现验证码时立即通知用户

### 登录要求
- **下载:** 必须登录 CNKI 且有下载权限
- **导出:** 部分功能需要登录
- **搜索:** 无需登录

### 浏览器要求
- **必须:** Chrome + chrome-devtools MCP
- **推荐:** 保持登录状态

---

## 📊 效率优化

### 工具调用次数对比

| 场景 | 原多技能 | 统一入口 | 节省 |
|------|---------|---------|------|
| 搜索 + 详情 | 2 次调用 | 1 次调用 | 50% |
| 搜索 + 下载 | 3 次调用 | 2 次调用 | 33% |
| 搜索 + 导出 | 3 次调用 | 2 次调用 | 33% |
| 批量导出 | N×3 次 | N+1 次 | ~66% |

### 批量导出优化
**原流程:** 每篇论文单独导航 → 3 次调用 × N 篇  
**新流程:** 列表页直接批量导出 → 2 次调用总计

---

## 🔧 技术实现

### 核心 JavaScript 函数

所有浏览器操作通过单个 `evaluate_script` 完成,避免多次 `wait_for`:

```javascript
async () => {
  // 1. 等待页面加载(轮询检测)
  await new Promise((r, j) => {
    let n = 0;
    const c = () => {
      if (document.querySelector('目标选择器')) r();
      else if (++n > 30) j('timeout');
      else setTimeout(c, 500);
    };
    c();
  });

  // 2. 检查验证码(仅可见区域)
  const captcha = document.querySelector('#tcaptcha_transform_dy');
  if (captcha && ca

_meta.json

{
  "ownerId": "kn7024ea9mpn20nvh221shx04h8434xe",
  "slug": "cnki",
  "version": "1.0.0",
  "publishedAt": 1776332857520
}

COMPLETION_REPORT.md

# CNKI 技能整合完成报告

**整合时间:** 2026-04-08 17:45  
**整合者:** SuperMike

---

## ✅ 整合成果

### 整合前 vs 整合后

| 指标 | 整合前 | 整合后 | 改善 |
|------|--------|--------|------|
| **技能数量** | 10 个独立技能 | 1 个统一入口 + 10 个兼容层 | 🔻 -90% 核心代码 |
| **用户命令** | 10 个不同命令 | 1 个技能 + 6 个子命令 | 🔻 简化 90% |
| **维护成本** | 10 处独立维护 | 1 处核心维护 | 🔻 简化 90% |
| **代码复用** | 重复代码 ~70% | 统一核心代码 | 🔺 提升 70% |

---

## 📦 新技能结构

### 统一入口(核心)

```
skills/cnki/
├── SKILL.md              # 统一入口文档(4.2KB)
├── package.json          # 包配置(155B)
└── INTEGRATION_PLAN.md   # 整合方案(3.0KB)
```

### 兼容层(5 个核心技能保留)

| 技能名 | 状态 | 说明 |
|--------|------|------|
| cnki-search | ✅ 兼容层 | 调用 `cnki search` |
| cnki-advanced-search | ✅ 兼容层 | 调用 `cnki advsearch` |
| cnki-paper-detail | ✅ 兼容层 | 调用 `cnki detail` |
| cnki-download | ✅ 兼容层 | 调用 `cnki download` |
| cnki-export | ✅ 兼容层 | 调用 `cnki export` |

### 已废弃(5 个技能标记)

| 技能名 | 状态 | 替代命令 |
|--------|------|---------|
| cnki-journal-search | ⚠️ 已废弃 | `cnki journal` |
| cnki-journal-toc | ⚠️ 已废弃 | `cnki toc` |
| cnki-navigate-pages | ⚠️ 已废弃 | 内置 |
| cnki-parse-results | ⚠️ 已废弃 | 内置 |
| cnki-journal-index | ⚠️ 已废弃 | `cnki journal` |

---

## 🎯 功能映射

### 命令对照表

| 原技能 | 原命令 | 新命令 | 状态 |
|--------|--------|--------|------|
| cnki-search | `search xxx` | `cnki search xxx` | ✅ 兼容 |
| cnki-advanced-search | `advsearch ...` | `cnki advsearch ...` | ✅ 兼容 |
| cnki-paper-detail | `detail [URL]` | `cnki detail [URL]` | ✅ 兼容 |
| cnki-download | `download pdf/caj` | `cnki download pdf/caj` | ✅ 兼容 |
| cnki-export | `export zotero/ris/gb` | `cnki export zotero/ris/gb` | ✅ 兼容 |
| cnki-journal-search | `journal xxx` | `cnki journal xxx` | ⚠️ 需迁移 |
| cnki-journal-toc | `toc xxx 2024` | `cnki toc xxx 2024` | ⚠️ 需迁移 |

---

## 📖 使用示例

### 1️⃣ 基础搜索
```bash
# 新用法(推荐)
cnki search 振动控制

# 旧用法(仍然可用)
search 振动控制
```

### 2️⃣ 高级搜索
```bash
# 新用法(推荐)
cnki advsearch 作者 张三 期刊 建筑结构学报 2020-2025

# 旧用法(仍然可用)
advsearch 作者 张三 ...
```

### 3️⃣ 论文详情
```bash
# 新用法(推荐)
cnki detail https://kns.cnki.net/kcms2/article/abstract?xxx

# 旧用法(仍然可用)
detail https://kns.cnki.net/kcms2/article/abstract?xxx
```

### 4️⃣ 下载论文
```bash
# 新用法(推荐)
cnki download pdf https://kns.cnki.net/kcms2/article/abstract?xxx

# 旧用法(仍然可用)
download pdf https://kns.cnki.net/kcms2/article/abstract?xxx
```

### 5️⃣ 导出文献
```bash
# 新用法(推荐)
cnki export zotero https://kns.cnki.net/kcms2/article/abstract?xxx

# 旧用法(仍然可用)
export zotero https://kns.cnki.net/kcms2/article/abstract?xxx
```

### 6️⃣ 期刊搜索(需迁移)
```bash
# 新用法(必须)
cnki journal 建筑结构学报

# 旧用法(已废弃)
journal-search 建筑结构学报  ❌
```

---

## 🔧 技术实现

### 统一入口核心特性

1. **单文件架构**
   - 所有功能在一个 SKILL.md 中
   - 通过子命令区分功能
   - 共享浏览器会话和状态

2. **智能参数解析**
   ```javascript
   // 解析命令和参数
   const [command, ...args] = $ARGUMENTS.split(' ');
   switch (command) {
     case 'search': return doSearch(args);
     case 'advsearch': return doAdvSearch(args);
     case 'detail': return doDetail(args);
     case 'download': return doDownload(args);
     case 'export': return doExport(args);
     case 'journal': return doJourna

INTEGRATION_PLAN.md

# CNKI 技能整合方案

**整合时间:** 2026-04-08  
**整合者:** SuperMike

---

## 📊 整合前后对比

### 整合前(10 个独立技能)

| 技能名 | 功能 | 状态 |
|--------|------|------|
| cnki-search | 基础搜索 | 🔴 保留(向后兼容) |
| cnki-advanced-search | 高级搜索 | 🔴 保留(向后兼容) |
| cnki-paper-detail | 论文详情 | 🔴 保留(向后兼容) |
| cnki-download | 下载论文 | 🔴 保留(向后兼容) |
| cnki-export | 导出文献 | 🔴 保留(向后兼容) |
| cnki-journal-search | 期刊搜索 | 🟡 可废弃 |
| cnki-journal-toc | 期刊目录 | 🟡 可废弃 |
| cnki-navigate-pages | 翻页导航 | 🟡 可废弃 |
| cnki-parse-results | 结果解析 | 🟡 可废弃 |
| cnki-journal-index | 期刊索引 | 🟡 可废弃 |

### 整合后(1 个统一入口 + 兼容层)

| 技能名 | 功能 | 状态 |
|--------|------|------|
| **cnki** | 统一入口(主技能) | ✅ 新增 |
| cnki-search | 兼容层(调用 cnki) | 🟢 保留 |
| cnki-advanced-search | 兼容层(调用 cnki) | 🟢 保留 |
| cnki-paper-detail | 兼容层(调用 cnki) | 🟢 保留 |
| cnki-download | 兼容层(调用 cnki) | 🟢 保留 |
| cnki-export | 兼容层(调用 cnki) | 🟢 保留 |

---

## 🎯 整合策略

### 方案 A:完全替换(激进)
- 删除 9 个旧技能,只保留 `cnki`
- **优点:** 代码最简洁
- **缺点:** 破坏现有工作流,需要修改所有调用

### 方案 B:兼容层(推荐)✅
- 保留 5 个核心旧技能作为兼容层
- 旧技能内部调用新 `cnki` 技能
- **优点:** 向后兼容,平滑迁移
- **缺点:** 代码有冗余

### 方案 C:双轨并行(保守)
- 新旧技能并存,让用户选择
- **优点:** 最安全
- **缺点:** 维护成本最高

**选择:方案 B(兼容层)**

---

## 📋 实施步骤

### 阶段 1:创建统一入口(✅ 已完成)
- [x] 创建 `cnki/SKILL.md`
- [x] 创建 `cnki/package.json`

### 阶段 2:更新兼容层(待执行)
更新以下 5 个技能的 SKILL.md,改为调用统一入口:

```markdown
# cnki-search(兼容层)

**已整合到 cnki 统一入口技能**

本技能保留用于向后兼容,实际功能调用 `cnki search $ARGUMENTS`

## 用法
直接使用 `cnki search [关键词]` 或继续用本技能(自动转发)
```

### 阶段 3:标记废弃技能(待执行)
在以下 5 个技能 SKILL.md 顶部添加废弃通知:

```markdown
> ⚠️ **已废弃** - 功能已整合到 `cnki` 统一入口技能
> 
> 请使用:`cnki journal [期刊名]` 替代本技能
```

### 阶段 4:测试验证(待执行)
- [ ] 测试 `cnki search` 命令
- [ ] 测试 `cnki advsearch` 命令
- [ ] 测试 `cnki detail` 命令
- [ ] 测试 `cnki download` 命令
- [ ] 测试 `cnki export` 命令
- [ ] 测试旧技能兼容层

### 阶段 5:文档更新(待执行)
- [ ] 更新 TOOLS.md 中的 CNKI 技能说明
- [ ] 更新用户使用指南

---

## 🔧 统一入口功能映射

| 原技能 | 新命令 | 参数格式 |
|--------|--------|---------|
| cnki-search | `cnki search` | `search [关键词]` |
| cnki-advanced-search | `cnki advsearch` | `advsearch [自然语言条件]` |
| cnki-paper-detail | `cnki detail` | `detail [URL]` |
| cnki-download | `cnki download` | `download [pdf/caj] [URL]` |
| cnki-export | `cnki export` | `export [zotero/ris/gb] [URL]` |
| cnki-journal-search | `cnki journal` | `journal [期刊名]` |
| cnki-journal-toc | `cnki toc` | `toc [期刊名] [年份]` |

---

## 📈 整合收益

### 代码量减少
- **原 10 个技能:** ~3000 行代码
- **新统一入口:** ~500 行核心代码 + 5 个兼容层(各 20 行)
- **节省:** ~70%

### 维护成本降低
- **修复 bug:** 1 处修复 → 所有功能受益
- **添加功能:** 1 处添加 → 所有命令可用
- **更新逻辑:** 统一升级,无遗漏

### 用户体验提升
- **学习成本:** 1 个技能 vs 10 个技能
- **命令一致性:** 统一参数格式
- **错误提示:** 统一风格

---

## ⚠️ 注意事项

### 向后兼容
- 保留的 5 个核心技能必须保持原有行为
- 参数格式不能改变
- 输出格式保持兼容

### 渐进迁移
- 不强制用户立即切换
- 新文档优先推荐统一入口
- 旧技能逐步标记为"已整合"

### 测试覆盖
- 每个命令都需要测试
- 验证码处理逻辑必须验证
- 批量操作需要特别测试

---

## 📝 后续优化

### 短期(1 周内)
- [ ] 完成兼容层更新
- [ ] 完成基础测试
- [ ] 更新文档

### 中期(1 个月内)
- [ ] 添加批量下载功能
- [ ] 优化结果缓存
- [ ] 添加引文分析

### 长期(3 个月内)
- [ ] 跨库检索支持
- [ ] 学者主页查询
- [ ] 机构知识库

---

_整合方案版本:1.0_  
_创建时间:2026-04-08_

skill-card.md

## Description:

CNKI is a unified entry point for searching China National Knowledge Infrastructure, retrieving paper details, downloading PDF or CAJ files, exporting citations, and browsing journal information.

This skill is ready for commercial/non-commercial use.

## Publisher:

[jirboy](https://clawhub.ai/user/jirboy)

### License/Terms of Use:

MIT-0

## Use Case:

Researchers, students, and developers use this skill to run CNKI literature workflows from an agent: keyword and advanced search, article metadata lookup, downloads, citation export, and journal table-of-contents queries.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill uses a logged-in Chrome profile for CNKI operations.

Mitigation: Use a dedicated browser profile for CNKI and avoid profiles containing unrelated logged-in accounts.

Risk: User-supplied URLs can direct browser automation beyond the intended CNKI page scope.

Mitigation: Limit supplied URLs to official CNKI pages and manually review navigation before sensitive actions.

Risk: Downloads and Zotero or RIS exports can create files or modify local citation workflows.

Mitigation: Manually confirm downloads and exports, and review generated files or Zotero entries before relying on them.

Risk: CAPTCHA, login state, and access permissions can block or alter expected behavior.

Mitigation: Complete CNKI verification manually and confirm account download permissions before requesting download or export actions.

## Reference(s):

- [ClawHub skill page for cnki](https://clawhub.ai/jirboy/skills/cnki)
- [ClawHub publisher profile for jirboy](https://clawhub.ai/user/jirboy)

## Skill Output:

**Output Type(s):** [Text, Markdown, Code, Shell commands, Configuration, Guidance]

**Output Format:** [Markdown responses with structured literature metadata, citation/export instructions, and inline commands or browser automation snippets when needed.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May initiate browser-driven CNKI downloads or Zotero/RIS exports when the user has access and confirms required steps.]

## Skill Version(s):

1.0.0 (source: server release, SKILL.md frontmatter, package.json)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
Github ReposUpdated 1d agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/jirboy/skills/cnki",
      "sourceUrl": "https://clawhub.ai/jirboy/skills/cnki",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-10T16:55:15.704Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-jirboy-cnki/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-jirboy-cnki/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-10T16:55:15.704Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "1.3K downloads",
      "href": "https://clawhub.ai/jirboy/cnki",
      "sourceUrl": "https://clawhub.ai/jirboy/cnki",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-10T16:55:15.704Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.0",
      "href": "https://clawhub.ai/jirboy/cnki",
      "sourceUrl": "https://clawhub.ai/jirboy/cnki",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-16T09:47:37.520Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-jirboy-cnki/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-jirboy-cnki/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.0",
      "description": "CNKI skill unified multiple features into a single streamlined tool for literature search, download, export, and journal access. - Integrates multiple related CNKI skills (search, detail, download, export, journal functions) into a single entry point. - Reduces tool call counts and speeds up batch operations (e.g., search + detail in one step, bulk export directly from results page). - Offers clear, unified command syntax for searching, advanced search, fetching details, downloading, exporting, and journal queries. - Enhances workflow with unified error handling and efficient browser script execution. - Provides user guidance for captcha, login requirements, and browser compatibility. - Backwards compatible with legacy skills and workflows.",
      "href": "https://clawhub.ai/jirboy/cnki",
      "sourceUrl": "https://clawhub.ai/jirboy/cnki",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-04-16T09:47:37.520Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 10, 2026.

Sponsored

Ads related to Cnki and adjacent AI workflows.