Agent skill

Mureka Music Maker

by SkyworkAI in SkyworkAI/Skywork-Skills

Generates songs, instrumentals and lyrics through the Mureka API, turning plain-language descriptions into structured music prompts first.

MITAuto-check passedMedia & Creative

Install Mureka Music Maker

skills CLI
$ npx skills add SkyworkAI/Skywork-Skills --skill skywork-music-maker -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install SkyworkAI/Skywork-Skills skywork-music-maker --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/SkyworkAI/Skywork-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skywork-music-maker .claude/skills/skywork-music-maker && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
skywork-music-maker
GitHub stars
203
Used in
1 other repo
Token cost
~3k tokens
SKILL.md length
1,198 words
Files
4 (incl. scripts, references)
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Generates songs, instrumentals and lyrics through the Mureka API, turning plain-language descriptions into structured music prompts first.

  • Works in 4 steps: Extract structured parameters using the… → Validate the prompt meets quality… → Present to user for confirmation before… → …
  • Generating a song from a text description of style and mood
  • SKILL.md covers First-Time Setup, Smart Prompt Conversion…, Core Workflow: Production… and CLI Tool, plus 6 more sections
  • Runs Python scripts from its folder; calls python and curl; reaches api.mureka.ai; needs MUREKA_API_KEY

What it does

This skill covers music production through the Mureka API: writing lyrics, then generating a song with vocals or an instrumental. Before any call the agent checks that a MUREKA_API_KEY is set, and if not it explains how to get a key from the Mureka platform and stops until it is configured.

Descriptions in any language are converted into structured prompts by extracting genres, moods, instruments, rhythms and similar parameters, validating them against a quality checklist and showing them to you for confirmation before generating. Unless you ask for an instrumental, background music or no vocals, the default is a song with lyrics. Output defaults to mp3, saved in a descriptive folder with a lyrics file for songs.

A Python script wraps the API commands, and a prompt guide in the references folder supports writing prompts. Other tasks named in the skill description include cloning vocals and uploading reference tracks.

When your agent uses it

  • Generating a song from a text description of style and mood
  • Creating a beat or instrumental for background music
  • Writing lyrics before generating a track
  • Making music from a description written in another language

Example prompts

  • “Make me a chill lo-fi beat for studying.”
  • “Write a sad piano ballad about lost love, with lyrics.”
  • “Create traditional Chinese music with bamboo flute and zither and a misty atmosphere.”
  • “Generate an instrumental for a fantasy game boss fight.”

Requirements

  • A MUREKA_API_KEY from the Mureka platform
  • Python to run the bundled mureka.py script

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Extract structured parameters using the extraction rules below
  2. Validate the prompt meets quality standards (see Quality Checklist)
  3. Present to user for confirmation before generating
  4. Run the generation command with the structured prompt

What it can do on your machine

Read from SKILL.md and the folder at commit c8c6aeb. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.mureka.ai

    Also links to:

    • platform.mureka.ai

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • MUREKA_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Mureka Music Maker loads about 3k tokens when it runs, and up to ~5.5k if it reads all its reference files. Until then it costs about 94 tokens; SKILL.md has 1,198 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~94
When it runs · the whole SKILL.md, loaded when a task matches
~3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from SkyworkAI/Skywork-Skills at commit c8c6aeb, republished under its MIT licence (© SkyworkAI). 1,198 words, ~2,964 tokens.

Download SKILL.mdSave it as .claude/skills/skywork-music-maker/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
skywork-music-maker
description
Create professional music with Mureka AI API — songs, instrumentals, and lyrics from natural language descriptions in any language. Use when users want to generate a song, create a beat or instrumental, write lyrics, clone vocals, upload reference tracks, or do anything related to AI music creation, even casual requests like "make me a chill lo-fi beat".

Skywork Music Maker (Mureka API)

Generate professional-quality music using the Mureka API at https://api.mureka.ai. This skill covers the complete music production workflow: lyrics writing → song/instrumental generation.

First-Time Setup

