New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Structured WeCom document skill for creating, importing, reading, and appending or overwriting Word-type online docs.

skills.sh installs
27K
GitHub stars
3.4K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers creating, importing, reading, appending to, and overwriting WeCom doc documents through wecom-cli doc commands
  • Includes doc import for local .doc, .docx, and .txt files and doc contents get with text, markdown, or ooxml output
  • Defaults writes to append and uses overwrite only on explicit replacement wording, leaving existing content intact otherwise
  • Designed for explicit Word or online-document requests, routing generic document requests to the smartpage skill instead

Install

$ npx -y skills add wecomteam/wecom-cli --skill wecomcli-doc -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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 工具读完该文件,再构造命令。

Details

Repository
github.com/wecomteam/wecom-cli
Categories
Office Files & Slides, Productivity & Notes, Email & Messaging
First seen
Apr 16, 2026

More from wecomteam/wecom-cli

All 7

Similar to Wecomcli Doc

More Office Files & Slides