This hooks into ElevenLabs' music API to generate tracks from text prompts or detailed JSON compositions. You can spin up background music for videos, podcast intros, or demo soundtracks in under a minute. The detailed mode is the real feature here: define multiple sections with specific moods and styles, so your intro builds soft while the main section hits energetic. Tracks go from 15 seconds to 5.5 minutes. Costs around five to fifteen cents per generation depending on length. If you need royalty-free music on demand and don't want to dig through stock libraries, this gets you there fast. Setup requires an ElevenLabs API key.

skills.sh installs
167
GitHub stars
51
last updated
Aug 21, 2026

Install

$ npx -y skills add aviz85/claude-skills-library --skill music-generator --agent claude-code

Installs into .claude/skills of the current project.

Files

Music Generator

First time? If setup_complete: false above, run ./SETUP.md first, then set setup_complete: true.

Generate custom AI music using ElevenLabs Music API with detailed composition control.

Features

  • Simple Mode: Generate music from a text prompt
  • Detailed Mode: Create multi-section compositions with precise control over styles, moods, and transitions
  • Instrumental or Vocal: Support for both instrumental and vocal tracks
  • Custom Duration: Generate tracks from 15 seconds to 5 minutes

Quick Start

cd ~/.claude/skills/music-generator/scripts

# Simple prompt-based generation
npx ts-node generate_music.ts \
  --prompt "Uplifting corporate music with electronic beats" \
  --duration 60 \
  --output /path/to/music.mp3

# List available styles
npx ts-node generate_music.ts --list-styles

Composition Modes

1. Simple Mode (--prompt)

Generate music from a single text prompt:

npx ts-node generate_music.ts \
  --prompt "Energetic workout music with driving beats and motivational synths" \
  --duration 90 \
  --output workout.mp3

2. Detailed Mode (--composition)

Sponsors

Details

Repository
github.com/aviz85/claude-skills-library
Categories
Backend & APIs, Automation & Workflows, Generative Media
First seen
Jun 3, 2026

More from aviz85/claude-skills-library

All 6
1vm0-ai avatarhtmlcsstoimagevm0-ai/vm0-skillsHTML/CSS to Image API for rendering. Use when user mentions "HTML to image", "render HTML", "screenshot", or "convert to image".167skills.sh installs
2charleswiltgen avataraxiom-metal-migration-refcharleswiltgen/axiomUse when converting shaders or looking up API equivalents - GLSL to MSL, HLSL to MSL, GL/DirectX to Metal mappings, MTKView setup code165skills.sh installs
3turixai avatarturix-macturixai/turix-cuaComputer Use Agent (CUA) for macOS automation using TuriX. Use when you need to perform visual tasks on the desktop, such as opening apps, clicking buttons, or 165skills.sh installs
4davila7 avatarsegment-cdpdavila7/claude-code-templatesExpert patterns for Segment Customer Data Platform including Analytics.js, server-side tracking, tracking plans with Protocols, identity resolution, destination162skills.sh installs
5jezweb avatardeep-debugjezweb/claude-skillsMulti-agent investigation for stubborn bugs. Use when: going in circles debugging, need to investigate browser/API interactions, complex bugs resisting normal d162skills.sh installs
6sundial-org avatarddg-searchsundial-org/awesome-openclaw-skillsPerform web searches using DuckDuckGo. Use when web search is needed and no API key is available or Brave Search is not preferred.162skills.sh installs