claude-music

skill
Guvenlik Denetimi
Gecti
Health Gecti
  • License — License: NOASSERTION
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 28 GitHub stars
Code Gecti
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

AI music production skill for Claude Code, powered by ACE-Step 1.5. Generate full songs from a prompt, in your terminal or a local web dashboard.

README.md

claude-music, AI music production for Claude Code

claude-music

Make full songs on your own computer by describing them in plain words.

claude-music turns Claude Code into a music studio,
powered by ACE-Step 1.5. Type
"make me a chill lo-fi beat" and get a finished track in about 15 seconds.
No cloud, no subscription, no per-song fees. Your GPU does the work.

The claude-music dashboard: describe a song, pick styles, and watch it generate, with a real waveform player and a library of your tracks

Hear It

Four unedited songs it made, exactly as they came out. All four are about
the same subject (an SEO tool), with full sung lyrics written by Claude
and vocals in three languages:

Track Style and voice
Crawl Season Hip-hop, English rap: "Ran one little audit, now the crawlers all obsessed"
SEO Caliente Latin pop / reggaeton, Spanish vocals
Tokyo Page One Japanese lo-fi / city pop, Japanese vocals
First Page Swing Jazz crooner with a piano trio

Get Started (5 minutes)

One command installs everything:

git clone https://github.com/AgriciDaniel/claude-music.git
cd claude-music
bash install.sh

Windows (PowerShell): powershell -ExecutionPolicy Bypass -File .\install.ps1

The installer checks your system, sets up ACE-Step and the models (~5GB,
asks first), and links everything to Claude Code. Then open Claude Code and
say:

"Generate a chill lo-fi beat, 60 seconds"

Or open the dashboard in your browser:

/music web

What You Can Do

Say this... What happens
"Make me a song about..." A full song with vocals
"Create an instrumental jazz piece" Instrumental track
"Make a rock cover of this song" Your song, remade in a new style
"Fix the chorus, make it more energetic" Edits just that section
"Export for Spotify" Loudness-ready file for the platform
"Surprise me" Random genre, instant song

The Dashboard

Everything in one page, running privately on your machine:

  • Describe a song, pick styles, press Generate, watch the live progress
  • A real waveform player: click anywhere to jump, bars move with the beat
  • Your library with album art, titles you can rename, and star ratings
  • Drag and drop your own songs to check their loudness, fix them for
    streaming, or generate similar tracks from them

Player mid-playback: the played part fills in orange, click anywhere to jump

One click audits a song: loudness, peaks, and format, with plain-language fixes

What You Need

  • Claude Code (free CLI, desktop app, or VS Code)
  • An NVIDIA GPU with 4GB+ VRAM (8GB+ recommended; CPU works but is slow)
  • ~10GB of disk space

The installer handles the rest (Python, FFmpeg, uv, ACE-Step).

Quality Presets

Preset Speed Best for
draft ~15s Quick ideas (4 variants)
standard ~15s Everyday use (2 variants)
high ~25s Better lyrics and structure
max ~3-5min Highest quality possible
Changing defaults, file naming, and settings precedence

Four quality presets: draft, standard, high, max, trading off speed for quality

standard skips the 1.7B LM thinking pass that plans BPM, key and structure
before diffusion, which is why it can produce thinner melodies than high.

Settings resolve in this order: CLI flag > config.json > quality preset.
To stop passing --quality high on every run, set it once in
skills/claude-music/config.json:

{
  "defaults": {
    "quality": "high",
    "format": "flac"
  }
}

quality, format, language and the memory settings
(offload_to_cpu, offload_dit_to_cpu, use_flash_attention) are read from
there, as is the top-level output_dir (also changeable from the dashboard's
Settings gear).

model, lm_model, batch_size and thinking are owned by the quality
preset and are deliberately absent from the shipped config. Adding one pins it
across every preset, e.g. a batch_size of 2 would silently defeat
draft's 4.

Output file naming: files are renamed from raw UUIDs to something
readable:

lo-fi-afro-latin-percussion-nylon_20260812-1548_01_s3128607774.flac

The seed at the end lets you regenerate or vary a track you liked
(--seed 3128607774). Renaming never overwrites; collisions get a -2
suffix. Set "naming": "uuid" to keep the original names.

All Commands