Before running any API command, check if MUREKA_API_KEY is set. If not, guide the user to get an API key at https://platform.mureka.ai/ (register → API Keys → generate key → export MUREKA_API_KEY="..."), then STOP — do not attempt any API calls until the key is configured.


Smart Prompt Conversion (CRITICAL WORKFLOW)

Default behavior: When the user doesn't specify song type, always generate a song with lyrics (use mureka.py song). Only use mureka.py instrumental when the user explicitly asks for instrumental, BGM, background music, or "no vocals".

Output defaults: Use mp3 format unless the user requests otherwise. The --output flag specifies a directory — the script creates it and saves all results inside (audio files + lyrics.txt for songs). If the user doesn't specify a location, choose a user-friendly path with a descriptive folder name based on the song theme (e.g., summer_pop_song/).

When users provide music descriptions in natural language (in any language), you MUST convert them to structured Mureka API prompts using this workflow:

Conversion Process

User Input Examples:

  • "upbeat pop song, female vocals, guitar, perfect for summer"
  • "sad piano ballad about lost love"
  • "epic orchestral music for a fantasy game"
  • "traditional Chinese music with bamboo flute and zither, misty atmosphere"

Your Task:

  1. Extract structured parameters using the extraction rules below
  2. Validate the prompt meets quality standards (see Quality Checklist)
  3. Present to user for confirmation before generating
  4. Run the generation command with the structured prompt
Parameter Extraction Rules

When users provide natural language music descriptions, directly extract and structure the following parameters:

