wecomcli-message SKILL.md skillA
wecomcli-message from pinvou/pinvou-agent is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add pinvou/pinvou-agent/wecomcli-message@git:20261019.18f8dd9Pins git:20261019.18f8dd9 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- pinvou/pinvou-agent
- Path
pinvou3-app/src-tauri/resources/common/bundle/wecom-skills/wecomcli-message/SKILL.md- Versions recorded
- 3
- Latest version
- git:20261019.18f8dd9, committed Oct 19, 2026
- First version recorded
- Aug 19, 2026
- Size
- 8,192 bytes
- Repository stars
- 2,839
- License
- MIT
何时用:仅当用户明确指向企业微信(给企微同事/群发消息、查企微会话)时使用;泛指发消息默认走本地通讯工具,邮件走 wecomcli-email。查询可发消息的聊天会话范围,向单聊/群聊发送 Markdown(纯文本亦按 Markdown 发送)、图片、文件、语音、视频消息。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 企业微信发送消息 > 执行任何 `wecom-cli` 命令前,必须先读取并完成 `wecomcli-shared` 技能的公共前置检查。 1. 可以向授权人发送消息。 2. 可以向授权人以外的、机器人最近有消息往来的聊天会话(单聊和群聊)发送消息。 ## 适用范围 ### 适用 - 适用于给授权人发消息,使用 `wecom-cli identity whoami` 获取授权人ID,可作为 `chat_id` 使用,无需调用 `sessions list`。 - 适用于查询当前有权限发送消息的聊天会话范围并给这些范围中的成员或群聊发送 Markdown 消息、图片、文件、AMR 语音或视频 ### 不适用 - 发送对象不是授权人且不在本次 `sessions list` 返回结果中 → 告知用户当前只能向最近活跃的会话或授权人发送 ## 技能依赖 调用依赖技能前,必须先完整读取对应 `SKILL.md`。 | 依赖技能 | 触发场景 | 数据流向 | |---|---|---| | `wecomcli-media` | 发送图片、文件、语音或视频时只有本地文件路径,没有可直接复用的 `media_id` | 包含媒体上传接口,如没有已有的 `media_id`,必须先阅读该技能获取 `media_id`。`media upload` 以本地 `file_path` 上传,`type` 为可选入参(`image`/`voice`/`video`/`file`);发送时以上传响应返回的 `type` 对齐 `msg_type` | ## 获取能发送消息的会话列表 ### 命令 ```bash wecom-cli message aibot sessions list ``` ### 返回 | 字段 | 类型 | 说明 | |---|---|---| | `sessions` | array | 会话列表,按最后一条消息时间从新到旧排序,具体数量以实际回包为准 | | `sessions[].chat_id` | string | 会话 ID | | `sessions[].chat_name` | string | 群名称或单聊名称 | | `sessions[].chat_type` | string | `single` 单聊或 `group` 群聊 | | `sessions[].last_msg_time` | string | 最后一条消息时间,格式 `YYYY-MM-DD HH:MM:SS` | | `sessions_count` | integer | `sessions` 数组元素数量 | ### `chat_id` 来源 …
Read the whole file at its exact version.
How to install
mdr add pinvou/pinvou-agent/wecomcli-message@sha256:386fd3d2a9134b7aThe line at the top of this page pins the label git:20261019.18f8dd9, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_f4ezf27vwqsyxidp)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Aug 19, 2026 and Oct 19, 2026, about one every 30 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261019.18f8dd9 latest | 2026-10-19 | 18f8dd9 | 8,192 B | A | view · diff |
| git:20260831.48b73a3 | 2026-08-31 | 48b73a3 | 8,167 B | A | view · diff |
| git:20260819.88dccb9 | 2026-08-19 | 88dccb9 | 8,006 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8192 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
pinvou/pinvou-agent · 2,839 stars · license MIT · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_f4ezf27vwqsyxidp GET https://markdownregistry.com/api/v1/resolve?ref=pinvou/pinvou-agent/wecomcli-message GET https://markdownregistry.com/api/v1/blob/386fd3d2a9134b7aa5acfab4097771e17db799e443ddcdd2ca596f6d63590d39
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.