channel_message

channel_message is a skill for Claude Code, Codex from mateaix/mateclaw. It costs 78 tokens per session (837 once invoked), scanned A, original, Apache-2.0.

A tool for sending one-way messages to supported chat channels, including WeCom, DingTalk, Feishu, Telegram, Discord, QQ, Slack, and Weixin.

In plain words
What is it for?
Sending task-completion notices, scheduled reminders, alerts, status updates, and background-job results to a specific channel conversation.
Why use it?
It lets an agent notify people outside the current conversation when work finishes or an event needs attention. The target conversation must already have contacted the bot, and it does not provide a reply-based conversation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Sending task-completion notices, scheduled reminders, alerts, status updates, and background-job results to a specific channel conversation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mateaix/mateclaw/channel_message
About the project

MateClaw is a pluggable agent runtime that coordinates AI agents, tools, conversations, memory, and workflows. It is designed for personal and multi-user AI assistants, including agents used through chat platforms. Catalogue add-ons provide skills for extending its agent workflows.

mateaix/mateclaw · 1,218 stars · on GitHub · claw.mate.vip

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mateaix/mateclaw --skill channel_message
Clone the repo
git clone --depth 1 https://github.com/mateaix/mateclaw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for channel_message

README.md
[![agentmods](https://agentmods.dev/badge/skills/mateaix/mateclaw/channel_message/github.svg)](https://agentmods.dev/skills/mateaix/mateclaw/channel_message)
Your own site
<a href="https://agentmods.dev/skills/mateaix/mateclaw/channel_message"><img src="https://agentmods.dev/badge/skills/mateaix/mateclaw/channel_message/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for channel_message

Your own site · 80×15
<a href="https://agentmods.dev/skills/mateaix/mateclaw/channel_message"><img src="https://agentmods.dev/badge/skills/mateaix/mateclaw/channel_message.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 837 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00078 $0.00837
Opus 5.5 $0.00031 $0.00335
Sonnet 5.5 $0.00016 $0.00167
Haiku 4.5 $0.00008 $0.00084

Measured 3mo ago against content hash a0dd092ead5f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

channel_message scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

mateclaw-server/src/main/resources/skills/channel_message/SKILL.md · 88 lines

What it actually 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",
  message="✅ 周报生成完成,已写入知识库"
)

常见错误

  • 没有先查会话就发送:conversationId 必须先通过 list_channel_sessions 获取
  • 把正常对话回复当成推送:当前会话直接回复不需要用本技能
  • 期望收到回复:send_channel_message 是单向推送,不返回用户回复
  • 目标会话不存在:说明机器人从未在该会话收到过消息,请先让用户在目标会话里给机器人发一条消息
  • 渠道未启用 / 不支持主动推送:按报错提示先在渠道管理中启用对应渠道
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 88 lines · 78 tokens per session scan A a0dd092ead5f

Subscribe to this mod's changes

channel_message is a skill published in the GitHub repository mateaix/mateclaw (1,218 stars, last pushed today), licensed Apache-2.0. It adds 78 tokens to every session and 837 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

channel_message compared with skills from other repositories

channel_message next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
channel_messagemateaix/mateclawSkill1.2ktodayApache-2.0A78Claude Code, Codex
appjd-opensource/JoySafeterSkill3181mo agoApache-2.0A0Claude Code, Codex
openclaw-security-checkerjd-opensource/JoySafeterSkill3181mo agoApache-2.0A39Claude Code, Codex
pentest-whitebox-code-reviewjd-opensource/JoySafeterSkill3181mo agoApache-2.0A36Claude Code, Codex
pentest-api-deepjd-opensource/JoySafeterSkill3181mo agoApache-2.0A43Claude Code, Codex
pentest-business-logicjd-opensource/JoySafeterSkill3181mo agoApache-2.0A34Claude Code, Codex
seclens-enterprise-webjd-opensource/JoySafeterSkill3181mo agoApache-2.0A23Claude Code, Codex