Required Parameters:

  • genres: music genres including fusion styles (e.g., Pop, Rock, Jazz, Pop Rap Fusion, Alternative Rock, Guofeng)
  • moods: emotional tones (e.g., Happy, Melancholic, Energetic, Nostalgic, Bright)
  • instruments: specific instruments (e.g., Piano, Guitar, Drums, Erhu, Guzheng, Synth Pads, Dizi)
  • rhythms: rhythm characteristics (e.g., 4/4, Slow, Syncopated, Driving, Flowing)
  • vocals: vocal attributes (e.g., Female, Husky, Whispered, Male, Soft, Clear) or "instrumental only"
  • key: musical key if specified (e.g., C Major, A Minor, C# Major)
  • bpm: beats per minute (e.g., 120) or tempo descriptor (e.g., "slow groove", "uptempo")
  • description: concise summary (under 50 words) capturing mood progression, melody, harmony, timbre, texture, dynamics

Extraction Instructions:

  1. Translate non-English terms: Convert ALL non-English musical terms to English while preserving cultural and musical meaning
  2. Preserve specificity: Keep detailed information including specific styles, subgenres, and cultural context (e.g., "Chinese traditional guofeng" not just "Chinese music")
  3. Design dynamic arc: Include mood progression where appropriate (e.g., "sparse opening → building tension → cathartic chorus")
  4. Infer intelligently: Make reasonable assumptions based on genre conventions when parameters are not explicitly stated
  5. English output: Final prompt string MUST be entirely in English

Generate Structured Prompt: Combine all extracted parameters into a comprehensive, natural-flowing description that captures the essence of the user's vision.

Quality Checklist (Validate BEFORE Generation)

Before running the generation command, verify the prompt meets these criteria:

MUST HAVE:

  • Specific genre (NOT "pop song" but "synth-pop, 2020s")
  • BPM or tempo descriptor (e.g., "120 BPM" or "slow groove")
  • 3-5 instruments explicitly named
  • Mood/emotion descriptors (2-3 words)
  • Vocal style (or "instrumental only")
  • Structure tags in lyrics: [Verse], [Chorus], [Bridge], [Outro]

WATCH OUT FOR:

  • Vague terms: "nice", "good", "beautiful" → replace with specific descriptors
  • Contradictions: "slow" + "energetic", "sad" + "uplifting" → pick one direction
  • Too short: <50 chars → add more detail
  • Long lyric lines: >10 words per line → split into shorter lines
  • No dynamic arc: add mood progression (e.g., "sparse → building → full")

AVOID:

  • Command verbs: "create a song" → use descriptions "upbeat pop song"
  • Famous artist names: "sounds like Taylor Swift" → describe qualities instead
  • Unrealistic combos: melody_id cannot combine with other control options

After validation, present the generated prompt to the user for confirmation before proceeding.


Core Workflow: Production Pipeline

1. Conceptualize → User describes in natural language → YOU convert to structured prompt
2. Validate → Check prompt quality against Quality Checklist (see above)
3. Write Lyrics → Use lyrics/generate or write manually
4. Upload References → Optional: reference track, vocal sample, melody
5. Generate → Submit song/instrumental task (async) with validated prompt
6. Evaluate → Listen to all N choices, pick best
7. Iterate → Refine prompt based on what you heard

Critical Steps:

  • Step 1 is mandatory when user provides natural language input (especially non-English)
  • Step 2 validation prevents 80% of common generation failures
  • Step 3: Read references/prompt_guide.md for prompt crafting examples, lyrics structure rules (line length, syllable count, rhyme patterns, hook writing), and iteration best practices
  • Do NOT skip conceptualization — jumping straight to generation without a clear concept is the #1 reason for generic results

Your Role as AI Assistant:

  1. Convert user's natural language → structured Mureka prompt (using Smart Prompt Conversion)
  2. Validate prompt quality → flag issues → suggest fixes
  3. Write or generate lyrics with proper structure
  4. Present prompt to user for confirmation
  5. Execute generation command with validated prompt
  6. Help iterate and refine based on generation results

Show full SKILL.md (444 more words)Show less

CLI Tool

All operations go through a single script: scripts/mureka.py

mureka.py song           Generate a song with lyrics and vocals
mureka.py instrumental   Generate an instrumental track
mureka.py lyrics         Generate or extend lyrics
mureka.py upload         Upload reference audio, vocals, melodies

Run python scripts/mureka.py --help for full usage. Note: use -n 2 (single dash) to generate multiple choices, not --n.


Common Scenarios

"I just want background music for my video"
bash
python scripts/mureka.py instrumental \
  --prompt "ambient electronic, calm, 80 BPM, soft pads, no percussion, background music for tech product video" \
  --output ./bg_music
"I want a song but don't have lyrics"
bash
# Step 1: Generate lyrics with proper structure
python scripts/mureka.py lyrics generate "a nostalgic summer love song, bittersweet, looking back at memories"

# Step 2: Copy/refine the output, then generate the song
python scripts/mureka.py song \
  --lyrics "[Verse]\n(paste lyrics here)\n[Chorus]\n(paste chorus here)" \
  --prompt "indie pop, warm, 110 BPM, acoustic guitar, soft drums, male vocal" \
  --output ./summer_song

Advanced Features

Reference-Based Generation

Upload a reference track (must be exactly 30s, mp3/m4a) to guide the style:

bash
python scripts/mureka.py upload my_reference.mp3 --purpose reference
# → File ID: 542321
python scripts/mureka.py song --lyrics "[Verse]\n..." --reference-id 542321 --output ./song
Vocal Cloning

Upload a vocal sample (15-30s, mp3/m4a) to use a specific voice:

bash
python scripts/mureka.py upload my_voice.mp3 --purpose vocal
# → File ID: 789012
python scripts/mureka.py song --lyrics "[Verse]\n..." --vocal-id 789012 --prompt "R&B, smooth, 90 BPM" --output ./song

Control Options & Rules

Song Generation Control Combos

When generating songs, these control options work together:

Combopromptreference_idvocal_idmelody_id
Style only✅
Reference only✅
Voice only✅
Melody only✅
Style + Voice✅✅
Reference + Voice✅✅

Important:

  • melody_id does NOT support any combination — use it alone
  • prompt and reference_id are mutually exclusive — use one or the other
Instrumental Generation Rules

For instrumentals, prompt and instrumental_id are mutually exclusive — use one or the other.

File Upload Requirements
PurposeFormatDurationNotes
referencemp3/m4aexactly 30sExcess trimmed
vocalmp3/m4a15-30sExcess trimmed
melodymp3/m4a/mid5-60sMIDI recommended
instrumentalmp3/m4aexactly 30sFor instrumental reference
Model Selection

Always use mureka-8 — it is the latest and highest quality model.


Error Handling

Scripts raise RuntimeError or requests.HTTPError on failure. Handle common errors:

ErrorCauseAction
401 UnauthorizedInvalid or expired API keyAsk user to verify MUREKA_API_KEY
429 Too Many RequestsRate limit exceededWait 30-60 seconds, then retry
402 / Insufficient balanceAccount balance depletedDirect user to https://platform.mureka.ai to top up
Task ended with status: failedGeneration failed (bad prompt, server error)Check prompt against Quality Checklist, retry
Task ended with status: timeoutedGeneration took too longRetry; if persistent, simplify the prompt or try a different model
ConnectionError / TimeoutNetwork issueRetry after a few seconds

General strategy: Read the error message carefully. If it's a client error (4xx), fix the input. If it's a server error (5xx) or timeout, retry once before escalating to the user.


Troubleshooting Common Issues

ProblemSolution
Task failed or timeouted• Check prompt meets quality checklist<br>• Verify lyrics have structure tags<br>• Retry the generation
Vocals sound rushed• Shorten lyric lines (≤10 words)<br>• Reduce syllables per line
Listed instruments not audible• Verify each instrument named explicitly in prompt<br>• Add more specific descriptors (e.g., "acoustic guitar strumming")
Prompt doesn't match output• Increase specificity (exact genre, BPM, instruments)<br>• Add mood progression ("sparse → full")<br>• Generate n=3 choices
melody_id error• melody_id MUST be used alone<br>• Remove --prompt, --reference-id, --vocal-id
Invalid file_id• File IDs only valid for account that uploaded<br>• Re-upload file if from another session

For parameter help:

bash
python scripts/mureka.py --help
python scripts/mureka.py song --help

Environment

  • API Key: MUREKA_API_KEY environment variable (required)
  • Base URL: https://api.mureka.ai
  • Dependencies: Python 3, requests library
  • Billing: Check balance with curl -H "Authorization: Bearer $MUREKA_API_KEY" https://api.mureka.ai/v1/account/billing

© SkyworkAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts, references) in skywork-music-maker of SkyworkAI/Skywork-Skills.

  • SKILL.md
  • README.md
  • references/prompt_guide.md
  • scripts/mureka.py

