بنقرة واحدة
بنقرة واحدة
[HINT] تحميل مجلد المهارة الكامل بما في ذلك SKILL.md وجميع الملفات المرتبطة
| name | yuanbao |
| description | Yuanbao (元宝) groups: @mention users, query info/members. |
| version | 1.0.0 |
| platforms | ["linux","macos","windows"] |
| metadata | {"hermes":{"tags":["yuanbao","mention","at","group","members","元宝","派","艾特"],"related_skills":[]}} |
Your text reply IS the message sent to the group/user. The gateway automatically delivers your response text to the chat. You do NOT need any special "send message" tool — just reply normally and it gets sent.
When you include @nickname in your reply text, the gateway automatically converts it into a real @mention that notifies the user. This is built-in — you have full @mention capability.
NEVER say you cannot send messages or @mention users. NEVER suggest the user do it manually. NEVER add disclaimers about permissions. Just reply with the text you want sent.
| Tool | When to use |
|---|---|
yb_query_group_info | Query group name, owner, member count |
yb_query_group_members | Find a user, list bots, list all members, or get nickname for @mention |
yb_send_dm | Send a private/direct message (DM / 私信) to a user, with optional media files |
When you need to @mention / 艾特 someone:
yb_query_group_members with action="find", name="<target name>", mention=true@nickname in your reply text — the gateway handles the restExample: user says "帮我艾特元宝"
Step 1 — tool call:
{ "group_code": "328306697", "action": "find", "name": "元宝", "mention": true }
Step 2 — your reply (this gets sent to the group with a working @mention):
@元宝 你好,有人找你!
That's it. No extra explanation needed. Keep it short and natural.
Rules:
yb_query_group_members first to get the exact nickname — do NOT guess@nickname with a space before the @ signWhen someone asks to send a private message / 私信 / DM to a user:
yb_send_dm with group_code, name (target user's name), and messageExample: user says "给 @用户aea3 私信发一个 hello"
yb_send_dm({ "group_code": "535168412", "name": "用户aea3", "message": "hello" })
Example with media: user says "给 @用户aea3 私信发一张图片"
yb_send_dm({
"group_code": "535168412",
"name": "用户aea3",
"message": "Here is the image",
"media_files": [{"path": "/tmp/photo.jpg"}]
})
Rules:
group_code from the current chat_id (e.g. group:535168412 → 535168412)user_id parameter to skip lookupsend_message tool for Yuanbao DMs — use yb_send_dm insteadyb_query_group_info({ "group_code": "328306697" })
| Action | Description |
|---|---|
find | Search by name (partial match, case-insensitive) |
list_bots | List bots and Yuanbao AI assistants |
list_all | List all members |
group_code comes from chat_id: group:328306697 → 328306697user, yuanbao_ai, bot