yuanbao

Send @mentions, direct messages, and query member info in Yuanbao groups.

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/CHENHUI-X/toolbox --skill yuanbao-chenhui-x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yuanbao
Source: https://github.com/CHENHUI-X/toolbox/tree/main/custom-skills/uncategorized/yuanbao
Command: npx skills add https://github.com/CHENHUI-X/toolbox --skill yuanbao-chenhui-x

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing interactions in Yuanbao (元宝) groups requires knowing exact member nicknames and group codes, and manually sending @mentions or private messages is tedious. This Skill automates member lookup, @mention formatting, and DM delivery through dedicated tools. ## Core Features & Use Cases - @Mention Users: Look up a member's exact nickname with yb_query_group_members and include @nickname in your reply so the gateway delivers a real notification. - Send Direct Messages: Use yb_send_dm to send private messages (私信) to any group member, with optional media attachments like images or documents. - Query Group Data: Retrieve group name, owner, member count, and full member lists including bots and Yuanbao AI assistants. - Use Case: A user says "帮我艾特元宝" — the Skill finds the exact nickname via member search, then replies with @元宝 so the mention notifies that user in the group. ## Quick Start Ask the assistant to @mention a specific member or send a private message to a user in your Yuanbao group by name.

Frequently Asked Questions about yuanbao

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I @mention a user in a Yuanbao group?

Call yb_query_group_members with action "find", the target name, and mention=true to get the exact nickname. Then include @nickname in your reply text, and the gateway automatically converts it into a real notification.

How to send a private message (DM) to a Yuanbao group member?

Use the yb_send_dm tool with the group_code, the target user's name, and your message text. It also supports media attachments like images and documents via the media_files parameter.

Where does the group_code come from in Yuanbao?

The group_code is extracted from the current chat_id. For example, a chat_id of "group:328306697" yields the group_code "328306697", which you pass to all Yuanbao tools.

What happens if multiple Yuanbao members match a name search?

The yb_send_dm and member query tools return a list of candidate matches when a name is ambiguous. You should ask the user to clarify which member they mean before proceeding.

Can I send images or files in Yuanbao direct messages?

Yes, yb_send_dm supports media_files. Images in .jpg, .png, .gif, .webp, or .bmp format are sent as image messages, while other file types are delivered as documents.