yuanbao

Query Yuanbao group info and members, send @mentions and direct messages.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/xu1713/openhorse --skill yuanbao-xu1713
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yuanbao
Source: https://github.com/xu1713/openhorse/tree/main/openhorse/openhorse/skills/yuanbao
Command: npx skills add https://github.com/xu1713/openhorse --skill yuanbao-xu1713

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 error-prone. This Skill automates member lookup, @mention formatting, and direct message 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. - Group Queries: Retrieve group name, owner, and member count with yb_query_group_info, or list all members and bots. - Send Direct Messages: Deliver private messages (私信) with optional image or file attachments using yb_send_dm. - Use Case: A user says "帮我艾特元宝" — the Skill finds the exact nickname in group 328306697 and replies with a working @mention, all in one step. ## Quick Start Ask the assistant to @mention a specific user by name in the current Yuanbao group, or to send a private message with text and an attached image to a named member.

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 do I send a private message 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 such as images, which are sent as image messages, and other files sent as documents.

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 the query and DM tools.

What happens if multiple Yuanbao members match a name?

The yb_send_dm and member query tools return a list of candidate users when a name matches multiple members. You should ask the user to clarify which person they mean, or pass a known user_id directly to skip lookup.

Can I list all bots and AI assistants in a Yuanbao group?

Yes, call yb_query_group_members with action "list_bots" to see bots and Yuanbao AI assistants, or use "list_all" to retrieve every member. Member roles include user, yuanbao_ai, and bot.