wecomcli-doc

Installation
SKILL.md

企业微信文档管理

wecom-cli 是企业微信提供的命令行程序,所有操作通过执行 wecom-cli 命令完成。

管理企业微信文档和智能文档(原名智能主页)的创建、读取和编辑。文档接口支持通过 docidurl 二选一定位文档。

⚠️ 重要触发规则:只有当用户明确提到「智能文档」或「智能主页」时,才使用智能文档相关接口(smartpage_* 系列)。其他所有涉及「文档」的场景(如"创建文档"、"写个文档"、"帮我建个文档"等),一律使用企微文档接口(create_doc / get_doc_content / edit_doc_content)。

URL 品类识别与接口路由

企业微信文档有三种品类,URL 格式不同,读取内容所用的接口也不同,切勿混用:

URL 模式 品类 读取内容接口
https://doc.weixin.qq.com/doc/* 文档(doc_type=3) get_doc_content
https://doc.weixin.qq.com/smartsheet/* 智能表格(doc_type=10) get_doc_content
https://doc.weixin.qq.com/smartpage/* 智能文档(原名智能主页) smartpage_export_tasksmartpage_get_export_result
Related skills

More from wecomteam/wecom-cli

Installs
6.8K
GitHub Stars
2.0K
First Seen
Apr 2, 2026