AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Channel Message

skill-mateaix-mateclaw-channel-message · by mateaix

当需要主动向用户、会话或渠道单向推送消息时使用。适用于任务完成通知、定时提醒、异步结果回推等场景。

No reviews yet
0 installs
3 views
0.0% view→install

Install

$ agentstack add skill-mateaix-mateclaw-channel-message

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-mateaix-mateclaw-channel-message)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Channel Message? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

渠道消息推送

何时使用

仅在以下情况使用,这是单向推送,不会收到回复:

应该使用

  • 用户明确要求"向某个渠道 / 会话发送消息"
  • 异步任务完成后主动通知用户
  • 定时提醒、告警、状态更新
  • 将后台任务结果推送回指定会话

不应使用

  • 当前对话中的正常回复(直接回复即可)
  • 需要等待用户回复的双向交互
  • 目标渠道或会话不明确时(先询问用户)

支持渠道

consoledingtalkfeishutelegramdiscordqqslack

工作流程

第一步:查询目标会话

macOS / Linux:

execute_shell_command(
  command="mateclaw chats list --agent-id  --channel "
)

Windows:

execute_shell_command(
  command="mateclaw.exe chats list --agent-id  --channel "
)

从返回结果中获取 user_idsession_id。有多个会话时,优先选 updated_at 最近的。

第二步:发送消息

macOS / Linux:

execute_shell_command(
  command="mateclaw channels send --agent-id  --channel  --target-user  --target-session  --text \"消息内容\""
)

Windows(PowerShell):

execute_shell_command(
  command="mateclaw.exe channels send --agent-id  --channel  --target-user  --target-session  --text '消息内容'"
)

必填参数一览

| 参数 | 说明 | |------|------| | --agent-id | 当前 Agent 的 ID | | --channel | 目标渠道名称(见支持渠道列表) | | --target-user | 目标用户 ID(从 chats list 获取) | | --target-session | 目标会话 ID(从 chats list 获取) | | --text | 消息内容 |

常见场景示例

任务完成通知

execute_shell_command(
  command="mateclaw chats list --agent-id task-bot --channel dingtalk"
)
# 从结果中取 user_id / session_id,然后:
execute_shell_command(
  command="mateclaw channels send --agent-id task-bot --channel dingtalk --target-user alice --target-session alice_dt_001 --text \"✅ 数据分析已完成,结果已保存到 report.xlsx\""
)

按用户筛选会话

execute_shell_command(
  command="mateclaw chats list --agent-id notify-bot --user-id alice"
)

mateclaw CLI 未安装时的降级处理

mateclaw 命令不可用:

  1. 检测:
execute_shell_command(command="which mateclaw || where mateclaw")
  1. 如果未安装,告知用户:

> mateclaw CLI 未找到,无法主动推送消息。请确认 MateClaw 已正确安装并将 CLI 加入 PATH。安装后重试。

常见错误

  • 缺少必填参数:5 个参数(agent-id、channel、target-user、target-session、text)缺一不可
  • 没有先查 session 就发送:不要猜 target-user 和 target-session,必须先查
  • 把正常对话回复当成推送:当前会话直接回复不需要用本技能
  • 期望收到回复channels send 是单向推送,不返回用户回复

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.