claude-music-repaint
Skill65 starsChanged 4 months agoMITView on GitHub
Edits specific sections of a song using ACE-Step 1.5's repaint mode. Fixes a bad chorus, changes instruments in a section, adds or removes vocals, or regenerates any time range while keeping the rest intact.
In this repository12 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- claude-music-analyzeSkill
- claude-music-composeSkill
- claude-music-coverSkill
- claude-music-enhanceSkill
- claude-music-exportSkill
- claude-music-generateSkill
- claude-music-librarySkill
- claude-music-loraSkill
- claude-music-randomSkill
- claude-musicSkill
- claude-music-webSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 65
Use analysis: bash ~/.claude/skills/claude-music/scripts/music_engine.sh (note the timestamps)
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
claude-music-repaint — Section Editing
Pre-Flight
- Verify source:
bash ~/.claude/skills/claude-music/scripts/preflight.sh "$SRC_AUDIO" "$OUTPUT" - Identify the section to edit (start/end in seconds)
Usage
# Fix a weak chorus (30s-60s)
bash ~/.claude/skills/claude-music/scripts/music_engine.sh repaint \
--src-audio song.flac \
--start 30 --end 60 \
--caption "powerful chorus, big drums, layered vocals"
# Make the intro more atmospheric (0s-15s)
bash ~/.claude/skills/claude-music/scripts/music_engine.sh repaint \
--src-audio song.flac \
--start 0 --end 15 \
--caption "ambient intro, reverb, ethereal pads"
# Change instruments in a bridge (90s-120s)
bash ~/.claude/skills/claude-music/scripts/music_engine.sh repaint \
--src-audio song.flac \
--start 90 --end 120 \
--caption "stripped back bridge, acoustic guitar only, intimate"
# Regenerate the ending (last 30 seconds)
bash ~/.claude/skills/claude-music/scripts/music_engine.sh repaint \
--src-audio song.flac \
--start 150 --end -1 \
--caption "fade out ending, gentle resolution"Parameters
| Parameter | Flag | Default | Description |
| Source audio | --src-audio | required | Song to edit |
| Start | --start | 0.0 | Repaint start (seconds) |
| End | --end | -1.0 | Repaint end (-1 = end of file) |
| Caption | --caption | "" | Description for the repainted section |
| Lyrics | --lyrics | "" | New lyrics for the section |
| Quality | --quality | standard | draft/standard/high/max |
Section Identification
To find the right timestamps:
- Play the song:
ffplay -nodisp -autoexit song.flac - Use analysis:
bash ~/.claude/skills/claude-music/scripts/music_engine.sh(note the timestamps) - Common sections at typical BPM (120):
- Intro: 0-15s
- Verse 1: 15-45s
- Chorus 1: 45-75s
- Verse 2: 75-105s
- Chorus 2: 105-135s
- Bridge: 135-155s
- Final chorus: 155-185s
- Outro: 185-210s
Multi-Pass Refinement
Iteratively improve a song:
- Generate initial version with
/music generate - Listen, identify weak sections
- Repaint section A → listen → approve or re-repaint
- Repaint section B → listen → approve
- Optionally
/music coverfor final polish (low strength ~0.8)
Tip: Each repaint produces a complete new file. Keep the previous version in case the repaint is worse.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

