yuanbao
What it does
This skill lets your AI take part in Yuanbao, a Chinese chat platform, by finding group members, mentioning them and sending private messages. It is for people who run or join Yuanbao groups.
When to use it
- ✓When you want your AI to mention a group member in a Yuanbao chat.
- ✓When you want to look up group information or list members in Yuanbao.
- ✓When you want your AI to send a private Yuanbao message to a user.
Skill link
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/yuanbao/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Mention Yuanbao in the group chat and ask him to send the weekly report.”
5 new skills a week. 1 minute to read.
How it works
The skill has your AI look up the exact nickname of the member with a group query tool, then writes the reply with that name. The chat gateway turns the name into a real mention.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Yuanbao Group Interaction
CRITICAL: How Messaging Works
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.
Available Tools
| 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 |
@Mention Workflow
When you need to @mention / 艾特 someone:
- Call
yb_query_group_memberswithaction="find",name="<target name>",mention=true - Get the exact nickname from the response
- Include
@nicknamein your reply text — the gateway handles the rest
Example: 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:
- Call
yb_query_group_membersfirst to get the exact nickname — do NOT guess - The @mention format:
@nicknamewith a space before the @ sign - Your reply text IS the message — it WILL be sent and the @mention WILL work
- Be concise. Do NOT explain how @mention works to the user.
Send DM (Private Message) Workflow
When someone asks to send a private message / 私信 / DM to a user:
- Call
yb_send_dmwithgroup_code,name(target user's name), andmessage - The tool automatically finds the user and sends the DM
- Report the result to the user
Example: 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": "/path/to/photo.jpg"}]
})
Rules:
- Extract
group_codefrom the current chat_id (e.g.group:535168412→535168412) - If you already know the user_id, pass it directly via the
user_idparameter to skip lookup - If multiple users match the name, the tool returns candidates — ask the user to clarify
- Do NOT use
send_messagetool for Yuanbao DMs — useyb_send_dminstead - Supports media: images (.jpg/.png/.gif/.webp/.bmp) sent as image messages, other files as documents
Query Group Info
yb_query_group_info({ "group_code": "328306697" })
Query Members
| Action | Description |
|---|---|
find |
Search by name (partial match, case-insensitive) |
list_bots |
List bots and Yuanbao AI assistants |
list_all |
List all members |
Notes
group_codecomes from chat_id:group:328306697→328306697- Groups are called "派 (Pai)" in the Yuanbao app
- Member roles:
user,yuanbao_ai,bot
FAQ
How does a mention work?
The skill says the AI looks up the member's exact nickname and includes it as @nickname in its reply, and the gateway makes it a real mention.
Can it send private messages?
Yes. The skill lists a tool for sending a direct message, with optional media files.
Do I need special permissions?
The skill says the AI should not add permission disclaimers, but group access depends on your Yuanbao setup.
Details
Original description by the author
Yuanbao (元宝) groups: @mention users, query info/members.
Popularity
- GitHub stars
- 260k
- Ranking position
- #582
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
agent-merge-conflict-arbiter
260kSettles a git merge conflict between two agents' branches as a neutral third party, producing one merged result for the repo.
antigravity-cli
260kGuides you through installing, updating, and troubleshooting the Antigravity command line tool, including its plugins, sign-in, and sandbox.
blackbox
260kLets your agent hand a coding task to the Blackbox AI command line tool, which runs several AI models and picks the best result.
dynamic-workflow
260kTeaches your agent to run large batches of similar work as a saved script, so only verified results return to the main conversation.
Similar skills
discord-user-post
394kLets your agent post a message you have approved to Discord as you, through the Discord desktop app, after confirming the exact channel.
configure-channel
394kTeaches your agent to connect a chat app such as Telegram to OpenClaw, store the bot token safely, and check that messages flow.
discord
394kHelps your agent read, send, edit, and react to Discord messages through OpenClaw, checking the exact message before making changes.