
Wecomcli Doc
If you're working with WeCom (企业微信) documents programmatically, this gives you CLI access to create, read, and edit docs, smart sheets, and smart pages through the wecom-cli tool. It handles three distinct document types with different URL patterns (/doc/, /smartsheet/, /smartpage/) and routes to the appropriate API for each. The async polling mechanism for content retrieval is a bit quirky but documented clearly. Most useful when you need to export WeCom documents as Markdown, bulk create documentation from local files, or automate document workflows in a Chinese enterprise context. Watch out for the 10MB file size limit on smart page creation and the special +smartpage_create syntax prefix.
- skills.sh installs
- 26.3K
- GitHub stars
- 3.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add wecomteam/wecom-cli --skill wecomcli-doc --agent claude-codeInstalls into .claude/skills of the current project.
Files
企业微信doc文档管理
执行任何
wecom-cli命令前,必须先读取并完成wecomcli-shared技能的公共前置检查。
资源型 skill,负责doc文档(doc)的新建、导入与内容读写。
适用范围
适用
- 新建 / 导入企微 doc 文档
- 读取 doc 文档内容
- 向 doc 文档追加一行 / 覆盖写入doc 文档
不适用
- 搜索文档 / 修改文档权限 / 重命名 / 加成员 → 改用
wecomcli-doc-manage - 在线表格操作 → 改用
wecomcli-sheet - 智能表格操作 → 改用
wecomcli-smartsheet - 含字段 / 记录 / 筛选 / 排序 / 统计 / 分组等结构化数据语义 → 改用
wecomcli-smartsheet或wecomcli-smartpage(禁止用 doc + markdown 静态表格变通)
易混淆场景路由
- 用户说"创建文档 / 写文档 / 整理成文档" 且未指定 doc 类型 → 改用
wecomcli-smartpage(智能文档为默认) - 用户给的链接是
https://doc.weixin.qq.com/smartpage/...或者https://page.weixin.qq.com/smartpage/...→ 改用wecomcli-smartpage - 若遇到的
docid以a1或者b1开头(形如a1_xxxx,b1_xxxx)→ 改用wecomcli-smartpage
接口路由表
路由表第二列若是 references/xxx.md 链接 → 必须先用 read 工具读完该文件,再构造命令。
Sponsors
Details
- Repository
- github.com/wecomteam/wecom-cli
- Categories
- Documentation, CLI & Terminal
- First seen
- Apr 16, 2026
More from wecomteam/wecom-cli
All 21- Wecomcli Todo26K
- Wecomcli Contact26K
- Wecomcli Meeting26K
- Wecomcli Smartsheet21.4K
- Wecomcli Msg16.4K
- Wecomcli Schedule16.2K
- Wecomcli Sheet13.1K
- Wecomcli Smartpage13K
- Wecomcli Manage Doc2.4K
- Wecomcli Manage Smartsheet Data2.4K
- Wecomcli Get Meeting2.4K
- Wecomcli Get Todo List2.4K
- Wecomcli Edit Meeting2.4K
- Wecomcli Manage Smartsheet Schema2.4K
- Wecomcli Manage Schedule2.4K
- Wecomcli Get Msg2.4K
- Wecomcli Lookup Contact2.4K
- Wecomcli Get Todo Detail2.4K
- Wecomcli Edit Todo2.4K
- Wecomcli Create Meeting2.4K