Open the folder on GitHubat commit c8c6aeb

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in SkyworkAI/Skywork-Skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Mureka Music Maker next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Mureka Music Maker compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mureka Music Maker this skillSkyworkAI/Skywork-Skills2031 repos~3kAutomated safety check: PassMIT
AudioCraft Audio GenerationOrchestra-Research/AI-Research-SKILLs13k8 repos~3.9kAutomated safety check: PassMIT
HyperFrames Media Useheygen-com/hyperframes59k—~2.4kAutomated safety check: PassApache-2.0
Musictadaspetra/loop2962 repos~827Automated safety check: PassMIT
VRGDG H3 Short Film Pipelinevrgamegirl19/comfyui-vrgamedevgirl763—~4.2kAutomated safety check: PassCustom licence
ElevenLabs Voiceover Generatordigitalsamba/claude-code-video-toolkit2.2k1 repos~2.7kAutomated safety check: NotesMIT

Similar skills

  • AudioCraft Audio Generation

    Orchestra-Research/AI-Research-SKILLs

    Generates music from text descriptions with MusicGen and sound effects with AudioGen, using Meta's AudioCraft PyTorch library with melody and style conditioning.

    13k GitHub starsUsed in 8 repos~3.9k tokens
    Media & CreativeAuto-check passed
  • HyperFrames Media Use

    heygen-com/hyperframes

    Finds, generates and edits media for HyperFrames video projects: music, sound effects, images, icons, logos, voiceovers, captions and color grades.

    59k GitHub stars~2.4k tokensUpdated today
    Media & CreativeAuto-check passed
  • Music

    tadaspetra/loop

    Generate music using ElevenLabs Music API. An agent skill from tadaspetra/loop.

    296 GitHub starsUsed in 2 repos~827 tokens
    Media & CreativeAuto-check passed
  • VRGDG H3 Short Film Pipeline

    vrgamegirl19/comfyui-vrgamedevgirl

    Builds an AI short film in a local ComfyUI with the VRGDG Video Builder, MiniMax H3 scenes, reference images, a music score, QA and a final edit.

    763 GitHub stars~4.2k tokensUpdated today
    Media & CreativeAuto-check passed
  • ElevenLabs Voiceover Generator

    digitalsamba/claude-code-video-toolkit

    Generates narration, sound effects and cloned voices through the ElevenLabs API, with model and setting choices tuned to the content's style.

    2.2k GitHub starsUsed in 1 repo~2.7k tokens
    Media & CreativeAuto-check: notes
  • Sound Effects

    tadaspetra/loop

    Generate sound effects from text descriptions using ElevenLabs.

    296 GitHub starsUsed in 2 repos~1.1k tokens
    Media & CreativeAuto-check passed

