跳到主要内容

channel_message 精选

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

自动化 Codex CLIMCP 客户端 Apache-2.0 3.6 万
在 GitHub 打开

安装方式

cp -r src/qwenpaw/agents/skills/channel_message-zh ~/.claude/skills/channel-message-zh

把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/

整仓一次性获取:git clone --depth 1 https://github.com/agentscope-ai/QwenPaw.git

依赖与权限

  • 无需 API Key
  • 无需联网
  • 无外部命令依赖
  • 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。

SKILL.md 正文

来源 agentscope-ai/QwenPaw@02b6a6d · 许可 Apache-2.0 · 内容未修改

频道消息推送

什么时候用

通常只有在用户明确要求向某个 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

质量与来源

所属仓库
agentscope-ai/QwenPaw
仓库星标
3.6 万
最近更新
今天
采集时间
今天
commit
02b6a6d088e3
内容指纹
sha256:2888b0f1873d88f
文件路径
src/qwenpaw/agents/skills/channel_message-zh/SKILL.md

同仓库其它 Skill

查看全部 48 个
edu-math-tutorial
数学题分步讲解视频的领域知识。适用场景:(1) 用户给出一道数学题并要求做讲解/ 解题视频;(2) 用户说"讲解这道题"、"生成解题视频"、"make a math tutorial"; (3) 需要中文数学教学视频,涉及方程、公式或几何图形。本 skill 只提供领域 知识(题目拆解、讲解节奏、旁白文案规范、版式与 KaTeX 排版风格);画面、 配音与成片一律用 Creator 原生 Element 与工具从源头构建。
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
professional-media-prompts
为 Creator 编译制作级视觉资产图、电影分镜图和参考生视频 Prompt。适用于 角色身份板/设定图、关键帧或多宫格分镜、短片动作节拍、R2V/I2V/T2V 提示词, 尤其适合要求角色一致性、镜头语言、参考图职责、Seedance 时间段或声音设计的 任务。不用于纯素材剪辑、只查询模型参数,或只评价已经生成的成片。
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
visual-asset-design
为角色/场景/道具设计视觉资产、编写或修复 VisualVariant 与阵容图的生成 Prompt 时使用。涵盖参考图布局(艺术身份板/序列关键帧/环境研究板/道具研究 板)、构图与镜头语言、图片审核误判规避、实体 continuity 与以主图为参考 的跨 Variant 衍生设计。不用于视频 Prompt 编译(见 professional-media-prompts)、 纯素材剪辑或只评价已生成产物。
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
alicloud_cli
阿里云 CLI 中文文档镜像检索与命令辅助:先走章节索引,再下钻正文页面,给出命令前必须有本地文档证据。
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
terraform-cli-setup
Terraform CLI 安装与初始化技能。当用户本地未安装 Terraform 时自动完成安装,确保 terraform 命令可用并能执行 init/validate。不负责 Provider 凭证配置,凭证在实际使用时由 terraform-skill 引导。
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
terraform-skill
Use when working with Terraform or OpenTofu - creating modules, writing tests (native test framework, Terratest), setting up CI/CD pipelines, reviewing configurations, choosing between testing approaches, debugging state issues, implementing security scanning (trivy, checkov), or making infrastructure-as-code architecture decisions
精选 agentscope-ai/QwenPaw 3.6 万 原文
Codex CLIMCP 客户端
agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI
presentation-structure
Knowledge about the presentation slide format, weight system, navigation, and section structure
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI
presentation-styling
Knowledge about CSS classes, component patterns, and syntax highlighting in the presentation
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI
vibe-to-agentic-framework
The conceptual framework behind the presentation — what "Vibe Coding to Agentic Engineering" means, why the journey is structured the way it is, and how every slide fits the narrative arc
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI
time-skill
Display the current time in Pakistan Standard Time (PKT, UTC+5). Use when the user asks for the current time, Pakistan time, or PKT.
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI
weather-fetcher
Instructions for fetching current weather temperature data for Dubai, UAE from Open-Meteo API
精选 shanraisshan/claude-code-best-practice 6.7 万 原文
Claude CodeCodex CLIGemini CLI