MCP.Market

yuanbao skill

by NousResearch·NousResearch/hermes-agent·261k stars·MIT

Yuanbao (元宝) groups: @mention users, query info/members.

A100/100content scan

Is the yuanbao skill safe?

Clean: nothing in its files matched our rules. We read 1 file in the folder on 2026-11-01.

No findings.

Install the yuanbao skill

A skill is a folder. Copy it into your agent's skills folder and the agent loads it when the task matches its description.

git clone --depth 1 https://github.com/NousResearch/hermes-agent.git /tmp/hermes-agent
mkdir -p ~/.claude/skills
cp -r /tmp/hermes-agent/optional-skills/yuanbao ~/.claude/skills/yuanbao
available in every project

In the Claude apps, zip the folder and upload it from the Skills settings. The folder on GitHub

The instructions your agent would load

SKILL.md as published, without the frontmatter. Read it on 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

@Mention Workflow

When you need to @mention / 艾特 someone:

  1. Call ybquerygroup_members with action="find", name="", mention=true
  2. Get the exact nickname from the response
  3. Include @nickname in 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 ybquerygroup_members first to get the exact nickname — do NOT guess
  • The @mention format: @nickname with 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:

  1. Call ybsenddm with group_code, name (target user's name), and message
  2. The tool automatically finds the user and sends the DM
  3. 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 groupcode from the current chatid (e.g. group:535168412 → 535168412)
  • If you already know the userid, pass it directly via the userid parameter to skip lookup
  • If multiple users match the name, the tool returns candidates — ask the user to clarify
  • Do NOT use sendmessage tool for Yuanbao DMs — use ybsend_dm instead
  • 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

Notes

  • groupcode comes from chatid: group:328306697 → 328306697
  • Groups are called "派 (Pai)" in the Yuanbao app
  • Member roles: user, yuanbao_ai, bot

More skills from NousResearch/hermes-agent

  • A1passwordSet up op CLI, sign in, and read or inject secrets.
  • A3-statement-modelBuild integrated IS/BS/CF financial workbooks in Excel.
  • AaccelerateRun PyTorch training across GPUs with minimal changes.
  • Cactual-setupSet up Actual Computer (actual.inc) inference in Hermes.
  • Aadversarial-ux-testRoleplay a hostile user to find and triage UX pain points.
  • Aagent-merge-conflict-arbiterNeutral arbiter for merge conflicts between two agents.
  • AagentmailUse when an agent needs AgentMail CLI email inboxes.
  • Aai-presenter-videoMake a verified AI presenter video from script + image.
  • AairtableAirtable REST API via curl. Records CRUD, filters, upserts.
  • AanatomyExplain an idea as an interactive isometric machine figure.
  • Cantigravity-cliOperate the Antigravity CLI (agy): plugins, auth, sandbox.
  • Aapple-notesManage Apple Notes via memo CLI: create, search, edit.

All agent skills → · MCP servers