# Create and Edit AI Music with RunComfy

Choosing a music model and formatting its inputs can slow production. This skill routes each request and prepares a suitable RunComfy CLI invocation.

## Install

```bash
npx skillstore add agentspace-so/ai-music
```

## Metadata

- Status: approved
- Slug: agentspace-so-ai-music
- Skillstore revision: r3
- Version status: missing
- Tree hash: 5bcfce2bd2a49e15b53b5c720ab7c6800c510be1b656d9c974ce61f045695671
- Author: agentspace-so
- GitHub username: agentspace-so
- License: MIT
- Repository: https://github.com/agentspace-so/runcomfy-agent-skills/tree/main/ai-music/
- Ref: 181fdefcafd96b041926e61c4b2e306ca7e7820e
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: confirmation\_required
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network, filesystem
- Quality score: 38
- Quality tier: warning
- Public page: https://skillstore.pages.dev/skills/agentspace-so-ai-music
- Manifest: https://skillstore.pages.dev/api/skills/agentspace-so-ai-music/manifest

## Capabilities

- Selects between ElevenLabs Music, ACE Step, and ACE Step 1.5 based on quality, language, and budget.
- Structures prompts, tags, lyrics, duration, and section markers for supported text-to-music endpoints.
- Generates vocal songs, instrumentals, jingles, soundtracks, game loops, and background tracks through RunComfy.
- Repairs a time-bounded section of existing audio with ACE Step audio inpainting.
- Extends existing audio before, after, or in both directions with ACE Step audio outpainting.

## Use Cases

- Produce Campaign Music: Create a polished jingle or vocal track matched to campaign length, mood, and brand requirements.
- Build Game Audio Libraries: Generate affordable instrumental loops with varied genres, tempos, and moods for gameplay scenes.
- Repair or Extend Songs: Replace a weak section or add an intro and outro without regenerating the complete track.

## Prompt Templates

### Create an Instrumental

```
Create a {duration}-second instrumental in {genre}. Use {mood}, {tempo}, and {instruments}. Choose a suitable RunComfy model and generate it.
```

### Generate a Vocal Song

```
Create a {duration}-second {language} song in {genre}. Use these lyrics: {lyrics}. Keep the vocal style {vocal_style} and mood {mood}.
```

### Repair a Track Section

```
Repair {start_time} to {end_time} in {audio_url}. Match {style} and replace the section with {section_description}. Preserve the surrounding arrangement.
```

### Plan a Music Batch

```
Plan {track_count} tracks for {project_type} and {audience}. Keep within {budget}. Compare models, define varied briefs, estimate cost, and generate only approved tracks.
```

## Limitations

- Requires the RunComfy CLI and an authenticated account with sufficient service credits.
- Sends prompts and referenced audio to third-party RunComfy and model services.
- Does not verify lyric licenses, ownership, commercial rights, or provider-specific usage terms.
- Cannot perform mask-based edits; ACE Step editing uses time ranges and limits total duration to four minutes.

## Best Practices

- Start with short drafts, then increase duration after the style and arrangement are approved.
- State genre, mood, tempo, instruments, vocal language, duration, and section structure explicitly.
- Review costs, rights, privacy terms, and service terms before generation, especially for commercial projects.

## Anti Patterns

- Do not place untrusted text directly inside shell-quoted command arguments.
- Do not send private audio or lyrics without permission and an approved data-sharing policy.
- Do not request paid batches before confirming model, duration, track count, and estimated cost.

## Security Audit

- Audited at: 2026-07-23T08:26:16.946\+00:00
- Summary: All 76 static alerts are false positives caused by Markdown, documentation links, normal token-path disclosure, or model-selection prose. Semantic review found unsafe shell quoting, external transmission of user content, and paid execution without mandatory cost confirmation.

## Stats

- Views: 33
- Downloads: 12
- Favorites: 0
- Popularity score: 0
