wecomteam avatar

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-code

Installs 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
1firecrawl avatarfirecrawl-browserfirecrawl/cliDEPRECATED — use scrape + interact instead. Interact lets you scrape a page and then click, fill forms, and navigate without managing sessions manually. Use thi11.2Kskills.sh installs
2google-gemini avatarcode-reviewergoogle-gemini/gemini-cliUse this skill to review code. It supports both local changes (staged or working tree) and remote Pull Requests (by ID or URL). It focuses on correctness, maint9.7Kskills.sh installs
3rorkai avatarasc-release-flowrorkai/app-store-connect-cli-skillsOrchestrate App Store releases with asc, including staging a version, uploading or building an artifact, publishing, and submitting for review. Use when the use8.5Kskills.sh installs
4rorkai avatarasc-submission-healthrorkai/app-store-connect-cli-skillsDiagnose App Store submission blockers and operate review health with asc, including readiness validation, repair routing, status monitoring, cancellation, and 8.3Kskills.sh installs
5rorkai avatarasc-metadata-syncrorkai/app-store-connect-cli-skillsSync, validate, and apply App Store metadata with the current asc canonical metadata workflow. Use when updating metadata, localizations, keywords, or migrating8.2Kskills.sh installs
6mvanhorn avatarprinting-pressmvanhorn/cli-printing-pressSet up a new integration, connector, or CLI binding for any API. Wrap or generate a ship-ready Go CLI from an OpenAPI, HAR, or Postman spec via the lean researc7.9Kskills.sh installs