channel_message
它能做什么
这项技能让 AI 智能体向另一个聊天频道或会话发送通知。适合在你要求时发送提醒、通知或结果。
适用场景
- ✓当你要求智能体在任务完成时通知某个特定的聊天频道或会话的时候。
- ✓当定时提醒或通知需要推送到已有的聊天中的时候。
- ✓当你希望后台结果被送达你已在使用的某个会话的时候。
技能链接
https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/channel_message-en/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“报告完成后,请给我的团队频道发一条消息。”
每周 5 个新技能,1 分钟读完。
工作原理
它会先查找可用的会话,而不是猜测目的地。然后它以单向推送的方式发送消息,不会有回复返回。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Channel Message
When to Use
Use this skill only when the user explicitly asks you to send a message to a channel/session, or when you need to proactively push a notification (e.g., task completion, reminders, alerts). This is a one-way send — no reply is returned.
Should Use
- The user explicitly asks to send to a specific channel/session
- Proactively notifying the user after a task completes
- Scheduled reminders, alerts, or status updates
- Pushing async results back to an existing session
- The user explicitly says "notify me when done"
Should Not Use
- If you are simply replying in the current session, do not use
qwenpaw channels send - You need a two-way conversation and expect an immediate reply
- You do not know which target session to use
- You are guessing
target-userortarget-session
Decision Rules
- Only use this when the user explicitly asks to send to a channel/session, or proactive notification is needed
- You must query sessions before sending
- Do not guess
target-userortarget-session - If multiple sessions are found, prefer the most recently active one
channel sendis a one-way push — no user reply is returned
Most Common Commands
1) Query available sessions first
qwenpaw chats list --agent-id <your_agent> --channel <channel>
You can also filter by user:
qwenpaw chats list --agent-id <your_agent> --user-id <user_id>
2) Send a message
qwenpaw channels send \
--agent-id <your_agent> \
--channel <channel> \
--target-user <user_id> \
--target-session <session_id> \
--text "..."
Minimal Workflow
1. Determine: is the user explicitly requesting a send, or is proactive notification needed?
2. qwenpaw chats list — query the target session
3. Extract user_id and session_id from the results
4. If multiple sessions exist, prefer the most recently active one
5. qwenpaw channels send — send the message
6. Done (no reply)
Key Rules
Required Parameters
qwenpaw channels send requires all of the following:
--agent-id--channel--target-user--target-session--text
Must Query First
Before sending, run:
qwenpaw chats list --agent-id <your_agent> --channel <channel>
Extract from the results:
user_id→--target-usersession_id→--target-session
If there are multiple candidate sessions, prefer the one with the most recent updated_at.
One-Way Push
qwenpaw channels send only sends — it does not wait for a reply.
Brief Examples
User explicitly asks to send to a channel
qwenpaw chats list --agent-id notify_bot --channel feishu
qwenpaw channels send \
--agent-id notify_bot \
--channel feishu \
--target-user manager_id \
--target-session manager_session \
--text "Weekly report is ready, please review"
Task completion notification
qwenpaw chats list --agent-id task_bot --channel console
qwenpaw channels send \
--agent-id task_bot \
--channel console \
--target-user alice \
--target-session alice_console_001 \
--text "Task completed"
Async result push-back
qwenpaw chats list --agent-id analyst_bot --user-id alice
qwenpaw channels send \
--agent-id analyst_bot \
--channel console \
--target-user alice \
--target-session alice_console_001 \
--text "Data analysis is complete. Results saved to report.pdf"
Common Mistakes
Mistake 1: Using channel send for a normal reply
If you are replying to the user in the current session, do not use qwenpaw channels send.
Mistake 2: Sending without querying sessions first
Do not guess target-user or target-session. First run:
qwenpaw chats list --agent-id <your_agent> --channel <channel>
Mistake 3: Missing required parameters
All five are required: --agent-id, --channel, --target-user, --target-session, --text.
Mistake 4: Expecting a reply from send
There is no reply. It only pushes the message.
Mistake 5: Picking an arbitrary session when the user has multiple
Prefer the most recently active session.
Optional Commands
List all sessions
qwenpaw chats list --agent-id <your_agent>
List sessions for a specific user
qwenpaw chats list --agent-id <your_agent> --user-id <user_id>
List available channels
qwenpaw channels list --agent-id <y
常见问题
它会等待回复吗?
不会。这是单向发送,因此不会向智能体返回任何回复。
如果有多个匹配的会话怎么办?
技能会选择最近活跃的那个。
应该在同一个聊天中回复吗?
不应该。对于在当前聊天中的普通回复,智能体不使用此技能。
详情
作者的原始描述
Use this skill to proactively send a one-way message to a user/session/channel, usually only when the user explicitly asks to send to a channel/session or when proactive notification is needed. First query sessions with qwenpaw chats list, then push with qwenpaw channels send.
repo: agentscope-ai/QwenPaw
热度
- GitHub 星标
- 37k
- 排名
- #7572
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
terraform-skill
37k帮你的智能体编写、测试和审查 Terraform 或 OpenTofu 基础设施代码,涵盖模块、CI/CD、安全扫描和状态问题。
computer_use
37k当没有直接工具能完成工作时,让你的智能体通过观察屏幕、点击并检查每一步结果,来操作正在运行的 Windows 或 macOS 应用。
browser
37k通过 QwenPaw Browser SDK 让你的智能体操作真实的网页浏览器,读取页面、对页面执行操作,并在声称成功前检查结果。
chat_with_agent
37k让你的智能体向另一个 AI 智能体征询意见、计划或审查,并利用之前的上下文继续这段对话。