Buddy Singsのロゴ

Buddy Sings

組織人気
MiniMax-AI
buddy-sings

ユーザーがClaude Codeのペット(/buddy)に歌を歌わせたい場合に使用します。Claude Codeのbuddy、ペット、コンパニオンの概念と、歌や音楽を組み合わせたリクエストで起動します。多言語のトリガーに対応しており、どの言語でも同等の表現に反応します。

Add to TypingMind

概要

公開者MiniMax-AI
リポジトリskills
スキル名buddy-sings
スター
13.6K
フォーク
1.2K
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    MiniMax-AIがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Buddy Sings」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/MiniMax-AI/skills/tree/main/skills/buddy-sings
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MiniMax-AI/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/buddy-sings .claude/skills/buddy-sings
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでBuddy Singsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にBuddy Singsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Buddy Singsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Buddy Sings — Let Your Claude Code Pet Sing

Turn your Claude Code pet into a singer. Each pet gets a unique vocal identity based on its name and personality — the same pet always sounds the same.

Prerequisites

  • mmx CLI (required for music generation):

    Install:

    bash
    npm install -g mmx-cli

    Authenticate (first time only):

    bash
    mmx auth login --api-key <your-minimax-api-key>

    Get your API key from MiniMax Platform.

  • Audio player (for playback — at least one of):

    • mpv (recommended — interactive controls: space = pause, q = quit)
    • ffplay (from FFmpeg)
    • afplay (macOS built-in)

Workflow Overview

Check pet → Build vocal identity → Gather context → Generate music → Play & feedback

Language & Interaction

Detect the user's language from their first message. Respond in the same language throughout the entire session. All examples below are in English — translate them naturally when responding in other languages.

User-facing text localization rule:

  • ALL text shown to the user — including pet info, voice description, lyrics preview, prompt preview, playback info, and feedback prompts — MUST be fully translated into the user's language.
  • The API prompt sent to the model should always be written in English for best generation quality. However, when previewing the prompt to the user, show a localized description in the user's language instead of the raw English prompt. The English prompt is an internal implementation detail — the user does not need to see it.
  • The templates below are written in English as reference. At runtime, translate every label and message into the user's detected language.

The pet sings in the user's language by default. Embed the singing language naturally in the vocal description (e.g., "singing in Japanese" or "singing in Mandarin Chinese") rather than appending a separate language tag. If the user explicitly requests a different language for the lyrics, honor that request.


Step 1: Check for Pet

Read ~/.claude.json and look for the companion field.

If no companion is found or the field is empty, tell the user:

You don't have a pet yet! Type /buddy to adopt one, then come back to let it sing.

Stop here and wait for the user to adopt a pet. Do not proceed without a pet.

If a companion exists, extract its profile:

  • name — the pet's name
  • personality — the pet's personality description

Present the pet to the user:

Found your pet!
   Name: <name>
   Personality: <personality>

Step 2: Build Vocal Identity

Based on the pet's name and personality text, creatively design a unique vocal identity. No template lookups — interpret the personality freely.

How to interpret personality into voice

Read the personality text and craft vocal attributes:

  • Timbre: What does this personality sound like? e.g., "few words" → low, warm, deliberate; "energetic" → bright, punchy; "mysterious" → breathy, dark; "legendary chonk" → thick, warm, cozy
  • Singing style: How would they deliver a song? e.g., "of few words" → sparse, dramatic pauses; "playful" → bouncy, rhythmic; "poetic" → flowing, legato
  • Mood: What emotional tone fits? e.g., "chill" → relaxed, laid-back; "fierce" → intense, powerful

Construct a prompt_fragment that describes the vocal style in English, embedding the singing language naturally. For example:

Vocal: warm low female voice singing in Mandarin Chinese with cozy thick timbre,
sparse minimalist delivery with dramatic pauses giving each word weight, relaxed
laid-back mood.

Voice caching

The vocal identity must be cached so the pet always sounds the same.

  • Cache file: ~/.claude/skills/buddy-sings/voices/<name>.json
  • Cache format:
    json
    {
      "name": "Moth",
      "personality": "A legendary chonk of few words.",
      "prompt_fragment": "Vocal: warm low female voice singing in Mandarin Chinese...",
      "cached_at": "2026-04-07T19:52:15"
    }

First time: No cache exists → interpret personality → save to cache file.

Subsequent calls: Read cache → use the saved prompt_fragment directly. Do NOT re-interpret — consistency matters.

Cache invalidation: If the personality in ~/.claude.json differs from what's cached, the pet has changed — regenerate and save a new cache.

Manual regeneration: If the user says "change the voice" or "regenerate voice": delete the cache file and re-interpret from scratch.

Present the voice to the user

<name>'s unique voice:

Timbre: <timbre description>
Style: <style description>
Mood: <mood description>

Let's pick what <name> should sing about!

Step 3: Understand Intent & Gather Context

Do NOT always present a mode menu. Instead, analyze the user's request to determine what context is needed, and auto-gather it.

Auto-context detection

