[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77MH76D5MW7WE3P1YCWWKWD":3,"skill-same:01M77MH76D5MW7WE3P1YCWWKWD":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":13,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M77MH76D5MW7WE3P1YCWWKWD","channel_message",null,"当需要主动向用户、会话或渠道单向推送消息时使用。适用于任务完成通知、定时提醒、异步结果回推等场景。","pan-hh\u002Fmateclaw-hybrid","pan-hh","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F244917262?v=4","01M77MGAQE06HNBEHKYN7180V6","01M77MGARJ7JXWZYKA9RMM968R",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fpan-hh\u002Fmateclaw-hybrid\u002Fblob\u002Fdev\u002Fmateclaw-server\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fchannel_message\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: channel_message\nversion: \"1.3.0\"\ndescription: \"当需要主动向用户、会话或渠道单向推送消息时使用。适用于任务完成通知、定时提醒、异步结果回推等场景。\"\ndependencies:\n  tools:\n    - execute_shell_command\n---\n\n# 渠道消息推送\n\n## 何时使用\n\n仅在以下情况使用，这是**单向推送**，不会收到回复：\n\n### 应该使用\n- 用户明确要求\"向某个渠道 \u002F 会话发送消息\"\n- 异步任务完成后主动通知用户\n- 定时提醒、告警、状态更新\n- 将后台任务结果推送回指定会话\n\n### 不应使用\n- 当前对话中的正常回复（直接回复即可）\n- 需要等待用户回复的双向交互\n- 目标渠道或会话不明确时（先询问用户）\n\n## 支持渠道\n\n`console`、`dingtalk`、`feishu`、`telegram`、`discord`、`qq`、`slack`\n\n## 工作流程\n\n### 第一步：查询目标会话\n\n**macOS \u002F Linux：**\n```\nexecute_shell_command(\n  command=\"mateclaw chats list --agent-id \u003CagentId> --channel \u003Cchannel>\"\n)\n```\n\n**Windows：**\n```\nexecute_shell_command(\n  command=\"mateclaw.exe chats list --agent-id \u003CagentId> --channel \u003Cchannel>\"\n)\n```\n\n从返回结果中获取 `user_id` 和 `session_id`。有多个会话时，优先选 `updated_at` 最近的。\n\n### 第二步：发送消息\n\n**macOS \u002F Linux：**\n```\nexecute_shell_command(\n  command=\"mateclaw channels send --agent-id \u003CagentId> --channel \u003Cchannel> --target-user \u003CuserId> --target-session \u003CsessionId> --text \\\"消息内容\\\"\"\n)\n```\n\n**Windows（PowerShell）：**\n```\nexecute_shell_command(\n  command=\"mateclaw.exe channels send --agent-id \u003CagentId> --channel \u003Cchannel> --target-user \u003CuserId> --target-session \u003CsessionId> --text '消息内容'\"\n)\n```\n\n### 必填参数一览\n\n| 参数 | 说明 |\n|------|------|\n| `--agent-id` | 当前 Agent 的 ID |\n| `--channel` | 目标渠道名称（见支持渠道列表） |\n| `--target-user` | 目标用户 ID（从 `chats list` 获取） |\n| `--target-session` | 目标会话 ID（从 `chats list` 获取） |\n| `--text` | 消息内容 |\n\n## 常见场景示例\n\n### 任务完成通知\n\n```\nexecute_shell_command(\n  command=\"mateclaw chats list --agent-id task-bot --channel dingtalk\"\n)\n# 从结果中取 user_id \u002F session_id，然后：\nexecute_shell_command(\n  command=\"mateclaw channels send --agent-id task-bot --channel dingtalk --target-user alice --target-session alice_dt_001 --text \\\"✅ 数据分析已完成，结果已保存到 report.xlsx\\\"\"\n)\n```\n\n### 按用户筛选会话\n\n```\nexecute_shell_command(\n  command=\"mateclaw chats list --agent-id notify-bot --user-id alice\"\n)\n```\n\n## mateclaw CLI 未安装时的降级处理\n\n若 `mateclaw` 命令不可用：\n\n1. 检测：\n```\nexecute_shell_command(command=\"which mateclaw || where mateclaw\")\n```\n\n2. 如果未安装，告知用户：\n> mateclaw CLI 未找到，无法主动推送消息。请确认 MateClaw 已正确安装并将 CLI 加入 PATH。安装后重试。\n\n## 常见错误\n\n- **缺少必填参数**：5 个参数（agent-id、channel、target-user、target-session、text）缺一不可\n- **没有先查 session 就发送**：不要猜 target-user 和 target-session，必须先查\n- **把正常对话回复当成推送**：当前会话直接回复不需要用本技能\n- **期望收到回复**：`channels send` 是单向推送，不返回用户回复\n","# 渠道消息推送\n\n## 何时使用\n\n仅在以下情况使用，这是**单向推送**，不会收到回复：\n\n### 应该使用\n- 用户明确要求\"向某个渠道 \u002F 会话发送消息\"\n- 异步任务完成后主动通知用户\n- 定时提醒、告警、状态更新\n- 将后台任务结果推送回指定会话\n\n### 不应使用\n- 当前对话中的正常回复（直接回复即可）\n- 需要等待用户回复的双向交互\n- 目标渠道或会话不明确时（先询问用户）\n\n## 支持渠道\n\n`console`、`dingtalk`、`feishu`、`telegram`、`discord`、`qq`、`slack`\n\n## 工作流程\n\n### 第一步：查询目标会话\n\n**macOS \u002F Linux：**\n```\nexecute_shell_command(\n  command=\"mateclaw chats list --agent-id \u003CagentId> --channel \u003Cchannel>\"\n)\n```\n\n**Windows：**\n```\nexecute_shell_command(\n  command=\"mateclaw.exe chats list --agent-id \u003CagentId> --channel \u003Cchannel>\"\n)\n```\n\n从返回结果中获取 `user_id` 和 `session_id`。有多个会话时，优先选 `updated_at` 最近的。\n\n### 第二步：发送消息\n\n**macOS \u002F Linux：**\n```\nexecute_shell_command(\n  command=\"mateclaw channels send --agent-id \u003CagentId> --channel \u003Cchannel> --target-user \u003CuserId> --target-session \u003CsessionId> --text \\\"消息内容\\\"\"\n)\n```\n\n**Windows（PowerShell）：**\n```\nexecute_shell_command(\n  command=\"mateclaw.exe channels send --agent-id \u003CagentId> --channel \u003Cchannel> --target-user \u003CuserId> --target-session \u003CsessionId> --text '消息内容'\"\n)\n```\n\n### 必填参数一览\n\n| 参数 | 说明 |\n|------|------|\n| `--agent-id` | 当前 Agent 的 ID |\n| `--channel` | 目标渠道名称（见支持渠道列表） |\n| `--target-user` | 目标用户 ID（从 `chats list` 获取） |\n| `--target-session` | 目标会话 ID（从 `chats list` 获取） |\n| `--text` | 消息内容 |\n\n## 常见场景示例\n\n### 任务完成通知\n\n```\nexecute_shell_command(\n  command=\"mateclaw chats list --agent-id task-bot --channel dingtalk\"\n)\n# 从结果中取 user_id \u002F session_id，然后：\nexecute_shell_command(\n  command=\"mateclaw channels send --agent-id task-bot --channel dingtalk --target-user alice --target-session alice_dt_001 --text \\\"✅ 数据分析已完成，结果已保存到 report.xlsx\\\"\"\n)\n```\n\n### 按用户筛选会话\n\n```\nexecute_shell_command(\n  command=\"mateclaw chats list --agent-id notify-bot --user-id alice\"\n)\n```\n\n## mateclaw CLI 未安装时的降级处理\n\n若 `mateclaw` 命令不可用：\n\n1. 检测：\n```\nexecute_shell_command(command=\"which mateclaw || where mateclaw\")\n```\n\n2. 如果未安装，告知用户：\n> mateclaw CLI 未找到，无法主动推送消息。请确认 MateClaw 已正确安装并将 CLI 加入 PATH。安装后重试。\n\n## 常见错误\n\n- **缺少必填参数**：5 个参数（agent-id、channel、target-user、target-session、text）缺一不可\n- **没有先查 session 就发送**：不要猜 target-user 和 target-session，必须先查\n- **把正常对话回复当成推送**：当前会话直接回复不需要用本技能\n- **期望收到回复**：`channels send` 是单向推送，不返回用户回复\n",{"name":5,"version":23,"description":7,"dependencies":24},"1.3.0",{"tools":25},[26],"execute_shell_command","dev","26b960a788645da1daf5b6c1c8c7ffe1a78ab755","mateclaw-server\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fchannel_message","https:\u002F\u002Fgithub.com\u002Fpan-hh\u002Fmateclaw-hybrid","https:\u002F\u002Fgithub.com\u002Fpan-hh","2026-06-25 12:43:25",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add pan-hh\u002Fmateclaw-hybrid --skill channel_message",{"tool":39,"command":40},"bunx","bunx skills add pan-hh\u002Fmateclaw-hybrid --skill channel_message",{"tool":42,"command":43},"pnpm","pnpm dlx skills add pan-hh\u002Fmateclaw-hybrid --skill channel_message","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpan-hh\u002Fmateclaw-hybrid\u002Fblob\u002Fdev\u002Fmateclaw-server\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fchannel_message\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":18},"01M77MNZW6PYRTH5KM9121RYAK","sample","Test fixture for SkillBundleMaterializer.","https:\u002F\u002Fgithub.com\u002Fpan-hh\u002Fmateclaw-hybrid\u002Fblob\u002Fdev\u002Fmateclaw-server\u002Fsrc\u002Ftest\u002Fresources\u002Ftest-bundles\u002Fsample\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M77MNNA8HYFP854EHAEGZ838","x_intel","Read X (Twitter) posts, search, timelines and user profiles via the official xurl CLI.","https:\u002F\u002Fgithub.com\u002Fpan-hh\u002Fmateclaw-hybrid\u002Fblob\u002Fdev\u002Fmateclaw-server\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fx_intel\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M77MNJRFN8KNSY1PXRFBV97S","writing-plans","Write implementation plans: bite-sized tasks, paths, code.","https:\u002F\u002Fgithub.com\u002Fpan-hh\u002Fmateclaw-hybrid\u002Fblob\u002Fdev\u002Fmateclaw-server\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M77MNF0PF06YCNA9TWK85PE9","webhook-subscriptions","Webhook subscriptions: event-driven agent runs.","https:\u002F\u002Fgithub.com\u002Fpan-hh\u002Fmateclaw-hybrid\u002Fblob\u002Fdev\u002Fmateclaw-server\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fwebhook-subscriptions\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M77MNATFKP03KPE7HM7W29MC","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002Fpan-hh\u002Fmateclaw-hybrid\u002Fblob\u002Fdev\u002Fmateclaw-server\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M77MN78ZK5EKN7HT2ZKYDPKM","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002Fpan-hh\u002Fmateclaw-hybrid\u002Fblob\u002Fdev\u002Fmateclaw-server\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]