
- Installs
- 564
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/nousresearch/hermes-agent --skill yuanbao- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads yuanbao automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
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
What does the yuanbao skill do?
Yuanbao (元宝) groups: @mention users, query info/members.
How do I install yuanbao?
Run npx skills add https://github.com/nousresearch/hermes-agent --skill yuanbao in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/yuanbao/ (personal) or .claude/skills/yuanbao/ (project).
Which AI agents can use yuanbao?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is yuanbao safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains yuanbao?
It is published by nousresearch in nousresearch/hermes-agent. It has 564 recorded installs.
More from nousresearch/hermes-agent
dogfood
nousresearch/hermes-agent
Exploratory QA of web apps: find bugs, evidence, reports.
humanizer
nousresearch/hermes-agent
Humanize text: strip AI-isms and add real voice.
hermes-agent
nousresearch/hermes-agent
Use, configure, theme, extend, and orchestrate Hermes Agent.
popular-web-designs
nousresearch/hermes-agent
54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.
powerpoint
nousresearch/hermes-agent
Create, read, edit .pptx decks with python-pptx.
arxiv
nousresearch/hermes-agent
Search arXiv papers by keyword, author, category, or ID.
Popular other skills
hyperframes-cli
heygen-com/hyperframes
The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.
triage
mattpocock/skills
Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.
ask-matt
mattpocock/skills
Ask which skill or flow fits your situation. A router over the skills in this repo.
to-questionnaire
mattpocock/skills
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
loop-me
mattpocock/skills
Grill me about specs for the workflows I want to build, within this workspace.