Agent skill

Music

by tadaspetra in tadaspetra/loop

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

MITAuto-check passedMedia & Creative

Install Music

skills CLI
$ npx skills add tadaspetra/loop --skill music -a claude-code

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

GitHub CLI
$ gh skill install tadaspetra/loop music --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/tadaspetra/loop.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/music .claude/skills/music && 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
music
GitHub stars
296
Used in
2 other repos
Token cost
~827 tokens
SKILL.md length
123 words
Files
3 (incl. references)
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

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

  • Creating instrumental tracks
  • SKILL.md covers Quick Start, Methods, Composition Plans and Content Restrictions, plus 2 more sections
  • Calls curl; reaches api.elevenlabs.io; needs ELEVENLABS_API_KEY
  • Songs with lyrics

What it does

Music is an agent skill from tadaspetra/loop. Generate music using ElevenLabs Music API. Use when creating instrumental tracks, songs with lyrics, background music, jingles, or any AI-generated music composition. Supports prompt-based generation, composition plans for granular control, and detailed output with metadata.

Its SKILL.md is about 830 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/api_reference.md` and `references/installation.md`). Compatibility notes: Requires internet access and an ElevenLabs API key (ELEVENLABSAPIKEY).

It sits in Media & Creative, covering Text to speech and voice and Music and audio generation. It works with ElevenLabs. The repository describes itself as: Record, Cut, Edit, Render with AI. The licence is MIT.

When your agent uses it

  • Creating instrumental tracks
  • Songs with lyrics
  • Background music
  • Any AI-generated music composition

Example prompts

  • “/music”

Requirements

  • Python 3
  • A credential in ELEVENLABS_API_KEY
  • Compatibility (from SKILL.md): Requires internet access and an ElevenLabs API key (ELEVENLABS_API_KEY).

What it can do on your machine

Read from SKILL.md and the folder at commit 452e950. 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

    Shell commands in SKILL.md call:

    • 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.elevenlabs.io

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

  • Credentials

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

    • ELEVENLABS_API_KEY

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

  • Compatibility

    Requires internet access and an ElevenLabs API key (ELEVENLABS_API_KEY).

    From compatibility in the SKILL.md frontmatter.

Context cost

Music loads about 827 tokens when it runs, and up to ~2.5k if it reads all its reference files. Until then it costs about 70 tokens; SKILL.md has 123 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~70
When it runs · the whole SKILL.md, loaded when a task matches
~827
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.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); files beside SKILL.md are not scanned.

SKILL.md

The full file from tadaspetra/loop at commit 452e950, republished under its MIT licence (© tadaspetra). 123 words, ~827 tokens.

Download SKILL.mdSave it as .claude/skills/music/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
music
description
Generate music using ElevenLabs Music API. Use when creating instrumental tracks, songs with lyrics, background music, jingles, or any AI-generated music composition. Supports prompt-based generation, composition plans for granular control, and detailed output with metadata.
compatibility
Requires internet access and an ElevenLabs API key (ELEVENLABS_API_KEY).
license
MIT

ElevenLabs Music Generation

Generate music from text prompts - supports instrumental tracks, songs with lyrics, and fine-grained control via composition plans.

Setup: See Installation Guide. For JavaScript, use @elevenlabs/* packages only.

Quick Start

Python
python
from elevenlabs import ElevenLabs

client = ElevenLabs()

audio = client.music.compose(
    prompt="A chill lo-fi hip hop beat with jazzy piano chords",
    music_length_ms=30000
)

with open("output.mp3", "wb") as f:
    for chunk in audio:
        f.write(chunk)
JavaScript
javascript
import { ElevenLabsClient } from '@elevenlabs/elevenlabs-js';
import { createWriteStream } from 'fs';

const client = new ElevenLabsClient();
const audio = await client.music.compose({
  prompt: 'A chill lo-fi hip hop beat with jazzy piano chords',
  musicLengthMs: 30000
});
audio.pipe(createWriteStream('output.mp3'));
cURL
bash
curl -X POST "https://api.elevenlabs.io/v1/music" \
  -H "xi-api-key: $ELEVENLABS_API_KEY" -H "Content-Type: application/json" \
  -d '{"prompt": "A chill lo-fi beat", "music_length_ms": 30000}' --output output.mp3

Methods

MethodDescription
music.composeGenerate audio from a prompt or composition plan
music.composition_plan.createGenerate a structured plan for fine-grained control
music.compose_detailedGenerate audio + composition plan + metadata

See API Reference for full parameter details.

Composition Plans

For granular control, generate a composition plan first, modify it, then compose:

python
plan = client.music.composition_plan.create(
    prompt="An epic orchestral piece building to a climax",
    music_length_ms=60000
)

# Inspect/modify styles and sections
print(plan.positiveGlobalStyles)  # e.g. ["orchestral", "epic", "cinematic"]

audio = client.music.compose(
    composition_plan=plan,
    music_length_ms=60000
)

Content Restrictions

  • Cannot reference specific artists, bands, or copyrighted lyrics
  • bad_prompt errors include a prompt_suggestion with alternative phrasing
  • bad_composition_plan errors include a composition_plan_suggestion

Error Handling

python
try:
    audio = client.music.compose(prompt="...", music_length_ms=30000)
except Exception as e:
    print(f"API error: {e}")

Common errors: 401 (invalid key), 422 (invalid params), 429 (rate limit).

References

© tadaspetra, 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 2 other files (references) in .agents/skills/music of tadaspetra/loop.

  • SKILL.md
  • references/api_reference.md
  • references/installation.md

Open the folder on GitHubat commit 452e950

Used in 2 other repositories

We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in tadaspetra/loop, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Music 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.

Music compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Music this skilltadaspetra/loop2962 repos~827Automated safety check: PassMIT
MusicbozhouDev/video-skills-toolkit150—~3.6kAutomated safety check: PassMIT
Elevenlabszapier/connectors177—~3.7kAutomated safety check: PassElastic-2.0
Elevenlabs Musicaiskillstore/marketplace4331 repos~1.4kAutomated safety check: PassNone
Elevenlabs Musicsundial-org/awesome-openclaw-skills663—~870Automated safety check: PassNone
Elevenlabs Voicessundial-org/awesome-openclaw-skills663—~3kAutomated safety check: NotesNone

Similar skills

  • Music

    bozhouDev/video-skills-toolkit

    Generate music using ElevenLabs Music API. An agent skill from bozhouDev/video-skills-toolkit.

    150 GitHub stars~3.6k tokensUpdated 2 mo ago
    Media & CreativeAuto-check passed
  • Elevenlabs

    zapier/connectors

    Official

    Agent-callable ElevenLabs tools — generate spoken audio from text, create sound effects and multi-speaker dialogue, re-voice and clean up audio, transcribe audio and video, design synthetic voices…

    177 GitHub stars~3.7k tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed
  • Elevenlabs Music

    aiskillstore/marketplace

    ElevenLabs AI music generation - create original music from text prompts via inference.sh CLI.

    433 GitHub starsUsed in 1 repo~1.4k tokens
    Media & CreativeAuto-check passed
  • Elevenlabs Music

    sundial-org/awesome-openclaw-skills

    Generate music from text prompts using ElevenLabs Eleven Music API.

    663 GitHub stars~870 tokensUpdated 7 mo ago
    Media & CreativeAuto-check passed
  • Elevenlabs Voices

    sundial-org/awesome-openclaw-skills

    High-quality voice synthesis with 18 personas, 32 languages, sound effects, batch processing, and voice design using ElevenLabs API.

    663 GitHub stars~3k tokensUpdated 7 mo ago
    Media & CreativeAuto-check: notes
  • Elevenlabs Music

    calesthio/generative-media-skills

    Generate and iterate music with ElevenLabs Eleven Music for production deliverables.

    197 GitHub stars~4.8k tokensUpdated 2 mo ago
    Media & CreativeAuto-check passed

More from tadaspetra/loop

  • Sound Effects

    tadaspetra/loop

    Generate sound effects from text descriptions using ElevenLabs.

    296 GitHub starsUsed in 2 repos~1.1k tokens
    Auto-check passed
  • Speech To Text

    tadaspetra/loop

    Transcribe audio to text using ElevenLabs Scribe v2. An agent skill from tadaspetra/loop.

    296 GitHub starsUsed in 2 repos~2k tokens
    Auto-check passed
  • Agents

    tadaspetra/loop

    Build voice AI agents with ElevenLabs. An agent skill from tadaspetra/loop.

    296 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed

Works with

Questions about Music

What does Music do?

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

When should I use Music?

Music fits situations like: creating instrumental tracks; songs with lyrics; background music; any AI-generated music composition.

How do I install Music in Claude Code?

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

How do I install Music in Codex?

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

Can I use Music 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 tadaspetra/loop --skill music -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/music, .gemini/skills/music, .github/skills/music and .opencode/skills/music in your project.

What does Music need to run?

Going by SKILL.md and its folder, Music needs the command-line tools its instructions call (curl) and credentials named ELEVENLABS_API_KEY. Our summary lists: Python 3; A credential in ELEVENLABS_API_KEY. Compatibility (from SKILL.md): Requires internet access and an ElevenLabs API key (ELEVENLABS_API_KEY)..

Does Music access the network?

SKILL.md names 1 domain. In commands or code: api.elevenlabs.io; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Music 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. Review the folder before installing.

What licence does Music use?

Music is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Music use?

About 827 tokens (SKILL.md is roughly 3.3k 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 1.6k tokens, read only when the agent opens those files.

What are the alternatives to Music?

Skills that share tags, products or a category with Music: Music (bozhouDev/video-skills-toolkit, 150 stars), Elevenlabs (zapier/connectors, 177 stars), Elevenlabs Music (aiskillstore/marketplace, 433 stars) and Elevenlabs Music (sundial-org/awesome-openclaw-skills, 663 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Music?

tadaspetra (a GitHub user) maintains it in tadaspetra/loop, which has 296 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 2, 2026.

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