Summary
企业微信文档管理技能。提供文档的创建、读取和编辑能力,支持通过 docid 或文档 URL 操作企业微信文档(doc_type=3)和智能表格(doc_type=10)。适用场景:(1) 以 Markdown 格式导出获取文档完整内容(异步轮询) (2) 新建文档或智能表格 (3) 用 Markdown…
stvlynn/qclaw-skills · Archived
企业微信文档管理技能。提供文档的创建、读取和编辑能力,支持通过 docid 或文档 URL 操作企业微信文档(doc_type=3)和智能表格(doc_type=10)。适用场景:(1) 以 Markdown 格式导出获取文档完整?
npx skills add stvlynn/qclaw-skills --skill wecom-doc-manager
企业微信文档管理技能。提供文档的创建、读取和编辑能力,支持通过 docid 或文档 URL 操作企业微信文档(doc_type=3)和智能表格(doc_type=10)。适用场景:(1) 以 Markdown 格式导出获取文档完整内容(异步轮询) (2) 新建文档或智能表格 (3) 用 Markdown…
This repository is archived — consider an actively maintained alternative.
[SYSTEM RULES - MANDATORY - ALWAYS LOAD - DO NOT SKIP] QClaw系统基础运行规则,强制加载,不可卸…
7 installsHolistic nutrition guidance — food-health relationships, eating behaviors, sustainable habits, …
6 installs?
5 installs[MANDATORY] 本环境没有? 定时任务、模型设置、Skills/Plugins 管理等)都? 禁止直接调用 `openclaw` …
5 installsRelated neighbors and high-traction skills in the same topics — useful to compare before installing.
Coordinate projects — track tasks, schedule meetings, and share docs.
28.5K installsManage NuGet packages in .NET projects/solutions. Use this skill when adding, removing, or upda…
14K installsSecret safety for AWS Secrets Manager, secret management, credentials, API keys, tokens, and pa…
1.3K installsTrack different resume versions, maintain master resume, manage tailored versions
7.1K installsGoogle Ads campaign management - campaign setup, keyword research, bid optimization, and perfor…
5.4K installsOther skills from stvlynn/qclaw-skills · top by installs.
npx skills add stvlynn/qclaw-skills
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Alternate registries and mirrors of this skill.
npx skills add https://github.com/wecomteam/wecom-openclaw-plugin
main
Files included with this skill beyond the listing page.
SKILL.md
3,598 B
SUMMARY.md
470 B
wecom_mcp是一个 MCP tool,所有操作通过调用该 tool 完成。
⚠️ 前置条件:首次调用
wecom_mcp前,必须按wecom-preflight技能执行前置条件检查,确保工具已加入白名单。
管理企业微信文档的创建、读取和编辑。所有接口支持通过 docid 或 url 二选一定位文档。
通过 wecom_mcp tool 调用,品类为 doc:
使用 wecommcp tool 调用 wecommcp call doc <toolname> '<jsonparams>' 调用指定技能
所有接口返回 JSON 对象,包含以下公共字段:
| 字段 | 类型 | 说明 |
|---|---|---|
errcode |
integer | 返回码,0 表示成功,非 0 表示失败 |
errmsg |
string | 错误信息,成功时为 "ok" |
当 errcode 不为 0 时,说明接口调用失败,可重试 1 次;若仍失败,将 errcode 和 errmsg 展示给用户。
获取文档完整内容数据,只能以 Markdown 格式返回。采用异步轮询机制:首次调用无需传 taskid,接口返回 taskid;若 taskdone 为 false,需携带该 taskid 再次调用,直到 task_done 为 true 时返回完整内容。
wecommcp tool 调用 wecommcp call doc getdoc_content '{"docid": "DOCID", "type": 2}'wecommcp tool 调用 wecommcp call doc getdoccontent '{"docid": "DOCID", "type": 2, "taskid": "xxx"}'wecommcp tool 调用 wecommcp call doc getdoccontent '{"url": "https://doc.weixin.qq.com/doc/xxx", "type": 2}'参见 [API 详情](references/api-export-document.md)。
新建文档(doctype=3)或智能表格(doctype=10)。创建成功返回 url 和 docid。
wecommcp tool 调用 wecommcp call doc createdoc '{"doctype": 3, "doc_name": "项目周报"}'wecommcp tool 调用 wecommcp call doc createdoc '{"doctype": 10, "doc_name": "任务跟踪表"}'注意:docid 仅在创建时返回,需妥善保存。创建智能表格时默认包含一个子表,可通过 smartsheetgetsheet 查询其 sheet_id。
参见 [API 详情](references/api-create-doc.md)。
用 Markdown 内容覆写文档正文。content_type 固定为 1(Markdown)。
使用 wecommcp tool 调用 wecommcp call doc editdoccontent '{"docid": "DOCID", "content": "# 标题\n\n正文内容", "content_type": 1}'
参见 [API 详情](references/api-edit-doc-content.md)。
wecommcp tool 调用 wecommcp call doc getdoccontent '{"docid": "DOCID", "type": 2}',若 taskdone 为 false 则携带 taskid 继续轮询wecommcp tool 调用 wecommcp call doc createdoc '{"doctype": 3, "doc_name": "文档名"}',保存返回的 docid