jpskill.com
🛠️ 開発・MCP コミュニティ 🔴 エンジニア向け 👤 エンジニア・AI開発者

🛠️ Yuanbao

yuanbao

元宝(yuanbao)は、グループ内で

⏱ テスト計画作成 2時間 → 20分

📺 まず動画で見る(YouTube)

▶ 【衝撃】最強のAIエージェント「Claude Code」の最新機能・使い方・プログラミングをAIで効率化する超実践術を解説! ↗

※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。

📜 元の英語説明(参考)

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

🇯🇵 日本人クリエイター向け解説

一言でいうと

元宝(yuanbao)は、グループ内で

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o yuanbao.zip https://jpskill.com/download/1255.zip && unzip -o yuanbao.zip && rm yuanbao.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/1255.zip -OutFile "$d\yuanbao.zip"; Expand-Archive "$d\yuanbao.zip" -DestinationPath $d -Force; ri "$d\yuanbao.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して yuanbao.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → yuanbao フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-17
同梱ファイル
1

💬 こう話しかけるだけ — サンプルプロンプト

  • Yuanbao を使って、最小構成のサンプルコードを示して
  • Yuanbao の主な使い方と注意点を教えて
  • Yuanbao を既存プロジェクトに組み込む方法を教えて

これをClaude Code に貼るだけで、このSkillが自動発動します。

📖 Claude が読む原文 SKILL.md(中身を展開)

この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。

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

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