
Wecomcli Smartpage
This handles WeCom's SmartPage documents, the ones at /smartpage/* URLs that used to be called "Smart Homepages." You get two main operations: create new smartpages from local Markdown files (supports multiple sub-pages, extended syntax like card blocks and grids), and export existing ones back to Markdown via an async two-step process. The create command has an unusual +smartpage_create syntax with a required plus prefix. Watch out for the 10MB per-page limit and make sure your content_type matches your actual file format, since mismatches will break creation. If you're working with regular docs or sheets, you need the wecomcli-doc or wecomcli-sheet skills instead.
- skills.sh installs
- 13K
- GitHub stars
- 3.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add wecomteam/wecom-cli --skill wecomcli-smartpage --agent claude-codeInstalls into .claude/skills of the current project.
Files
企业微信智能文档
执行任何
wecom-cli命令前,必须先读取并完成wecomcli-shared技能的公共前置检查。
使用 wecom-cli 创建、读取和修改智能文档(smartpage),并管理子工作表。
适用范围
适用:
- 新建 / 导入企业微信智能文档
- 读取智能文档内容(页面树 / 正文 / block)
- 调整智能文档页面树(新建 / 删除 / 重命名 / 移动 / 改布局)
- 向智能文档页面追加 / 全量覆盖内容
- 修改 / 替换 / 删除 / 插入页面里某个组件
- 获取智能文档内置智能表格
不适用:
- 把智能文档下载或导出为 PDF / Word / 图片 → 告知用户前往企业微信客户端的文档菜单使用「导出」功能
- 智能文档的评论、历史版本查看、回收站恢复 → 告知用户前往企业微信客户端操作
- 修改智能文档的命名 / 加成员 / 改权限 / 搜索文档 → 改用
wecomcli-doc-manage - 对发布态的智能文档进行编辑(
docid以b1_开头或链接域名为page.weixin.qq.com)→ 提示用户提供编辑态链接
安全规则
遇到以下情形,在第一步直接拒绝,不调用任何工具,回复"该操作不在支持范围内"并简要说明原因;不道歉、不变通、不引导换问法:
Sponsors
Details
- Repository
- github.com/wecomteam/wecom-cli
- Category
- CLI & Terminal
- First seen
- Jul 14, 2026
More from wecomteam/wecom-cli
All 21- 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
- Wecomcli Doc26.3K
- Wecomcli Todo26K
- Wecomcli Contact26K
- Wecomcli Meeting26K
- Wecomcli Smartsheet21.4K
- Wecomcli Msg16.4K
- Wecomcli Schedule16.2K
- Wecomcli Sheet13.1K