wecom-doc-manager

wecom-doc-manager is a skill for Claude Code, Codex from sunnoy/openclaw-plugin-wecom. It costs 124 tokens per session (1,934 once invoked), scanned A, original, ISC.

A Chinese-language tool guide for creating, reading, and editing WeCom documents and smart tables. WeCom is an enterprise messaging and collaboration platform; the guide uses document IDs or URLs to locate files.

In plain words
What is it for?
Use it to export document content as Markdown, create documents or smart tables, and replace document text when the required WeCom tools are available.
Why use it?
It sets the required checks and limits for document operations, including whether the current account can read document content.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to export document content as Markdown, create documents or smart tables, and replace document text when the required WeCom tools are available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sunnoy/openclaw-plugin-wecom/wecom-doc-manager
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sunnoy/openclaw-plugin-wecom --skill wecom-doc-manager
Clone the repo
git clone --depth 1 https://github.com/sunnoy/openclaw-plugin-wecom

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 wecom-doc-manager

README.md
[![agentmods](https://agentmods.dev/badge/skills/sunnoy/openclaw-plugin-wecom/wecom-doc-manager.svg)](https://agentmods.dev/skills/sunnoy/openclaw-plugin-wecom/wecom-doc-manager)
Your own site
<a href="https://agentmods.dev/skills/sunnoy/openclaw-plugin-wecom/wecom-doc-manager"><img src="https://agentmods.dev/badge/skills/sunnoy/openclaw-plugin-wecom/wecom-doc-manager.svg" alt="Measured on agentmods" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,934 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00124 $0.01934
Opus 5 $0.00062 $0.00967
Sonnet 5 $0.00025 $0.00387
Haiku 4.5 $0.00012 $0.00193

Measured 8d ago against content hash d1c090436bb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

wecom-doc-manager scanned grade A with 0 findings 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 8d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/wecom-doc-manager/SKILL.md · 107 lines

How it starts

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

企业微信文档管理

wecom_mcp 是一个 MCP tool,所有操作通过调用该 tool 完成。

⚠️ 前置条件:仅在当前会话第一次准备调用 wecom_mcp、且尚未确认工具可用时,按 wecom-preflight 技能执行前置条件检查。若当前回合工具列表里已经有 wecom_mcp,或当前会话里刚刚成功调用过 wecom_mcp,则不要重复读取 wecom-preflight

⚠️ 路径与停止规则

  • 如果要读取本 skill,必须直接使用 <available_skills>skillsSnapshot 中给出的精确绝对路径。
  • 不要猜测或改写为 /data/openclaw/skills/wecom-*/workspace/.openclaw/skills/.../root/.openclaw/workspace-*/.openclaw/skills/...,也不要用 exec + ls/find 探路。
  • wecom_mcp 返回 errcode: 846609unsupported mcp biz type,表示当前 bot 未开通该 category,不是路径、白名单或 sandbox 问题;立即停止继续 readlistfind、memory fallback 探索,直接告知用户对应 category 未开通。
  • 在读取文档前,先调用 wecom_mcp 执行 list + category=doc 探测当前 bot 实际暴露的 doc 工具列表。只有当列表里确实存在 get_doc_content 时,才允许继续调用它。
  • 如果 list doc 的结果中不存在 get_doc_content,说明当前 bot 的 doc 类 MCP 仅开放了创建/编辑能力,没有开放读取能力。此时必须立即停止,直接告诉用户“当前文档读取能力未开通”;不要再继续尝试 get_doc_content、浏览器抓页面、read/find/exec 探路或 HTML fallback。

管理企业微信文档的创建、读取和编辑。所有接口支持通过 docidurl 二选一定位文档。

调用方式

通过 wecom_mcp tool 调用,品类为 doc

使用 wecom_mcp tool 调用 wecom_mcp call doc <tool_name> '<json_params>' 调用指定技能

返回格式说明

所有接口返回 JSON 对象,包含以下公共字段:

字段 类型 说明
errcode integer 返回码,0 表示成功,非 0 表示失败
errmsg string 错误信息,成功时为 "ok"

errcode 不为 0 时,说明接口调用失败,可重试 1 次;若仍失败,将 errcodeerrmsg 展示给用户。

get_doc_content

仅当 wecom_mcp list doc 的结果中明确包含 get_doc_content 时,才可以使用本接口。

获取文档完整内容数据,只能以 Markdown 格式返回。采用异步轮询机制:首次调用无需传 task_id,接口返回 task_id;若 task_done 为 false,需携带该 task_id 再次调用,直到 task_done 为 true 时返回完整内容。

  • 首次调用(不传 task_id):使用 wecom_mcp tool 调用 wecom_mcp call doc get_doc_content '{"docid": "DOCID", "type": 2}'
  • 轮询(携带上次返回的 task_id):使用 wecom_mcp tool 调用 wecom_mcp call doc get_doc_content '{"docid": "DOCID", "type": 2, "task_id": "xxx"}'
  • 或通过 URL:使用 wecom_mcp tool 调用 wecom_mcp call doc get_doc_content '{"url": "https://doc.weixin.qq.com/doc/xxx", "type": 2}'

参见 API 详情

Read the full file on GitHub · 107 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. 8d ago First seen · 107 lines · 124 tokens per session scan A d1c090436bb3

Subscribe to this mod's changes

wecom-doc-manager is a skill published in the GitHub repository sunnoy/openclaw-plugin-wecom (705 stars, last pushed 3mo ago), licensed ISC. It adds 124 tokens to every session and 1,934 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.