← 返回 Skills 市场
maliot100x

Yuanbao

作者 Maliot100X · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
36
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install yuanbao
功能描述
Yuanbao (元宝) groups: @mention users, query info/members.
使用说明 (SKILL.md)

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="\x3Ctarget 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

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": "/tmp/photo.jpg"}]
})

Rules:

  • Extract group_code from the current chat_id (e.g. group:535168412535168412)
  • If you already know the user_id, pass it directly via the user_id parameter to skip lookup
  • If multiple users match the name, the tool returns candidates — ask the user to clarify
  • Do NOT use send_message tool for Yuanbao DMs — use yb_send_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

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_code comes from chat_id: group:328306697328306697
  • Groups are called "派 (Pai)" in the Yuanbao app
  • Member roles: user, yuanbao_ai, bot
安全使用建议
Review before installing. Use this only where you expect the agent's replies to be posted into Yuanbao chats, and be careful with requests to DM users or send media files because those actions can expose private content to other people. The VirusTotal and static scans were clean, and no executable code or persistence was present.
能力评估
Purpose & Capability
The group mention and member lookup behavior matches the stated Yuanbao group-interaction purpose, but the runtime instructions also include private/direct messaging and media attachments, which are more sensitive than the short manifest description suggests.
Instruction Scope
The skill states that normal assistant replies are automatically delivered to the group/user and tells the agent not to add permission disclaimers. That fits a chat gateway, but it also increases the risk of unintended outbound messages if the user or agent is unclear about what will be sent.
Install Mechanism
The artifact consists of a single non-executable SKILL.md file. No install scripts, package dependencies, background workers, or hidden setup behavior were present.
Credentials
Messaging, @mentions, group member lookup, DMs, and media transfer are coherent for a Yuanbao chat integration, but they affect other users and can expose files or private messages outside the local environment.
Persistence & Privilege
No persistence mechanism, privilege escalation, credential harvesting, local indexing, or autonomous long-running behavior was found in the artifact.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install yuanbao
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /yuanbao 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Yuanbao 1.0.0 initial release: - Enables group interaction with full @mention capability via reply text; no special formatting required. - Provides tools for querying group info, searching members, and sending private messages (DM/私信), including media file support. - Adds clear workflow instructions for @mentioning users and sending DMs within Yuanbao groups. - Designed for concise, natural replies; avoids unnecessary explanations about messaging mechanics. - Includes handling for multiple user candidates and integration with groups ("派") and various member roles (user, yuanbao_ai, bot).
元数据
Slug yuanbao
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Yuanbao 是什么?

Yuanbao (元宝) groups: @mention users, query info/members. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 36 次。

如何安装 Yuanbao?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install yuanbao」即可一键安装,无需额外配置。

Yuanbao 是免费的吗?

是的,Yuanbao 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Yuanbao 支持哪些平台?

Yuanbao 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Yuanbao?

由 Maliot100X(@maliot100x)开发并维护,当前版本 v1.0.0。

💬 留言讨论