/music generate   - Create music from text + lyrics
/music cover      - Remake a song in a different style
/music repaint    - Edit a section of a song
/music compose    - Songwriting help (lyrics, caption, BPM)
/music export     - Export for Spotify/YouTube/TikTok/etc
/music analyze    - Check BPM, key, loudness
/music enhance    - Normalize, denoise, separate stems
/music random     - Random generation (surprise me!)
/music library    - Browse your generated music
/music lora       - Train custom styles
/music setup      - Check if everything works
/music web        - Local browser dashboard
How it works, GPU tiers, and architecture

From a text prompt to a full 48 kHz stereo waveform, locally on your GPU

  1. You describe what you want (or use /music generate)
  2. Claude crafts the right caption, lyrics, and parameters
  3. ACE-Step 1.5 generates the audio locally on your GPU
  4. You listen, iterate, and export

Four-stage flow: describe, plan, generate, listen, then iterate

Setup VRAM Speed
Turbo (default) ~8GB ~15 seconds
Turbo + Thinking ~14GB ~25 seconds
XL (best quality) ~16GB ~30 seconds

VRAM tiers: Turbo needs 8 GB (default), Turbo + thinking 14 GB, XL Turbo 16 GB

The skill talks to ACE-Step's Python API directly (no REST server), routed
through an orchestrator and 11 sub-skills:

Orchestrator at the centre, sub-skills around it, music-composer subagent branching off compose

Sub-commands of claude-music: generate, cover, repaint, compose, analyze, export, enhance, random, library, lora

See ARCHITECTURE.md for the design decisions.

Troubleshooting
Symptom Fix
CUDA out of memory Other apps are holding VRAM. Close GPU-heavy programs, or use draft quality, shorter durations, and smaller batches. The dashboard warns when free VRAM is under 4 GB and names the apps holding it.
No NVIDIA GPU detected ACE-Step needs CUDA for reasonable speed. CPU-only generation works but is very slow. On AMD/Intel or macOS, check ACE-Step's own docs for ROCm/XPU/MPS scripts.
uv: command not found Install uv: curl -LsSf https://astral.sh/uv/install.sh | sh, then re-run install.sh.
Dashboard says "setup required" config.json still has the CHANGE_ME placeholder. Run bash install.sh.
Dashboard port busy The server auto-increments 8765-8775. Or pick one: bash music_web.sh 9000.
First generation is slow Model checkpoints load into VRAM on first run (~10-30 s extra). Later runs are faster.
Generation timed out (15 min) Usually a first-run model download or a max-quality run on a slow GPU. Try again or drop to high.
FLAC will not play in the dashboard Chrome and Firefox play FLAC natively; some Safari versions do not. Set "format": "mp3" in config.json defaults, or use the Download button.
Uploaded file rejected The dashboard accepts flac, wav, mp3, opus, aac, m4a and ogg up to 200 MB, and verifies the file decodes. Convert exotic formats first: ffmpeg -i input.xyz output.flac.

Uninstall

cd claude-music
bash uninstall.sh

Removes skill links only. Your generated music and ACE-Step are untouched.

For Contributors

pip install -e ".[dev]"
pytest tests/            # 54 contract tests, <1s, no GPU required
ruff check skills/ tests/

See CONTRIBUTING.md for the workflow and
SECURITY.md for the threat model.

Release notes (v0.2 to v0.4)

v0.4

The dashboard release. Full notes on the
releases page.

  • Web dashboard (/music web): chat-style composer with a 28-genre style
    dropdown, live progress, a real-waveform player, generative album art,
    renameable titles, ratings, drag-and-drop uploads with audit / optimize /
    similar, quick actions, an output-folder setting, and confetti
  • Reliability: VRAM fail-fast, automatic retries on out-of-memory and
    launcher hiccups, noise-tolerant result parsing, dash-proof prompts,
    sticky error notices with plain-language fixes
  • Engine: settings precedence CLI > config > preset, readable output
    filenames, --progress events for wrappers
  • config.json is per-machine and untracked; installers seed it from
    config.example.json
  • Tests: 41 to 54

v0.3

  • Config defaults honoured with explicit precedence
  • Descriptive output naming (slug_date_index_seed.ext)
  • First version of the web dashboard

v0.2

  • Plugin manifest for the Agent Skills open standard
  • GPU-free test suite and CI (ruff + shellcheck + pytest)
  • Windows installer, ARCHITECTURE.md, community files
  • --help works even before ACE-Step is configured

License

MIT, see LICENSE. Generated audio inherits no licensing
obligations from this skill; consult ACE-Step's license.

Credits

Built on ACE-Step 1.5 by the
ACE Studio team. Skill by Daniel Agrici.

Yorumlar (0)

Sonuc bulunamadi