Questions about Mureka Music Maker

What does Mureka Music Maker do?

Generates songs, instrumentals and lyrics through the Mureka API, turning plain-language descriptions into structured music prompts first. This skill covers music production through the Mureka API: writing lyrics, then generating a song with vocals or an instrumental. Before any call the agent checks that a MUREKA_API_KEY is set, and if not it explains how to get a key from the Mureka platform and stops until it is configured.

When should I use Mureka Music Maker?

Mureka Music Maker fits situations like: generating a song from a text description of style and mood; creating a beat or instrumental for background music; writing lyrics before generating a track; making music from a description written in another language.

How do I install Mureka Music Maker in Claude Code?

Run `npx skills add SkyworkAI/Skywork-Skills --skill skywork-music-maker -a claude-code`. Or copy the skill folder (skywork-music-maker in SkyworkAI/Skywork-Skills) into .claude/skills/skywork-music-maker in your project. Claude Code loads it when a task matches its description.

How do I install Mureka Music Maker in Codex?

Run `npx skills add SkyworkAI/Skywork-Skills --skill skywork-music-maker -a codex`. Or copy the skill folder (skywork-music-maker in SkyworkAI/Skywork-Skills) into .agents/skills/skywork-music-maker in your project. Codex loads it when a task matches its description.

Can I use Mureka Music Maker in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add SkyworkAI/Skywork-Skills --skill skywork-music-maker -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/skywork-music-maker, .gemini/skills/skywork-music-maker, .github/skills/skywork-music-maker and .opencode/skills/skywork-music-maker in your project.

What does Mureka Music Maker need to run?

Going by SKILL.md and its folder, Mureka Music Maker needs Python for the scripts in its folder, the command-line tools its instructions call (python and curl) and credentials named MUREKA_API_KEY. Our summary lists: A MUREKA_API_KEY from the Mureka platform; Python to run the bundled mureka.py script.

Does Mureka Music Maker access the network?

SKILL.md names 2 domains. In commands or code: api.mureka.ai; the agent is likely to contact it when it follows the instructions. As links in the text: platform.mureka.ai. This is read from the text; nothing was executed.

Is Mureka Music Maker safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Mureka Music Maker use?

Mureka Music Maker is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mureka Music Maker use?

About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.6k tokens, read only when the agent opens those files.

What are the alternatives to Mureka Music Maker?

Skills that share tags, products or a category with Mureka Music Maker: AudioCraft Audio Generation (Orchestra-Research/AI-Research-SKILLs, 13k stars), HyperFrames Media Use (heygen-com/hyperframes, 59k stars), Music (tadaspetra/loop, 296 stars) and VRGDG H3 Short Film Pipeline (vrgamegirl19/comfyui-vrgamedevgirl, 763 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mureka Music Maker?

SkyworkAI (a GitHub organization) maintains it in SkyworkAI/Skywork-Skills, which has 203 GitHub stars. The repository was last updated on April 2, 2026.

Source: SkyworkAI/Skywork-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.