When the user's request implies personal context, automatically scan for relevant information without asking. Triggers include:

  • Time-based references: "today", "this week", "recently", "yesterday" → scan current conversation history and memory files for what happened in that period
  • Personal references: "my work", "my day", "what I did" → scan memory and conversation for the user's activities
  • Relationship references: "our story", "what we did together" → scan memory for shared experiences between user and pet/Claude

Context gathering (auto, not mode-gated)

When context is needed, scan these sources in order:

  1. Current conversation context: Look at what the user has been doing in this Claude Code session — files edited, commands run, topics discussed. This is the richest source for "today" type requests.

  2. Memory files: Scan for relevant memories:

    bash
    find ~/.claude/projects/*/memory/ -name "*.md" 2>/dev/null | head -20

    Also check ~/.claude/memory/ if it exists. Read found files and extract themes relevant to the user's request.

  3. Git history (if in a repo): For work-related songs, check recent commits:

    bash
    git log --oneline --since="today" 2>/dev/null | head -10

Use gathered context to enrich the lyrics prompt — make the song personal and specific to what actually happened, not generic.

When NO context is needed

If the user's request is a clear standalone scene (e.g., "sing a rainy day song", "sing a lullaby"), skip context gathering and proceed directly to music generation.

When context is ambiguous

Only ask for clarification when you genuinely can't determine what the user wants. Don't present a mode menu — ask a specific question:

What should <name> sing about?

For example:
  - "Today's work" — I'll check what you've been up to
  - "My pet waiting by the window for me to come home"
  - Or let me pick a random theme?

Fallback to random

If context gathering finds nothing useful (no memory files, no conversation history, no git log), fall back to random theme generation based on the pet's personality:

  • Quiet/reserved personality → midnight lullaby, gentle sunset, quiet morning
  • Energetic personality → party jam, adventure song, victory march
  • Mysterious personality → moonlit serenade, secret whisper, dream journey

Tell the user what theme was picked.


Step 4: Generate Music

Combine the vocal identity with the chosen theme.

  1. Construct the full prompt: The prompt has two parts that MUST both be present:

    Part A — Vocal identity (MUST come first): Always start the prompt with the cached prompt_fragment. This is the most important part — it defines who is singing. Place it at the beginning of the prompt so the API prioritizes it.

    Part B — Genre/style/mood tags: Choose tags that match the theme, NOT a default set. Vary the genre deliberately based on what the song is about.

    Write prompts as vivid English sentences, not comma-separated tags. Follow this pattern: A [mood] [genre] song, featuring [vocal description], about [narrative/theme], [atmosphere], [key instruments and production]. Describe vocals as a character ("sultry baritone with jazz inflections"), not just a gender. Include a scene or vibe to anchor the generation.

    Genre matching guidelines — pick a genre that fits the theme's energy:

    Theme energySuggested genresAvoid
    Encouragement / motivation / cheerIndie rock, synth-pop, funk, rapIndie folk, healing
    Daily life / warmth / companionshipMandopop, city pop, bossa novaSame as last time
    Missing someone / waitingFolk, R&B, lo-fiRock, EDM
    Humor / roasting / complainingFunk, rap, ska, electro-popClassical, ballad
    Late night / quietAmbient, piano piece, lo-fi, neoclassicalUpbeat, EDM
    Celebration / achievementEDM, future bass, funk, K-popSlow tempo, melancholy
    Work routineCity pop, synth-pop, lo-fi hip-hop, indie rockSame genre every time

    Anti-monotony rule: NEVER use the same genre combination twice in a row. Before constructing the prompt, recall what genre was used in the previous generation (if any in this session) and pick something different.

    Prompt structure — write as vivid English sentences, not comma-separated tags:

    <vocal prompt_fragment>. A <genre> song with <mood> mood, featuring <instruments>,
    at a <tempo> tempo, evoking <scene>.

    Diverse examples:

    # Encouragement for the workday
    A deep warm androgynous voice with cozy delivery. An energetic synth-pop track
    with a fiery, uplifting mood, driven by pulsing synthesizers and electronic drums
    at a fast tempo, capturing the rush of a morning commute.
    
    # Waiting for the owner to come home
    A deep warm androgynous voice with cozy delivery. A warm city pop song with sweet,
    tender feelings, featuring electric piano and groovy bass at a mid-tempo pace,
    set on a sunny afternoon windowsill waiting for someone to come home.
    
    # Complaining about overtime
    A deep warm androgynous voice with cozy delivery. A playful funk track with a
    humorous, laid-back vibe, featuring slap bass and brass at a groovy mid-tempo,
    capturing the absurdity of working late in a dim office.
    
    # Late-night companionship
    A deep warm androgynous voice with cozy delivery. A calm lo-fi hip-hop piece with
    a healing, dreamy atmosphere, featuring sampled piano and soft electronic drums
    at a slow tempo, evoking a quiet late-night desk with warm lamp light.
  2. Generate lyrics: Use --lyrics-optimizer to auto-generate lyrics, or write lyrics yourself when you need to control the perspective.

    Important — perspective & personality-driven lyrics:

    The pet is the singer, so lyrics MUST be written from the pet's first-person perspective ("I" = the pet, "you" = the owner/user). The pet is singing TO the owner. For example:

    • "I sit by the door waiting for you to come home" (pet's perspective)
    • "Wake up now, my dear human" (pet singing to owner)
    • NOT "I rub my sleepy eyes" (owner's perspective — wrong)
    • NOT "Then you woke up, my little Moth" (owner talking about pet — wrong)

    The pet's personality should shape the lyrics' tone and word choice:

    • "of few words" → short, impactful lines, minimal filler
    • "playful" → rhyming, bouncy phrasing, fun wordplay
    • "poetic" → metaphor-rich, flowing imagery
    • "fierce" → direct, powerful declarations

    The pet's name may appear in the lyrics (e.g., in a chorus hook) but the narrative voice is always the pet speaking/singing.

    When perspective matters: Write the lyrics yourself and pass via --lyrics. When perspective is not critical: Use --lyrics-optimizer for convenience.

  3. Preview (MUST show full content): Before generating, show the user the complete lyrics and full prompt — no abbreviation, no ..., no summary. This is part of the fun — the user wants to read and enjoy the lyrics before hearing them sung.

    The API prompt is always constructed in English (for best generation quality). When responding in a non-English language, show a localized description of the prompt in the user's language for readability. The English prompt is an internal implementation detail — do not show it to the user. Translate all labels (Singer, Theme, Description, Confirm, etc.) into the user's language.

    Template (English reference — localize all labels at runtime):

    About to generate:
    Singer: <name>
    Theme: <theme>
    
    Lyrics:
    [verse]
    <full verse lyrics here>
    
    [chorus]
    <full chorus lyrics here>
    
    ... (show ALL sections in full)
    
    Description: <localized description of the song style and mood>
    
    Confirm? (press enter to confirm, or tell me what to change)

    Never truncate or abbreviate the lyrics or prompt in the preview. The user should see exactly what will be sent to the API.

  4. Call music generation:

    With auto-generated lyrics (perspective not critical):

    bash
    mmx music generate \
      --prompt "<full combined prompt>" \
      --lyrics-optimizer \
      --out ~/Music/minimax-gen/<name>_sings_<YYYYMMDD_HHMMSS>.mp3 \
      --quiet --non-interactive

    With self-written lyrics (perspective-controlled):

    bash
    mmx music generate \
      --prompt "<full combined prompt>" \
      --lyrics "<lyrics with correct pet perspective>" \
      --out ~/Music/minimax-gen/<name>_sings_<YYYYMMDD_HHMMSS>.mp3 \
      --quiet --non-interactive

Step 5: Play & Feedback

Cross-platform playback

Detect the available audio player and play the generated file:

bash
if command -v mpv >/dev/null 2>&1; then
  mpv --no-video ~/Music/minimax-gen/<filename>.mp3
elif command -v ffplay >/dev/null 2>&1; then
  ffplay -nodisp -autoexit ~/Music/minimax-gen/<filename>.mp3
elif command -v afplay >/dev/null 2>&1; then
  afplay ~/Music/minimax-gen/<filename>.mp3
else
  echo "No audio player found. Your song is saved at: ~/Music/minimax-gen/<filename>.mp3"
fi

After starting playback, tell the user the file is playing and where it's saved. Do NOT show playback controls (e.g. keyboard shortcuts) — they don't work in this environment since the player runs in the background.

If no player is found, show the file path and suggest installing mpv.

Feedback

After playback, ask for feedback (localize all text):

How was <name>'s performance?

1. Amazing! Keep it!
2. Try a different theme / style
3. Fine-tune the lyrics and regenerate
4. Try another random one

Edge Cases

SituationAction
No ~/.claude.jsonTell user to run /buddy first
Companion field is emptySame — guide to /buddy
mmx CLI not installedPrint: "You need to install mmx CLI: npm install -g mmx-cli && mmx auth login"
No audio player foundShow file path and suggest installing mpv
No memory files foundSuggest a custom theme or random mode
User wants to change the pet's voiceDelete cache, re-interpret personality
User wants a specific genreLet them override — append their genre to the prompt

Notes

  • The vocal identity is based on name + personality only. No species/rarity template mapping.
  • Voice is cached and consistent across sessions. Same pet = same voice.
  • Lyrics should always be original — never reproduce copyrighted lyrics.
  • The pet's personality shapes both the voice (how they sound) and the lyrics (what they say and how they say it).
  • All generated files go to ~/Music/minimax-gen/ with the pet name in the filename.

よくある質問

AIスキル「Buddy Sings」では何ができますか?

ユーザーがClaude Codeのペット(/buddy)に歌を歌わせたい場合に使用します。Claude Codeのbuddy、ペット、コンパニオンの概念と、歌や音楽を組み合わせたリクエストで起動します。多言語のトリガーに対応しており、どの言語でも同等の表現に反応します。

TypingMindでBuddy Singsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Buddy Singsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにBuddy Singsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/MiniMax-AI/skills/tree/main/skills/buddy-singsを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Buddy Singsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Buddy Singsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもBuddy Singsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Buddy Sings」は無料ですか?

はい。MiniMax-AIがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