Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/matevip/mateclaw --skill channel-message명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | channel_message |
| version | 1.3.0 |
| description | 当需要主动向用户、会话或渠道单向推送消息时使用。适用于任务完成通知、定时提醒、异步结果回推等场景。 |
| dependencies | {"tools":["execute_shell_command"]} |
仅在以下情况使用,这是单向推送,不会收到回复:
console、dingtalk、feishu、telegram、discord、qq、slack
macOS / Linux:
execute_shell_command(
command="mateclaw chats list --agent-id <agentId> --channel <channel>"
)
Windows:
execute_shell_command(
command="mateclaw.exe chats list --agent-id <agentId> --channel <channel>"
)
从返回结果中获取 user_id 和 session_id。有多个会话时,优先选 updated_at 最近的。
macOS / Linux:
execute_shell_command(
command="mateclaw channels send --agent-id <agentId> --channel <channel> --target-user <userId> --target-session <sessionId> --text \"消息内容\""
)
Windows(PowerShell):
execute_shell_command(
command="mateclaw.exe channels send --agent-id <agentId> --channel <channel> --target-user <userId> --target-session <sessionId> --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 命令不可用:
execute_shell_command(command="which mateclaw || where mateclaw")
mateclaw CLI 未找到,无法主动推送消息。请确认 MateClaw 已正确安装并将 CLI 加入 PATH。安装后重试。
channels send 是单向推送,不返回用户回复