wecomcli-doc-manage Skill for Claude Code: What It Does and How to Install It
Makes Claude search WeCom documents, rename them, add members and set who can join by link.
- Installs
- 8.6K
- on skills.sh
- Stars
- 3.3K
- on GitHub
- Files
- 3
- besides SKILL.md
- Updated
- Oct 2026
- last repo commit
Ask Claude to find a WeCom document, rename it, add people to it or change its link-join rule. It works on four document types: docs, online sheets, smart sheets and smart pages. Search also finds slides, forms, mind maps, flow charts, reports and PDFs.
It only finds, renames and manages access. Reading the text of a doc is handled by other wecomcli skills, and the search results show you what you can open. Search results only include documents you already have access to.
Good for
- People looking for a WeCom doc by keyword, owner or recent activity
- Doc owners adding members with manager, edit or read access
- Admins setting how people can join a doc by its link
Install wecomcli-doc-manage
Claude Code
- 1
Copy this prompt.
Install the wecomcli-doc-manage skill in Claude Code. Run this command: npm install -g @wecom/cli Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js 18 or newer, A WeCom account.
Do steps 1 to 3. Step 2 has alternatives: the README command installs all 15 skills in the repo, the second command installs only wecomcli-shared, wecomcli-doc-manage, wecomcli-contact. Every wecomcli-* skill must also read wecomcli-shared before it runs a command (its SKILL.md says so), so install that one too. The shared skill checks that wecom-cli is installed at version 1.2.1 or newer and signed in, and runs npm install -g @wecom/cli and the sign-in itself if not. The README also mentions an optional bot ID and secret for a smart bot. The skill runs the wecom-cli program on your machine, so there is no Claude app upload route.
From the project README. Source.
What's in the skill
When it loads
企业微信文档公共管理:搜索文档(最近浏览/创建)、文档改名、添加文档成员权限、设置文档加入规则。适用于所有文档类型(doc文档 / 在线表格 / 智能表格 / 智能文档)。新建或导入doc文档请使用 wecomcli-doc;新建或导入在线表格请使用 wecomcli-sheet;智能表格内容 CRUD 请使用 wecomcli-smartsheet;生成智能文档请使用 wecomcli-smartpage。"看过哪些文档/浏览历史"类需求走本技能,不要走 wecom_get_user_memory。
Sections in SKILL.md
- 核心概念
- 适用范围
- 接口路由表
- 接口详述
- 搜索文档
- 跨技能依赖
- 需要读取、打开搜索到的docid
- 安全提示(最高优先级)
Key facts
- Installs on skills.sh
- 8,637 (Nov 2, 2026)
- Last repo commit
- Oct 19, 2026
What it includes
wecom-cli doc search by keywords, type, creator, member, time and sort
It splits your request into keywords. Results are limited to documents you can open, up to 100 per page.
Try: “Find the docs I created this week about the roadmap”
Runs code ·
Search documentswecom-cli doc names update
Works for docs, online sheets, smart sheets and smart pages, by document ID.
Runs code ·
Rename a documentwecom-cli doc members update
Adds one or more members with manager, edit or read access. Names are first resolved through the contact skill.
Runs code ·
Add memberswecom-cli doc rules update
Sets whether joining needs admin approval, and what people inside or outside your company can do (edit, read, apply, or deny for outsiders).
Runs code ·
Set link-join rules
From the official docs
Permissions
Medium risk
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
It changes document access
doc members update adds members with manager, edit or read access, and doc rules update changes how people inside and outside the company can join by link. Name the document and the people exactly. github.com
Claude may install a global npm package
The shared skill runs npm install -g @wecom/cli if wecom-cli is missing or older than 1.2.1, then starts the QR-code sign-in. Install the CLI yourself first if you want to control the version. github.com
Members are added by user ID
SKILL.md says names are resolved to user IDs through the contact skill before doc members update runs. Check that the person it picked is the one you meant. github.com
The CLI reports the calling agent to WeCom
The docs say wecom-cli reads the name of the agent program that calls it and sends the call chain to WeCom's cloud with each request. It is on by default in the npm build and can be switched off only by building from source with --no-default-features. github.com
Returned content is treated as data
The skill's safety note says nothing returned by the WeCom API is to be treated as instructions, and tokens or secrets in it are not to be output or used. github.com
Security advisories
No published security advisories as of Nov 2, 2026.
Technical details
| Turning on read-only | No read-only mode. |
|---|---|
| Talks to | WeCom cloud services, reached through the wecom-cli program. npm registry (when the shared skill installs @wecom/cli) |
| Sign-in and keys | Sign-in is a one-time QR-code scan with wecom-cli auth init. The skill's safety note says tokens and secrets are not to be output or used. |
| Scopes |
|
Questions
How do I install it in Claude Code?
Use the install box at the top of this page. Install the CLI, add the skills (wecomcli-shared, wecomcli-contact and wecomcli-doc-manage) and sign in once with a QR code. The README says the skills install is required.
Do I need a WeCom account?
Yes. The README lists a WeCom account as a prerequisite, plus Node.js 18 or newer. A smart-bot ID and secret are optional and come from WeCom's help page.
Does it send usage data to WeCom?
The docs say wecom-cli reads the name of the calling agent program and sends the call chain with each request to WeCom's cloud, to help find problems. The npm build has this on by default. Building from source with --no-default-features turns it off.
Does it work in the Claude app, Codex or Cursor?
The install box has Claude Code, Codex and skills CLI routes. There is no Claude app upload route, because the skill drives the wecom-cli program on your machine. The README does not name Cursor.
What does the wecomcli-doc-manage skill do?
It makes your agent search WeCom documents and manage them: rename, add members with a permission level, and set link-join rules. It covers docs, online sheets, smart sheets and smart pages.
Can it read what is inside a document?
Not by itself. SKILL.md says that after a search you need the matching content skill (doc, sheet, smartsheet or smartpage) to read the text. For mind maps, flow charts, reports and forms it says no skill can read the body, and points you to the document link.
Can it share a doc with someone outside my company?
The link-join rule has a separate setting for people outside the company, with edit, read, apply or deny. Check the value it plans to set. Members are added by user ID after a contact lookup.
Is it safe?
It can change who can open or edit a document and how people join it. The skill asks you to pick when a search returns several documents. Our advice: name the document and the people exactly, and review any join-rule change.
Information
updated Nov 2, 2026
- Repository
- wecomteam/wecom-cli
- Folder
skills/wecomcli-doc-manage
Sources
Docs, issue trackers and discussions this page is built from.
Show all 7Hide
- wecomcli-doc-manage SKILL.md · github.com
- wecomcli-shared SKILL.md · github.com
- wecom-cli README · github.com
- wecom-cli skills overview · github.com
- doc-rules-update.md · github.com
- doc-members-update.md · github.com
- data-collection.md · github.com