wecomcli-doc-manage

wecomcli-doc-manage is a skill for Claude Code, Codex from WecomTeam/wecom-cli. It costs 146 tokens per session (2,996 once invoked), scanned A, original, MIT.

A skill for searching and managing WeCom online documents, spreadsheets, smart tables, and smart documents, including names, members, and joining rules.

In plain words
What is it for?
Use it to search documents or browsing history, rename supported documents, add members and permissions, or change link-joining rules.
Why use it?
It gives one place to find documents and make common administrative changes without searching each document type separately.

Skill for Claude CodeCodex

About the project

wecom-cli is a command-line tool for operating WeCom, covering messaging, email, documents, spreadsheets, tasks, calendars, meetings, cloud files, and contact searches. It is intended for people and AI agents that need to perform WeCom workplace operations from a terminal. Its catalogue entries provide skills and instructions for using the tool.

WecomTeam/wecom-cli · 3,014 stars · on GitHub

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.

agentmods
npx agentmods add skills/wecomteam/wecom-cli/wecomcli-doc-manage
Any agent
npx skills add WecomTeam/wecom-cli --skill wecomcli-doc-manage
Clone the repo
git clone --depth 1 https://github.com/WecomTeam/wecom-cli

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 wecomcli-doc-manage

README.md
[![agentmods](https://agentmods.dev/badge/skills/wecomteam/wecom-cli/wecomcli-doc-manage.svg)](https://agentmods.dev/skills/wecomteam/wecom-cli/wecomcli-doc-manage)
Your own site
<a href="https://agentmods.dev/skills/wecomteam/wecom-cli/wecomcli-doc-manage"><img src="https://agentmods.dev/badge/skills/wecomteam/wecom-cli/wecomcli-doc-manage.svg" alt="Measured on agentmods" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,996 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00146 $0.02996
Opus 5 $0.00073 $0.01498
Sonnet 5 $0.00029 $0.00599
Haiku 4.5 $0.00015 $0.00300

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

Security

Grade A, and why

wecomcli-doc-manage 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 4d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/wecomcli-doc-manage/SKILL.md · 133 lines

How it starts

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

执行任何 wecom-cli 命令前,必须先读取并完成 wecomcli-shared 技能的公共前置检查。

核心概念

  • 四种文档类型:在线文档 doc、在线表格 sheet、智能表格 smartsheet、智能文档 smartpagedoc_type 枚举在多接口中复用。
  • 搜索接口额外支持的类型:收集表 collect、PPT ppt、脑图 mind、流程图 flow、汇报 journal、PDF pdf。这些类型仅在「搜索文档」接口的 doc_types 过滤中可用,其他接口(改名、权限、加入规则等)不适用。

适用范围

适用

  • 仅支持搜索 doc文档 / 在线表格 / 智能表格 / 智能文档 / PPT / 收集表 / 脑图 / 流程图 / 汇报 / PDF 文档类型
  • 仅支持修改 doc文档 / 在线表格 / 智能表格 / 智能文档 的名称
  • 仅支持添加 doc文档 / 在线表格 / 智能表格 / 智能文档 的成员权限
  • 仅支持设置 doc文档 / 在线表格 / 智能表格 / 智能文档 的加入规则

接口路由表

路由表第二列若是 references/xxx.md 链接 → 必须先用 read 工具读完该文件,再构造命令。

用户意图 参考位置
搜索文档(包含最近浏览/创建) 见下方「搜索文档」
修改文档名 +names-update
添加文档成员 / 改权限 +members-update
设置链接加入规则 +rules-update

接口详述

搜索文档

按关键词与过滤条件(类型 / 创建者 / 浏览者-成员 / 时间窗 / 排序)搜索文档

关于"浏览者"与"成员":在本接口的搜索语义下二者等价——visitor_userids 命中的是"该 userid 作为浏览者/成员/相关者"的文档,用来表达"包含 X"、"X 参与的"、"与 X 相关的"、"X 作为成员的"均可。注意权限约束:无论传谁的 userid,最终结果只会返回当前调用者本人有权限访问的文档;他人有权限但你没权限的文档不会出现在结果中,因此本接口不能用于"窥探他人独占的文档列表"。

命令
wecom-cli doc search --json '<JSON 参数>'
参数
字段 类型 必填 默认值 语义
keywords string[] 关键词数组,OR 关系。仅按其他条件过滤时传空数组 []
search_scope string title_content 搜索范围枚举:title(仅标题) / title_content(标题和内容,默认) / content(仅内容)
doc_types string[] 限定类型,取值为 doc / sheet / smartsheet / smartpage / collect / ppt / mind / flow / journal / pdf 的子集
creator_userids string[] 限定创建者 userid 列表(典型:传当前用户 userid 查"我最近创建")
visitor_userids string[] 限定"浏览者 / 成员" userid 列表
created_after / created_before string 创建时间窗,YYYY-MM-DD HH:mm:ss
opened_after / opened_before string 最近打开时间窗,YYYY-MM-DD HH:mm:ss
sort_by string best_match 排序枚举:best_match(默认) / create_time(创建时间) / modify_time(修改时间)
limit int 10 返回上限,不超过 100
cursor string 分页游标;首次传空,后续取上页 next_cursor

Read the full file on GitHub · 133 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. 4d ago First seen · 133 lines · 146 tokens per session scan A b039a64067b6

Subscribe to this mod's changes

wecomcli-doc-manage is a skill published in the GitHub repository WecomTeam/wecom-cli (3,014 stars, last pushed 10d ago), licensed MIT. It adds 146 tokens to every session and 2,996 once invoked, about $0.0007 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.