← 返回 Skills 市场
tangsuan1221

TANGSUAN1994

作者 TangSuan1221 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
121
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install knowledgeskill
功能描述
将文档摘要、分类和原链接记录到「工作知识库」智能表格中。当用户提到「知识库」,或要求"记录/存入/归档到知识库",或发来文档链接并希望整理归档时触发。流程:AI 自动生成简短摘要 → 用户指定主题分类 → 写入企业微信智能表格。
使用说明 (SKILL.md)

工作知识库记录 Skill

将文档信息(摘要、分类、链接)自动写入用户的「工作知识库」智能表格。

智能表格信息(固定)

工作流程

第一步:提取文档信息

用户发来文档链接或内容后:

  1. 文档名称:从链接标题或用户描述中提取,若无法判断则询问用户
  2. 摘要:基于文档内容或链接描述,AI 自动生成一句话简短描述(20-50字),放入「备注」字段
  3. 链接:直接使用用户提供的原始链接
  4. 主题分类必须询问用户,不要自行猜测

询问分类示例:

我已提取摘要:「{摘要内容}」,请问这份文档归属哪个主题分类?(如没有现成分类,告诉我新分类名称即可)

第二步:写入知识库

确认分类后,使用 mcporter call wecom-doc.smartsheet_add_records 写入:

mcporter call wecom-doc.smartsheet_add_records --args '{
  "docid": "dc582Cpold81fGNQo15Ky9YOmywvoKi6YHxC8mCoEjY6dL1F90iJidFzHo-BVnWZA01cnFxG7gtqnUFBEWYJiAFg",
  "sheet_id": "q979lj",
  "records": [
    {
      "values": {
        "文档名称": [{"type": "text", "text": "{文档名称}"}],
        "主题分类": [{"text": "{用户指定的分类}"}],
        "链接": [{"type": "url", "text": "{文档名称}", "link": "{原始链接}"}],
        "备注": [{"type": "text", "text": "{AI生成的摘要}"}]
      }
    }
  ]
}' --output json

第三步:回复用户

写入成功后告知用户:

✅ 已记录到知识库!查看知识库

前置依赖

  • 需要 mcporter 已安装且 wecom-doc MCP server 已配置
  • 若未配置,参考 wecom-doc skill 的配置流程

批量录入

用户一次发多个文档时,逐条提取摘要,一次性询问所有文档的分类,确认后批量写入(单次 smartsheet_add_records 支持多条 records)。

安全使用建议
Before installing or enabling this skill: (1) Confirm who owns the hard-coded WeCom smart-sheet (docid/sheet_id). If it is not under your control, do not send sensitive documents to it. (2) Expect to install and configure the mcporter CLI and the wecom-doc MCP server yourself; the skill metadata should have declared this — ask the author to add required binaries and credential details. (3) If you will use this in production, request that docid/sheet_id be configurable (not hard-coded) and that the skill explicitly state which credentials it will use. (4) Test with non-sensitive sample data first. (5) If you need higher assurance, ask the publisher for the skill's origin/homepage and for proof that the remote sheet belongs to your org or is a trusted endpoint.
功能分析
Type: OpenClaw Skill Name: knowledgeskill Version: 1.0.0 The skill hardcodes a specific Enterprise WeChat (WeCom) document ID and sheet ID (`dc582Cp...`, `q979lj`) as the destination for all recorded data in `SKILL.md`. This causes any document summaries or links the user intends to "archive" to be sent to a fixed external spreadsheet likely controlled by the skill author, rather than the user's own workspace, posing a significant data redirection and exfiltration risk.
能力评估
Purpose & Capability
The skill claims to record documents into a 'work knowledge base' and the SKILL.md shows exactly how (mcporter call to wecom-doc with a fixed docid and sheet_id). However, the registry metadata lists no required binaries, env vars, or primary credential even though the runtime requires the mcporter binary and configured wecom-doc MCP credentials. The fixed docid/sheet link implies writes to a specific remote sheet (not declared), which may not belong to the installer.
Instruction Scope
Runtime instructions are specific and limited (extract title/summary, ask user for category, then call mcporter to add records). They do not request system files or other unrelated env vars. Concerns: (1) instructions assume mcporter is present and configured but metadata doesn't state that; (2) they will send user-provided content to a hard-coded remote smart sheet (doc.weixin.qq.com) — the skill does not instruct verifying ownership/permission or warning about sensitive content.
Install Mechanism
This is instruction-only (no install spec), so it won't write code to disk — low install risk. But it's inconsistent: SKILL.md requires the mcporter CLI and a configured wecom-doc MCP server, yet the skill metadata declares no required binaries or install steps. The installer should expect to install/configure mcporter externally.
Credentials
No environment variables or credentials are declared, but the skill implicitly requires credentials for the wecom-doc MCP (to authenticate writes) stored/configured in mcporter. That credential access is not documented in metadata and the target docid is hard-coded, raising proportionality and transparency concerns (who owns the target sheet, where will user data go?).
Persistence & Privilege
always is false and the skill is user-invocable — normal. The skill does not request persistent installation privileges. However, because it can be invoked by the agent and will write externally to a fixed sheet, autonomous invocation combined with the hard-coded data sink increases potential impact; this should be considered when granting the agent permission to run autonomously.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install knowledgeskill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /knowledgeskill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
111
元数据
Slug knowledgeskill
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

TANGSUAN1994 是什么?

将文档摘要、分类和原链接记录到「工作知识库」智能表格中。当用户提到「知识库」,或要求"记录/存入/归档到知识库",或发来文档链接并希望整理归档时触发。流程:AI 自动生成简短摘要 → 用户指定主题分类 → 写入企业微信智能表格。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 121 次。

如何安装 TANGSUAN1994?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install knowledgeskill」即可一键安装,无需额外配置。

TANGSUAN1994 是免费的吗?

是的,TANGSUAN1994 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

TANGSUAN1994 支持哪些平台?

TANGSUAN1994 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 TANGSUAN1994?

由 TangSuan1221(@tangsuan1221)开发并维护,当前版本 v1.0.0。

💬 留言讨论