Chuyển đến nội dung
Skillpedia
Khác14k · #11287

buddy-sings

Skill này làm gì

Skill này biến thú cưng Claude Code của bạn, gọi là buddy, thành ca sĩ. Skill dành cho người dùng muốn thú cưng của mình biểu diễn một bài hát với nhạc được tạo bằng công cụ MiniMax.

Khi nào nên dùng

  • ✓Khi bạn yêu cầu thú cưng Claude Code của mình hát một bài.
  • ✓Khi bạn muốn có nhạc về thú cưng hoặc người bạn đồng hành của mình.
  • ✓Khi bạn muốn nghe bài hát của thú cưng được phát trên máy tính.

Liên kết skill

https://github.com/MiniMax-AI/skills/blob/main/skills/buddy-sings/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/MiniMax-AI/skills/blob/main/skills/buddy-sings/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi muốn buddy Claude Code của mình hát một bài ngắn, vui vẻ về những cuộc phiêu lưu của nó.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent kiểm tra thú cưng của bạn, tạo phong cách giọng hát từ tên và tính cách của nó, thu thập một chút ngữ cảnh, rồi tạo bài hát bằng công cụ mmx. Sau đó agent phát bài hát bằng trình phát âm thanh cục bộ.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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:

    npm install -g mmx-cli
    

    Authenticate (first time only):

    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:
    {
      "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 vo

Câu hỏi thường gặp

Tôi cần cài đặt gì?

Cần công cụ dòng lệnh mmx, một API key của MiniMax, và một trình phát âm thanh trên máy.

Thú cưng của tôi có luôn có cùng giọng không?

Có. Skill nói cùng một thú cưng luôn có cùng bản sắc giọng hát.

Nó trả lời bằng ngôn ngữ nào?

Nó nhận diện ngôn ngữ của bạn từ tin nhắn đầu tiên và trả lời bằng ngôn ngữ đó.

Chi tiết

Mô tả gốc của tác giả

Use when user wants their Claude Code pet (/buddy) to sing a song. Triggers on any request that combines the concept of their Claude Code buddy, pet, or companion with singing or music. Supports multilingual triggers — match equivalent phrases in any language.

repo: MiniMax-AI/skills

Độ phổ biến

Sao GitHub
14k
Vị trí xếp hạng
#11287
Giấy phép
MIT
Cập nhật
18/4/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự