yuanbao

Mention users, query group info, and send direct messages in Yuanbao groups.

Updated May 4, 2026
One-click install
npx skills add https://github.com/Junkfooooood/hermes-governance --skill yuanbao-junkfooooood
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yuanbao
Source: https://github.com/Junkfooooood/hermes-governance/tree/main/skills/yuanbao
Command: npx skills add https://github.com/Junkfooooood/hermes-governance --skill yuanbao-junkfooooood

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing interactions in Yuanbao (元宝) groups requires knowing exact member nicknames for @mentions and having a reliable way to send private messages, which is tedious to do manually across large groups. ## 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. - Group Insights: Query group name, owner, and member count with yb_query_group_info, or list all members and bots. - Direct Messages: Send private messages (私信) with optional image or file attachments using yb_send_dm. - Use Case: A user says "帮我艾特元宝" — the Skill finds the exact nickname, then replies with a working @mention delivered to the group. ## Quick Start Ask the assistant to @mention a specific member or send a private message to a user in your current Yuanbao group.

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 mention that notifies the user.

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. The tool finds the user and delivers the DM, and it also supports media attachments like images and documents.

Can I send images or files in Yuanbao direct messages?

Yes, yb_send_dm accepts a media_files parameter with file paths. Images in .jpg, .png, .gif, .webp, and .bmp formats are sent as image messages, while other file types are delivered as documents.

What happens if multiple Yuanbao members match a name search?

The yb_send_dm or member query tool returns a list of candidate matches when a name is ambiguous. You should ask the user to clarify which member they mean before proceeding with the mention or message.

Where does the group_code parameter come from?

The group_code is extracted from the current chat_id by stripping the prefix. For example, a chat_id of group:328306697 yields the group_code 328306697, which is passed to all Yuanbao tools.