# Channel Message

Use this skill to proactively send a one-way message to a user/session/channel, usually...

- Repository: https://github.com/agentscope-ai/QwenPaw (37135 stars)
- Category: Engineering
- License: Apache-2.0
- Last updated: 2026-10-30
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add agentscope-ai/QwenPaw --skill channel_message -g -a claude-code -y`
Codex: `npx skills add agentscope-ai/QwenPaw --skill channel_message -g -a codex -y`
Cursor: `npx skills add agentscope-ai/QwenPaw --skill channel_message -g -a cursor -y`
Gemini CLI: `npx skills add agentscope-ai/QwenPaw --skill channel_message -g -a gemini-cli -y`

## Description

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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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-user` or `target-session`

## Decision Rules

1. **Only use this when the user explicitly asks to send to a channel/session, or proactive notification is needed**
2. **You must query sessions before sending**
3. **Do not guess `target-user` or `target-session`**
4. **If multiple sessions are found, prefer the most recently active one**
5. **`channel send` is a one-way push, no user reply is returned**

---

## Most Common Commands

### 1) Query available sessions first

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

You can also filter by user:

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

### 2) Send a message

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

---

## Minimal Workflow

The rest: https://github.com/agentscope-ai/QwenPaw/blob/HEAD/src/qwenpaw/agents/skills/channel_message-en/SKILL.md
