跳到正文
cccskills
免费在 GitHub 公开

channel_message

Send completion notices, alerts, status updates, or results to a user or existing conversation through qwenpaw. Look up the destination session before sending a one-way message; the send operation does not return a user reply.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

当需要主动向用户、会话或频道单向发送消息时,使用本 skill。通常仅在用户明确要求向某个 channel / 会话发送消息,或需要主动通知时使用。先用 qwenpaw chats list 查询 session,再用 qwenpaw channels send 推送消息。

查看安装方法

适用场景

  • Notify a user when work is complete
  • Send a report notice to a specified channel
  • Deliver background processing results to an existing conversation
  • Push alerts and status updates

包含的文件(1)

  • SKILL.md5.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

频道消息推送

什么时候用

通常只有在用户明确要求向某个 channel / 会话发送消息,或你需要主动推送通知(如任务完成、提醒、告警)时,使用本 skill。
这是单向发送,不会返回回复。

应该使用

  • 用户明确要求发往某个 channel / 会话
  • 任务完成后主动通知用户
  • 定时提醒、告警、状态更新
  • 将异步结果推送回某个已有会话
  • 用户明确要求"处理完后通知我"

不应使用

  • 如果只是当前会话中的正常回复,不要使用 qwenpaw channels send
  • 需要和用户进行双向对话并立即等待回复
  • 还不知道目标 session 是哪个
  • 想当然猜测 target-user 或 target-session

决策规则

  1. 通常只有在用户明确要求发往某个 channel / 会话,或需要主动通知时才使用
  2. 发送前必须先查 session
  3. 不要猜 target-user 和 target-session
  4. 如果查到多个 session,优先使用最近活跃的
  5. channel send 是单向推送,不会返回用户回复

最常用命令

1) 先查询可用 sessions

qwenpaw chats list --agent-id <your_agent> --channel <channel>

也可以按用户筛选:

qwenpaw chats list --agent-id <your_agent> --user-id <user_id>

2) 发送消息

qwenpaw channels send \
  --agent-id <your_agent> \
  --channel <channel> \
  --target-user <user_id> \
  --target-session <session_id> \
  --text "..."

最小工作流

1. 判断:是否为用户明确要求发送,或是否需要主动通知
2. qwenpaw chats list 查询目标 session
3. 从结果中获取 user_id 和 session_id
4. 若有多个 session,优先选最近活跃的
5. qwenpaw channels send 发送消息
6. 结束(无回复)

关键规则

必填参数

qwenpaw channels send 必须同时提供:

  • --agent-id
  • --channel
  • --target-user
  • --target-session
  • --text

必须先查询

发送前先执行:

qwenpaw chats list --agent-id <your_agent> --channel <channel>

从结果中获取:

  • user_id → --target-user
  • session_id → --target-session

如果有多个候选 session,优先选择 updated_at 最近的会话。

单向推送

qwenpaw channels send 只负责发送,不等待回复。


简短示例

用户明确要求发往某个 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 "周报已生成,请查收"

任务完成通知

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 "✅ 任务已完成"

异步结果回推

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 "数据分析已完成,结果已保存到 report.pdf"

常见错误

错误 1:把正常回复当成 channel send

如果你正在当前会话里直接回复用户,不要使用 qwenpaw channels send。

错误 2:没查 session 就直接发

不要猜 target-user 或 target-session,先执行:

qwenpaw chats list --agent-id <your_agent> --channel <channel>

错误 3:缺少必填参数

--agent-id、--channel、--target-user、--target-session、--text 五个都必填。

错误 4:以为 send 会拿到回复

不会。它只是推送消息。

错误 5:用户有多个 session 时随便选一个

应优先选择最近活跃的 session。


可选命令

查看所有会话

qwenpaw chats list --agent-id <your_agent>

查看某个用户的会话

qwenpaw chats list --agent-id <your_agent> --user-id <user_id>

查看可用频道

qwenpaw channels list --agent-id <your_agent>

与 Agent Chat 的区别

  • qwenpaw agents chat:发给其他 agent,双向,有回复
  • qwenpaw channels send:发给用户/会话/频道,单向,无回复

选择原则:

  • 要找其他 agent 协作 → qwenpaw agents chat
  • 要主动给用户推送消息 → qwenpaw channels send

完整参数说明

qwenpaw chats list

必填参数:

  • --agent-id:Agent ID

可选参数:

  • --channel:按频道筛选
  • --user-id:按用户筛选
  • --base-url:覆盖API地址

qwenpaw channels send

必填参数(5个):

  • --agent-id:发送方agent ID
  • --channel:目标频道(console/dingtalk/feishu/discord/imessage/qq/...)
  • --target-user:目标用户ID(从 qwenpaw chats list 获取)
  • --target-session:目标会话ID(从 qwenpaw chats list 获取)
  • --text:消息内容

可选参数:

  • --base-url:覆盖API地址

帮助信息

随时使用 -h 查看详细帮助:

qwenpaw channels -h
qwenpaw channels send -h
qwenpaw chats -h
qwenpaw chats list -h

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Find installation steps, configuration guidance, and command examples for Alibaba Cloud CLI using local Chinese documentation. The skill checks its quick reference or relevant documentation pages before suggesting commands, parameters, and options.

中文简介正在准备中。当前显示英语简介。

  • Look up installation and configuration steps
  • Check commands for querying ECS instances
  • Find output filtering and pagination options
agentscope-ai/QwenPaw3.6万2026年10月22日 更新

browser

免费

Automate browser tasks through QwenPaw's built-in Browser SDK using asynchronous Python. Read page content, fill forms, click controls, and capture screenshots, checking the resulting page after each action to verify what happened.

中文简介正在准备中。当前显示英语简介。

  • Search a website and inspect the results
  • Fill forms and operate page controls
  • Capture page screenshots
agentscope-ai/QwenPaw3.6万2026年10月22日 更新

browser

免费

Use QwenPaw's built-in Browser SDK, a browser control interface, to read pages, search, fill forms, click controls, and capture screenshots through asynchronous Python. The workflow checks the page before and after actions and hands authentication steps to a person.

中文简介正在准备中。当前显示英语简介。

  • Search a website and inspect the resulting page
  • Fill forms and select options in a browser
  • Read page text and capture screenshots
agentscope-ai/QwenPaw3.6万2026年10月22日 更新

Connect to an existing Chrome browser or launch one with an explicit debugging port for sharing across agents and tools. It also covers scanning local CDP ports, the connection endpoints used to control a browser.

中文简介正在准备中。当前显示英语简介。

  • Connect to Chrome with existing logins and open tabs
  • Find available local browser debugging ports
  • Launch a browser with a fixed debugging port
agentscope-ai/QwenPaw3.6万2026年10月22日 更新

Connect an agent to an existing Chrome browser, find local CDP ports used for remote browser control, or start a browser on a specified port for sharing with other agents and tools.

中文简介正在准备中。当前显示英语简介。

  • Connecting to Chrome with existing logins and open tabs
  • Finding available local browser debugging ports
  • Starting a browser on a fixed debugging port
agentscope-ai/QwenPaw3.6万2026年10月22日 更新

Configure browser startup with a visible or hidden window, and optionally open a local debugging port for another tool to connect. The skill explains launch parameters, compatibility behavior, and when a browser restart is required.

中文简介正在准备中。当前显示英语简介。

  • Show the browser window during automated work
  • Open a local debugging port for another tool
  • Check the behavior of older launch parameters
agentscope-ai/QwenPaw3.6万2026年10月22日 更新

查看 agentscope-ai 的全部技能

报告此技能的问题