AI Music Skill: Generate and Edit Songs Through the RunComfy CLI
AI Music skill routes music requests to ElevenLabs Music or ACE Step through the runcomfy CLI.
Needs the CLI and a RunComfy sign-in. Download the ZIP.
Sign in with Google to download your first skill free; after that, from $7.
Unzip into .agents/skills/ in your project. The ZIP has SKILL.md, with its references and scripts, checked against the upstream source. Changes we made are listed further down this page.
music
audio
runcomfy
ace step
elevenlabs
Quick Start
1 Unzip the download into .agents/skills/ so the ai-music folder sits inside it.
2 Install the RunComfy CLI with npm i -g @runcomfy/cli (or use npx -y @runcomfy/cli), then run runcomfy login. In CI or containers you can set the RUNCOMFY_TOKEN environment variable instead.
3 Ask your agent for music in plain words. The skill chooses a route and runs runcomfy run with a JSON input and an --output-dir.
4 Find the generated audio file in the output folder.
Example Command
Make a 60 second upbeat indie-pop instrumental for a game menu, seamless loop.
Core Capabilities
Model routing by intent
Classifies the request (premium or cost-sensitive, multilingual, vocal or instrumental, generate or edit) and picks the matching route.
ElevenLabs Music Generation
Route 1: one prompt carrying the style brief and lyrics with section markers such as Intro, Verse and Chorus; force_instrumental for no vocals.
ACE Step and ACE Step 1.5
Route 2: tags for style, lyrics for vocal content, with [Verse]/[Chorus] markers or [inst]. The 1.5 variant adds 50+ language vocal support.
Audio inpaint
Route 3: regenerate a time range inside an existing track using start_time and end_time.
Audio outpaint
Route 4: extend a track before, after, or both with extend_before_duration and extend_after_duration.
Documented CLI invoke
Ships the minimal runcomfy run command for each route, plus the CLI exit codes and troubleshooting pointers.
Usage Examples
Input
Background music for a game menu, 90 seconds, no vocals.
Output
Following the skill's decision flow, the agent treats this as a cost-sensitive generation, uses the ACE Step route with tags such as a seamless loop and [inst] lyrics, and runs runcomfy run with the JSON input and an output directory.
Input
A polished vocal hook for a brand campaign.
Output
The skill's decision flow sends premium commercial work to ElevenLabs Music. The agent writes one prompt with style and lyrics using section markers and sets music_length_ms.
Input
My 30 second hook needs to be a 2 minute track.
Output
The agent uses the ACE Step audio-outpaint route with your audio URL, adding extend_before_duration and extend_after_duration in one call.
About This Skill
AI Music is an agent skill that generates music on RunComfy through the runcomfy CLI. It picks a model from the music catalog (ElevenLabs Music Generation, ACE Step, ACE Step 1.5) based on what you ask for, and can also repair or extend an existing track with ACE Step audio-inpaint and audio-outpaint. It is for anyone who wants an agent to produce vocal songs, instrumentals, jingles or game loops from a text brief.
Source and license
Original repo https://github.com/gencraft-labs/skills at commit 5d625f5, license MIT, author/owner RunComfy / agentspace-so (per the repo LICENSE). The download is the author's files unchanged, with their LICENSE.
Pair it with Video Shotcraft when you also plan video shots.
See Faceless Shorts for short-form video workflows that can use a music bed.
SKILL.md
---
name: ai-music
displayName: "AI Music"
allowed-tools: Bash(runcomfy *)
description: >
Generate AI music on RunComfy via the `runcomfy` CLI — a smart router
across the music-model catalog. Routes to ElevenLabs AI Music
Generation (premium 44.1 kHz stereo vocal tracks, 5 s–5 min, $0.0083/s)
and ACE Step / ACE Step 1.5 (StepFun-AI open-weights, tag-driven
composition, multilingual lyrics, $0.0002–0.0003/s, ~27× cheaper),
plus ACE Step audio-inpaint (regenerate a time range inside an
existing track) and ACE Step audio-outpaint (extend a track before
or after). Picks the right model for the user's actual intent —
premium vocal hook, cheap background music library, multilingual
pop song, repair a bad chorus, lengthen a 30 s draft into a 2 min
cut — and ships each model's documented prompting patterns plus the
minimal `runcomfy run` invoke. Triggers on "generate music",
"make a song", "AI music", "background music", "instrumental track",
"soundtrack", "jingle", "theme music", "royalty-free music",
"compose", "music with lyrics", "extend music", "fix this song",
"inpaint music", or any explicit ask to generate or edit music.
homepage: https://www.runcomfy.com
license: MIT
---
# AI Music
…
The full SKILL.md and 2 more files are in the download.
LICENSE (1.1 KB)
SOURCE.txt (257 B)
SKILL.md (14 KB)
Frequently Asked Questions
FAQ
What is the AI Music skill?
It is a SKILL.md that teaches an agent to generate and edit music through the RunComfy CLI. It routes between ElevenLabs Music Generation and the ACE Step family and includes each model's prompting pattern and example command.
What does it need?
The runcomfy CLI (npm i -g @runcomfy/cli, or npx -y @runcomfy/cli) and a RunComfy sign-in via runcomfy login or the RUNCOMFY_TOKEN environment variable. The skill allows only Bash(runcomfy *). Source audio for inpaint and outpaint is passed as a URL.
How do I install it?
Unzip the download into .agents/skills/. See /docs/install-skills for the full steps.
Which models does it route to?
According to the SKILL.md: ElevenLabs Music Generation, ACE Step, ACE Step 1.5, ACE Step audio-inpaint and ACE Step audio-outpaint. ElevenLabs has no edit endpoints, so edits use ACE Step.
What are the limits?
The SKILL.md says outpaint is capped at 4 minutes total, and the CLI aborts any single download over 2 GiB. It also notes the CLI has no mask-based audio inpaint endpoint, only time-range edits.
Is it an official Antigravity or Google skill?
No. It is a community skill published by RunComfy (agentspace-so) in the gencraft-labs/skills repository under the MIT license. It is not made by Antigravity or Google.