Chuyển đến nội dung
Skillpedia
Email và tin nhắn37k · #7572

channel_message

Skill này làm gì

Skill này cho phép agent AI gửi thông báo đến một kênh hoặc phiên trò chuyện khác. Skill dành cho việc gửi cảnh báo, nhắc việc hoặc kết quả khi bạn yêu cầu.

Khi nào nên dùng

  • ✓Khi bạn yêu cầu agent thông báo cho một kênh hoặc phiên trò chuyện cụ thể khi tác vụ xong.
  • ✓Khi một nhắc việc hoặc cảnh báo theo lịch cần được đẩy đến một cuộc trò chuyện đã có.
  • ✓Khi bạn muốn kết quả chạy nền được gửi đến một phiên bạn đang dùng.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/channel_message-en/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Gửi tin nhắn vào kênh nhóm của tôi khi báo cáo đã xong.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill trước hết tra cứu các phiên có sẵn để không phải đoán đích đến. Sau đó nó gửi tin nhắn dưới dạng đẩy một chiều, và không có phản hồi nào được trả về.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

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-user
  • session_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
Câu hỏi thường gặp

Skill có chờ phản hồi không?

Không. Đây là gửi một chiều, nên không có phản hồi nào được trả về cho agent.

Nếu có nhiều phiên khớp thì sao?

Skill chọn phiên hoạt động gần đây nhất.

Có nên trả lời trong chính cuộc trò chuyện đó không?

Không. Với các trả lời thông thường trong cuộc trò chuyện hiện tại, agent không dùng skill này.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
37k
Vị trí xếp hạng
#7572
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự