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.

Install it, pinned
mdr add pinvou/pinvou-agent/wecomcli-message@git:20261019.18f8dd9

Pins 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

The exact contents, by fingerprint
mdr add pinvou/pinvou-agent/wecomcli-message@sha256:386fd3d2a9134b7a

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_f4ezf27vwqsyxidp.svg)](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.

versioncommittedcommitsizeaudit
git:20261019.18f8dd9 latest2026-10-19 18f8dd9 8,192 BA view · diff
git:20260831.48b73a32026-08-31 48b73a3 8,167 BA view · diff
git:20260819.88dccb92026-08-19 88dccb9 8,006 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from pinvou/pinvou-agent

AGENTS.md AGENTS.md file
pinvou/pinvou-agent · AGENTS.md
git:20260825.3dd2a08 · audit A · 2,839 stars
visual-design SKILL.md skill
pinvou/pinvou-agent · pinvou3-app/src-tauri/resources/common/bundle/builtin-skills/visual-design/SKILL.md · 直出好看的网页/落地页/banner/海报/产品介绍页/无数据图表的静态报告页/简历/作品集等视觉物料——套一套设计系统,模型自由写自包含 HTML,颜值由规则锁死、不靠模板。用户说"做个网页/页面/落地页/banner/海报/报告页/作品…
v0.8.0 · audit A · 2,839 stars
dws SKILL.md skill
pinvou/pinvou-agent · pinvou3-app/src-tauri/resources/common/bundle/dingtalk-skills/dws/SKILL.md · 【何时用:仅当用户明确指向钉钉/DingTalk(钉钉文档、钉钉日程等)时使用;泛指做文档/表格/待办/审批默认走本地工具,不要误用钉钉】用 dws CLI…
git:20261019.53b7a57 · audit A · 2,839 stars
lark-base SKILL.md skill
pinvou/pinvou-agent · pinvou3-app/src-tauri/resources/common/bundle/lark-skills/lark-base/SKILL.md · 【何时用:仅当用户明确指向飞书/Lark(发到飞书、飞书文档等)时使用;泛指做个文档或PPT或表格或方案默认走本地工具,不要误用飞书】飞书多维表格(Base)操作:建表、字段、记录、视图、统计、公式/lookup、表单、仪表盘、BaseAp…
v1.2.23 · audit A · 2,839 stars
lark-calendar SKILL.md skill
pinvou/pinvou-agent · pinvou3-app/src-tauri/resources/common/bundle/lark-skills/lark-calendar/SKILL.md · 【何时用:仅当用户明确指向飞书/Lark(发到飞书、飞书文档等)时使用;泛指做个文档或PPT或表格或方案默认走本地工具,不要误用飞书】飞书日历:管理日程和会议室。查看/搜索日程、创建/更新日程、管理参会人、查询忙闲和推荐时段、预定会议室。不…
v1.0.1 · audit A · 2,839 stars
lark-doc SKILL.md skill
pinvou/pinvou-agent · pinvou3-app/src-tauri/resources/common/bundle/lark-skills/lark-doc/SKILL.md · 【何时用:仅当用户明确指向飞书/Lark(发到飞书、飞书文档等)时使用;泛指做个文档或PPT或表格或方案默认走本地工具,不要误用飞书】飞书云文档(Docx/Wiki)与思维笔记内容操作:读取、创建、编辑,插入/下载图片附件,查询/回滚历史版…
v1.0.1 · audit A · 2,839 stars
lark-drive SKILL.md skill
pinvou/pinvou-agent · pinvou3-app/src-tauri/resources/common/bundle/lark-skills/lark-drive/SKILL.md · 【何时用:仅当用户明确指向飞书/Lark(发到飞书、飞书文档等)时使用;泛指做个文档或PPT或表格或方案默认走本地工具,不要误用飞书】飞书云空间:管理 Drive…
v1.0.1 · audit A · 2,839 stars
lark-im SKILL.md skill
pinvou/pinvou-agent · pinvou3-app/src-tauri/resources/common/bundle/lark-skills/lark-im/SKILL.md · 【何时用:仅当用户明确指向飞书/Lark(发到飞书、飞书文档等)时使用;泛指做个文档或PPT或表格或方案默认走本地工具,不要误用飞书】飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件、管理表情…
v1.0.1 · audit A · 2,839 stars
lark-shared SKILL.md skill
pinvou/pinvou-agent · pinvou3-app/src-tauri/resources/common/bundle/lark-skills/lark-shared/SKILL.md · 【何时用:在其他 lark-* 技能遇到认证/授权/身份/配置问题、被要求前置读取,或首次使用 lark-cli 时;泛指需求默认走本地工具】lark-cli 共享规则:首次配置(config init)、认证登录(auth login…
v1.1.0 · audit A · 2,839 stars
lark-sheets SKILL.md skill
pinvou/pinvou-agent · pinvou3-app/src-tauri/resources/common/bundle/lark-skills/lark-sheets/SKILL.md · 【何时用:仅当用户明确指向飞书/Lark 电子表格;泛指做表格默认走本地工具】创建/操作飞书电子表格:工作表与行列结构、读写单元格(值/公式/样式/批注/图片)、查找替换、批量更新、区域复制/排序/填充、图表/透视表/条件格式/筛选/筛选视…
v3.5.2 · audit A · 2,839 stars
lark-task SKILL.md skill
pinvou/pinvou-agent · pinvou3-app/src-tauri/resources/common/bundle/lark-skills/lark-task/SKILL.md · 【何时用:仅当用户明确指向飞书/Lark(发到飞书、飞书文档等)时使用;泛指做个文档或PPT或表格或方案默认走本地工具,不要误用飞书】飞书任务:管理任务、清单和任务智能体。创建待办任务、查看和更新任务状态、拆分子任务、组织任务清单、分配协作…
v1.0.1 · audit A · 2,839 stars
lark-wiki SKILL.md skill
pinvou/pinvou-agent · pinvou3-app/src-tauri/resources/common/bundle/lark-skills/lark-wiki/SKILL.md · 【何时用:仅当用户明确指向飞书/Lark 知识库;泛指做文档默认走本地工具】飞书知识库:创建/查询知识空间、管理空间成员、管理节点层级(移动/复制/删除)、组织文档与快捷方式。doubao.com 的 /wiki/ URL 也走本…
v1.0.4 · audit A · 2,839 stars

Every file in pinvou/pinvou-agent

Browse by kind, by grade A, or by owner.