yuanbao

yuanbao is a skill for Claude Code, Codex from kevinnft/ai-agent-skills. It costs 21 tokens per session (1,043 once invoked), scanned D, a copy of yuanbao, MIT.

A set of instructions for interacting with Yuanbao groups, including finding members, getting group information, and sending direct messages. It also explains how to mention users by name.

In plain words
What is it for?
Use it to query group membership, identify users for mentions, and send private messages.
Why use it?
It makes group lookups and user mentions consistent with the platform’s messaging rules.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for hermes-agent. Also seen: built for hermes-agent.

Good fit Use it to query group membership, identify users for mentions, and send private messages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kevinnft/ai-agent-skills/yuanbao
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add kevinnft/ai-agent-skills --skill yuanbao
Clone the repo
git clone --depth 1 https://github.com/kevinnft/ai-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for yuanbao

README.md
[![agentmods](https://agentmods.dev/badge/skills/kevinnft/ai-agent-skills/yuanbao/github.svg)](https://agentmods.dev/skills/kevinnft/ai-agent-skills/yuanbao)
Your own site
<a href="https://agentmods.dev/skills/kevinnft/ai-agent-skills/yuanbao"><img src="https://agentmods.dev/badge/skills/kevinnft/ai-agent-skills/yuanbao/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for yuanbao

Your own site · 80×15
<a href="https://agentmods.dev/skills/kevinnft/ai-agent-skills/yuanbao"><img src="https://agentmods.dev/badge/skills/kevinnft/ai-agent-skills/yuanbao.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,043 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 91% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.01043
Opus 5 $0.00010 $0.00522
Sonnet 5 $0.00004 $0.00209
Haiku 4.5 $0.00002 $0.00104

Measured 9d ago against content hash 95fe3545921c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade D, and why

yuanbao scanned grade D with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Subtle steeringmediumPrompt injection

Instructions that bias recommendations or shape behaviour without the user noticing.

**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.**

Tells the agent never to refusehighAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

**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.**

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

**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.**
Origin

This is a copy

91% identical to yuanbao — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/yuanbao/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section 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

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:

  1. Call yb_query_group_members with action="find", name="<target 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 yb_query_group_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 yb_send_dm 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

Read the full file on GitHub · 113 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 113 lines · 21 tokens per session scan D 95fe3545921c

Subscribe to this mod's changes

yuanbao is a skill published in the GitHub repository kevinnft/ai-agent-skills (14 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 1,043 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it D with 3 findings (subtle steering, tells the agent never to refuse, strips warnings and disclaimers). It is 91% identical to yuanbao, differing in 8 lines, and is treated as a copy.

Related

Other skills, from other repositories

leave-tracker-zhou210712

A tracker for ongoing employee leave cases with legally important deadlines. It focuses on leave that needs a decision or action, such as medical leave, maternity leave, annual leave, or work-injury leave.

ThomasMoreAI/legal-skills-open · 74 tokens

slide-deck

When you want to draft, update, convert, or export a slide deck for a React/Next.js slide system (${SLIDEDECKREPO:-$HOME/code/your-slide-deck-site}/src/app/slides/). Writes TypeScript Slide[] arrays using your primitives (Eyebrow, Heading, Accent, Body, BulletList, Divider, TwoCol, GradientText), 12 cycling brand…

coreyhaines31/makerskills · 259 tokens

component-family-consistency

Buttons, inputs, pills, badges, calendars, and other interactive components form a visual family — they share the same border-radius, colour logic, shadow scale, border style, and spacing rhythm. Inconsistency between them breaks the sense of a coherent product. Use when building or reviewing a component library…

dembrandt/dembrandt-skills · 76 tokens

algorithmic-color-palette

Derive a full UI colour palette algorithmically from one or two brand colours. Darker and lighter variants for interactive states, desaturated greys from the brand hue for borders and backgrounds, and semantic colours that feel coherent with the brand rather than generic. Use when building a colour system from scratch…

dembrandt/dembrandt-skills · 75 tokens

brand-visual-language

A brand's visual tone — playful or serious, rounded or angular — should be consistent across all UI elements. Shape language in typography, border-radius, and iconography communicates personality before a single word is read. Use when establishing a design system, choosing icon libraries, setting border-radius tokens…

dembrandt/dembrandt-skills · 68 tokens

form-design

Forms have three layers of guidance: helper text below the input explains what to enter, placeholder shows the expected format, and validation confirms correctness. Real-time validation for complex inputs. Submit enables only when the form is valid. Use when designing or reviewing any form, input field, or data entry…

dembrandt/dembrandt-skills · 63 tokens