Skip to content

Command-line tool that generates AI music from text prompts or multi-section JSON compositions via ElevenLabs.

CCM score
56 of 100
skills.sh installs
170
GitHub stars
52
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers simple prompt-based generation with --prompt and detailed multi-section compositions with --composition JSON files
  • Supports instrumental or vocal tracks, durations from 15 seconds to 330 seconds, and mp3 output formats at 128 or 192 kbps
  • Provides a --list-styles option and a style guide for global moods, genres, and instruments, plus per-section style controls
  • Designed for background music, podcast intros, video game themes, and corporate presentation tracks

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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)

Details

Repository
github.com/aviz85/claude-skills-library
Category
AI Image, Video & Voice
First seen
Jun 3, 2026

Questions

What does the music-generator skill do?

The music-generator skill creates custom AI music with the ElevenLabs Music API. It supports simple text-prompt generation and detailed multi-section compositions, with instrumental or vocal tracks from 15 seconds up to 5 minutes.

How do I install the music-generator skill?

Run npx -y skills add aviz85/claude-skills-library --skill music-generator -y in a project. Once installed, the agent can generate background music, soundtracks, jingles, theme songs and instrumental tracks.

Which skills are in the same category as music-generator?

Music-generator sits in the AI Image, Video & Voice category, alongside ai-video-generation, ai-image-generation, ai-avatar-video, media-use and kling-3-0. It stands out by focusing on AI music composition with ElevenLabs, including multi-section tracks with style control per section.

What do I need to run the music-generator skill?

You need an ElevenLabs API key set as ELEVENLABS_API_KEY in a .env file. The skill also runs through npx ts-node, so Node.js is required.

More from aviz85/claude-skills-library

All 6

Similar to Music Generator

More AI Image, Video & Voice