Lyric Refiner
Autonomous multi-pass lyric refinement for tightening, cohesion, and album unity.
Install
npx skills add bitwize-music-studio/claude-ai-music-skills --skill lyric-refiner -g -a claude-code -y- Repository
- bitwize-music-studio/claude-ai-music-skills615
- Category
- Engineering
- Updated
- 7d ago
- License
- CC0-1.0
- Context cost
- Mediumabout 3,000 tokens
- Runs scripts
- No, instructions only
What it does
Autonomous multi-pass lyric refinement for tightening, cohesion, and album unity. Use after lyrics are written to polish a track or entire album through iterative passes.
Your Task
Input: $ARGUMENTS
Parse Arguments
- Identify target scope:
- If argument is an album name/slug → album mode (refine all tracks)
- If argument is a track file path → single-track mode (refine one track)
- Parse pass count: Look for
--passes N(default: 3, minimum: 1, maximum: 5)- If
--passes> 5, warn: "Diminishing returns beyond 5 passes, capping at 5."
- If
Instrumental Guard
When invoked with a single-track path, first check the track's frontmatter for instrumental: true or the Track Details table for **Instrumental** | Yes. If the track is instrumental:
- STOP and report: "This is an instrumental track, no lyrics to refine. Use
/bitwize-music:suno-engineerfor Style Box work." - Do NOT attempt to refine instrumental tracks.
In album mode, instrumental tracks are silently skipped with a one-line note (not blocking), see the triage in "Resolve Album & Tracks" below. A mix of instrumental and vocal tracks on the same album is the normal case, not an error.
Resolve Album & Tracks
- Use
find_album(name)MCP tool to locate the album - Use
list_tracks(album_slug)to get all tracks - Triage every track into one of three buckets, the refiner only operates on the third:
- Instrumental, frontmatter
instrumental: trueor Track Details**Instrumental** | Yes→ skip, emitSkipping {track}, instrumental - Not ready, status
Not Started/Sources Pending, OR no Lyrics Box content → skip, emitSkipping {track}, no lyrics yet ({status}) - Refineable, vocal track with lyrics written → include in the refinement pass set
- Instrumental, frontmatter
- For album mode: read ALL refineable track lyrics before starting any refinement (full context needed for cohesion/unity passes). Instrumental and not-ready tracks do not need to be read.
- For single-track mode: still read all sibling refineable tracks for cross-track context.
