/minimax-music-gen
Use when user wants to generate music, songs, or audio tracks. Triggers on any request involving music creation, song writing, lyrics generation, audio production, or covers. Also triggers when user provides lyrics and wants them turned into a song, or describes a mood/scene and
$ npx -y skills add minimax-ai/skills --skill minimax-music-gen --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/minimax-music-gen
Context preview
The summary Claude sees to decide when to auto-load this skill.
Use when user wants to generate music, songs, or audio tracks. Triggers on any request involving music creation, song writing, lyrics generation, audio production, or covers. Also triggers when user provides lyrics and wants them turned into a song, or describes a mood/scene and
SKILL.md
minimax-music-gen.SKILL.mdname: minimax-music-gen
description: >
Use when user wants to generate music, songs, or audio tracks. Triggers on any request
involving music creation, song writing, lyrics generation, audio production, or covers.
Also triggers when user provides lyrics and wants them turned into a song, or describes
a mood/scene and wants background music. Supports multilingual triggers — match equivalent
phrases in any language. Do NOT use for music playback of existing files, music theory
questions, or music recommendation without generation.
license: MIT
metadata:
version: "1.1"
category: creative
MiniMax Music Generation Skill
Generate songs (vocal or instrumental) using the MiniMax Music API. Supports two creation modes: **Basic** (one-sentence-in, song-out) and **Advanced Control** (edit lyrics, refine prompt, plan before generating).
Prerequisites
- **mmx CLI** (required): Music generation uses the `mmx` command-line tool.
**Check if installed:**
command -v mmx && mmx --version || echo "mmx not found"
**Install (requires Node.js):**
npm install -g mmx-cli
**Authenticate (first time only):**
mmx auth login --api-key <your-minimax-api-key>
The API key can be obtained from [MiniMax Platform](https://platform.minimaxi.com/). Credentials are saved to `~/.mmx/credentials.json` and persist across sessions.
**Verify:**
mmx quota show
- **Audio player** (recommended): `mpv`, `ffplay`, or `afplay` (macOS built-in) for local
playback. `mpv` is preferred for its interactive controls.
CLI Tool
This skill uses the `mmx` CLI for all music generation:
- **Music Generation**: `mmx music generate` — model: `music-2.6-free`
- Supports `--lyrics-optimizer` to auto-generate lyrics from prompt
- Supports `--instrumental` for instrumental tracks
- Supports `--lyrics` for user-provided lyrics
- Structured params: `--genre`, `--mood`, `--vocals`, `--instruments`, `--bpm`, `--key`, `--tempo`, `--structure`, `--references`
- **Cover**: `mmx music cover` — model: `music-cover-free`
- Takes reference audio via `--audio-file <path>` or `--audio <url>`
- `--prompt` describes the target cover style
**Agent flags**: Always add `--quiet --non-interactive` when calling mmx from agents.
**Pipeline**:
- Vocal: `User description -> mmx music generate --lyrics-optimizer -> MP3`
- Instrumental: `User description -> mmx music generate --instrumental -> MP3`
- Cover: `Source audio + style -> mmx music cover -> MP3`
Storage
All generated music is saved to `~/Music/minimax-gen/`. Create the directory if it doesn't exist. Files are named with a timestamp and a short slug derived from the prompt: `YYYYMMDD_HHMMSS_<slug>.mp3`
---
Language & Interaction
Detect the user's language from their first message and respond in that language for the entire session. This applies to all interaction text, questions, confirmations, and feedback prompts.
**User-facing text localization rule**:
- ALL text shown to the user — including preview labels, field names, confirmations, status
messages, playback info, feedback prompts, **and the prompt/description preview** — 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.
**Lyrics language rule**:
- Default lyrics language = the user's language. A Chinese-speaking user gets Chinese lyrics;
an English-speaking user gets English lyrics.
- Only generate lyrics in a different language if the user **explicitly** requests it.
- When a different lyrics language is needed, embed it naturally into the vocal or genre
description in the prompt. For example, instead of appending "with Korean lyrics", use "featuring a Korean female vocalist" or specify a genre that implies the language (e.g., "K-pop", "J-rock", "Mandopop", "Latin pop").
---
Workflow
Step 0: Detect Intent
Parse the user's message to determine:
1. **Song category**: vocal (with lyrics), instrumental (no vocals), or cover 2. **Creation mode preference**: did they provide detailed requirements (Advanced) or a casual one-liner (Basic)?
If ambiguous, ask using this decision tree:
Q1: What type of music?
- Vocal (with lyrics)
- Instrumental (no vocals)
- Cover
Q2: Creation mode?
- Basic — one-line description, auto-generate
- Advanced — edit lyrics, refine prompt, plan
If the user gives a clear one-liner like "make me a sad piano piece", skip the questions — infer instrumental + basic mode and proceed.
---
Step 1: Basic Mode
**Goal**: User provides a short description, the skill auto-generates everything, then calls the API.
1. **Expand the description into a prompt**: Take the user's one-liner and expand it into a rich music prompt. Refer to the **Prompt Writing Guide** appendix at the end of this document for style vocabulary, genre/instrument references, and prompt structure. **The API prompt should always be written in English** for best generation quality, regardless of the user's language.
Follow this pattern:
A [mood] [BPM optional] [genre] song, featuring [vocal description],
about [narrative/theme], [atmosphere], [key instruments and production].
2. **Show the user a preview** before generating. Translate all labels AND the prompt description into the user's language. The English prompt is only used internally when calling the API — the user should never see it. Example template (English reference — localize everything at run
Read more
name: minimax-music-gen description: > Use when user wants to generate music, songs, or audio tracks. Triggers on any request involving music creation, song writing, lyrics generation, audio production, or covers. Also triggers when user provides lyrics and wants them turned into a song, or describes a mood/scene and wants background music. Supports multilingual triggers — match equivalent phrases in any language. Do NOT use for music playback of existing files, music theory questions, or music recommendation without generation. license: MIT metadata: version: "1.1" category: creative
MiniMax Music Generation Skill
Generate songs (vocal or instrumental) using the MiniMax Music API. Supports two creation modes: **Basic** (one-sentence-in, song-out) and **Advanced Control** (edit lyrics, refine prompt, plan before generating).
Prerequisites
- **mmx CLI** (required): Music generation uses the `mmx` command-line tool.
**Check if installed:**
command -v mmx && mmx --version || echo "mmx not found"
**Install (requires Node.js):**
npm install -g mmx-cli
**Authenticate (first time only):**
mmx auth login --api-key <your-minimax-api-key>
The API key can be obtained from [MiniMax Platform](https://platform.minimaxi.com/). Credentials are saved to `~/.mmx/credentials.json` and persist across sessions.
**Verify:**
mmx quota show
- **Audio player** (recommended): `mpv`, `ffplay`, or `afplay` (macOS built-in) for local
playback. `mpv` is preferred for its interactive controls.
CLI Tool
This skill uses the `mmx` CLI for all music generation:
- **Music Generation**: `mmx music generate` — model: `music-2.6-free`
- Supports `--lyrics-optimizer` to auto-generate lyrics from prompt
- Supports `--instrumental` for instrumental tracks
- Supports `--lyrics` for user-provided lyrics
- Structured params: `--genre`, `--mood`, `--vocals`, `--instruments`, `--bpm`, `--key`, `--tempo`, `--structure`, `--references`
- **Cover**: `mmx music cover` — model: `music-cover-free`
- Takes reference audio via `--audio-file <path>` or `--audio <url>`
- `--prompt` describes the target cover style
**Agent flags**: Always add `--quiet --non-interactive` when calling mmx from agents.
**Pipeline**:
- Vocal: `User description -> mmx music generate --lyrics-optimizer -> MP3`
- Instrumental: `User description -> mmx music generate --instrumental -> MP3`
- Cover: `Source audio + style -> mmx music cover -> MP3`
Storage
All generated music is saved to `~/Music/minimax-gen/`. Create the directory if it doesn't exist. Files are named with a timestamp and a short slug derived from the prompt: `YYYYMMDD_HHMMSS_<slug>.mp3`
---
Language & Interaction
Detect the user's language from their first message and respond in that language for the entire session. This applies to all interaction text, questions, confirmations, and feedback prompts.
**User-facing text localization rule**:
- ALL text shown to the user — including preview labels, field names, confirmations, status
messages, playback info, feedback prompts, **and the prompt/description preview** — 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.
**Lyrics language rule**:
- Default lyrics language = the user's language. A Chinese-speaking user gets Chinese lyrics;
an English-speaking user gets English lyrics.
- Only generate lyrics in a different language if the user **explicitly** requests it.
- When a different lyrics language is needed, embed it naturally into the vocal or genre
description in the prompt. For example, instead of appending "with Korean lyrics", use "featuring a Korean female vocalist" or specify a genre that implies the language (e.g., "K-pop", "J-rock", "Mandopop", "Latin pop").
---
Workflow
Step 0: Detect Intent
Parse the user's message to determine:
1. **Song category**: vocal (with lyrics), instrumental (no vocals), or cover 2. **Creation mode preference**: did they provide detailed requirements (Advanced) or a casual one-liner (Basic)?
If ambiguous, ask using this decision tree:
Q1: What type of music? - Vocal (with lyrics) - Instrumental (no vocals) - Cover Q2: Creation mode? - Basic — one-line description, auto-generate - Advanced — edit lyrics, refine prompt, plan
If the user gives a clear one-liner like "make me a sad piano piece", skip the questions — infer instrumental + basic mode and proceed.
---
Step 1: Basic Mode
**Goal**: User provides a short description, the skill auto-generates everything, then calls the API.
1. **Expand the description into a prompt**: Take the user's one-liner and expand it into a rich music prompt. Refer to the **Prompt Writing Guide** appendix at the end of this document for style vocabulary, genre/instrument references, and prompt structure. **The API prompt should always be written in English** for best generation quality, regardless of the user's language.
Follow this pattern:
A [mood] [BPM optional] [genre] song, featuring [vocal description], about [narrative/theme], [atmosphere], [key instruments and production].
2. **Show the user a preview** before generating. Translate all labels AND the prompt description into the user's language. The English prompt is only used internally when calling the API — the user should never see it. Example template (English reference — localize everything at run
Beta — This project is under active development. Skills, APIs, and configuration formats may change without notice. We welcome feedback and contributions. Development skills for AI coding agents.
Repo: minimax-ai/skills
Other skills on minimax-skills.
- /pr-review
Review pull requests for the MiniMax Skills repository. Use when reviewing PRs, validating new skill submissions, or checking existing skills for compliance. Run the validation script first for hard checks, then apply quality guidelines for content review. Triggers: PR review,
Open skill - /color-font-skill
Choose presentation-ready color palettes and font pairings for PPT/design tasks. Use when users ask for visual theme choices, brand-safe palettes, or font recommendations. Triggers include: 配色, 色板, 字体, color palette, font, PPT配色, 字体搭配.
Open skill - /design-style-skill
Select a consistent visual design system for PPT slides using radius/spacing style recipes. Use when users ask for overall style direction or component styling consistency. Includes Sharp/Soft/Rounded/Pill recipes, component mappings, typography/spacing rules, and mixing
Open skill - /ppt-editing-skill
Edit existing PowerPoint files or templates with XML-safe workflows. Use for template-based deck updates: analyze layouts, map content to slides, duplicate/reorder/delete slides safely, edit slide XML in parallel, clean orphaned assets, and repack validated PPTX output.
Open skill - /ppt-orchestra-skill
Plan and orchestrate multi-slide PowerPoint creation from scratch. Use before generating a full deck with subagents: classify each slide type, enforce visual variety, set typography/spacing rules, and run text-based QA to catch content issues.
Open skill - /slide-making-skill
Implement single-slide PowerPoint pages with PptxGenJS. Use when writing or fixing slide JS files: dimensions, positioning, text/image/chart APIs, styling rules, and export expectations for native .pptx output.
Open skill

