channel_message SKILL.md skillA
channel_message from mateaix/mateclaw is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add mateaix/mateclaw/channel_message@v2.0.0Pins v2.0.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- mateaix/mateclaw
- Path
mateclaw-server/src/main/resources/skills/channel_message/SKILL.md- Versions recorded
- 2
- Latest version
- v2.0.0, committed Aug 5, 2026
- First version recorded
- Apr 23, 2026
- Size
- 3,158 bytes
- Repository stars
- 1,176
- License
- Apache-2.0
当需要主动向某个渠道会话单向推送消息时使用(企业微信、钉钉、飞书、Telegram、Discord、QQ、Slack 等)。适用于任务完成通知、定时提醒告警、异步结果回推等场景。先用 list_channel_sessions 查询目标会话,再用 send_channel_message 发送。.
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`(企业微信)、`dingtalk`、`feishu`、`telegram`、`discord`、`qq`、`slack`、`weixin` > 注意:只有机器人**收到过消息**的会话才能主动推送——平台的推送句柄是在收到入站消息时记录的。如果目标会话不在列表里,需要先让对方在该会话中给机器人发一条消息。 ## 工作流程 ### 第一步:查询目标会话 ``` list_channel_sessions(channelType="wecom") ``` - `channelType` 可选,不传则列出当前工作区所有可推送会话 - 返回每个会话的 `conversation_id`、渠道名称、用户名、最后活跃时间 - 有多个候选会话时,优先选**最后活跃时间最近**的 ### 第二步:发送消息 ``` send_channel_message( conversationId="wecom:xxxx", message="✅ 数据分析已完成,结果已保存到 report.xlsx" ) ``` - `conversationId` 必须来自 `list_channel_sessions` 的返回结果,**不要凭空猜测** - `message` 为消息正文(纯文本 / Markdown,取决于渠道能力),超过 4096 字符会被截断 ## 常见场景示例 ### 温度告警推送到企业微信 ``` list_channel_sessions(channelType="wecom") # 从结果中选目标会话,例如 conversation_id 为 wecom:DeBaDe 的会话,然后: send_channel_message( conversationId="wecom:DeBaDe", message="【温度告警】中控测试会议室 当前温度 29.3℃,已超过 28℃,请及时处理" ) ``` ### 任务完成通知到钉钉 ``` list_channel_sessions(channelType="dingtalk") send_channel_message( conversationId="dingtalk:sw:xxxx", …
Read the whole file at its exact version.
How to install
mdr add mateaix/mateclaw/channel_message@sha256:a0dd092ead5f4012The line at the top of this page pins the label v2.0.0, 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_xv2lsttkqwtxbooi)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Apr 23, 2026 and Aug 5, 2026, about one every 104 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v2.0.0 latest | 2026-08-05 | 9dd5805 | 3,158 B | A | view · diff |
| v1.3.0 | 2026-04-23 | edaf762 | 3,338 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 (3158 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
mateaix/mateclaw · 1,176 stars · license Apache-2.0 · pushed 2026-11-02 · branch dev
API
GET https://markdownregistry.com/api/v1/artifacts/art_xv2lsttkqwtxbooi GET https://markdownregistry.com/api/v1/resolve?ref=mateaix/mateclaw/channel_message GET https://markdownregistry.com/api/v1/blob/a0dd092ead5f4012541ed6f05aa7077070800b7e34d33fae4d02e50f796b3441
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.