agentleFS
AgriciDanielAgriciDaniel/claude-music/skills/claude-music-compose/SKILL.md

claude-music-compose

Skill65 starsChanged 4 months agoMITView on GitHub

Songwriting guide for ACE-Step music generation. Helps craft captions (style descriptions), lyrics with structure tags, and choose optimal BPM/key/duration/time signature.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After composing, produce these for the generate command:

    line 28
  2. Distinctive:

    Keep lines 4-8 words for vocal clarity

    line 83
  3. Distinctive:

    Avoid tongue twisters and complex vocabulary

    line 89
  4. Distinctive:

    Use line breaks between phrases

    line 90

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

claude-music-compose — Songwriting Assistant

This is a READ-ONLY reference skill. Claude uses this knowledge to help craft optimal inputs for /music generate.

Execution

This sub-skill runs in a forked context (context: fork) and delegates the actual composition planning to the music-composer agent (skills/claude-music/agents/music-composer.md). The agent returns structured JSON ready to hand to music_engine.sh generate.

The reference material below is what the agent reads when it plans. It is also what you read when the user wants to learn the conventions rather than auto-compose.

Output Format

After composing, produce these for the generate command:

  1. Caption (-c): Style/genre/instruments/emotion (max 512 chars)
  2. Lyrics (-l): Structured lyrics with tags (max 4096 chars)
  3. Parameters: --duration, --bpm, --key, --time-sig, --language

Caption Crafting

Formula: Genre + mood + instruments + vocal style + production quality

Dimensions

DimensionExamples
Genrepop, rock, jazz, electronic, hip-hop, R&B, folk, classical, lo-fi, synthwave
Moodmelancholic, uplifting, energetic, dreamy, dark, nostalgic, euphoric, intimate
Instrumentsacoustic guitar, piano, synth pads, 808 drums, strings, brass, electric bass
Timbrewarm, bright, crisp, airy, punchy, lush, raw, polished
Era80s synth-pop, 90s grunge, 2010s EDM, vintage soul, modern trap
Productionlo-fi, high-fidelity, live recording, studio-polished, bedroom pop
Vocalsfemale vocal, male vocal, breathy, powerful, falsetto, raspy, choir
Rhythmslow tempo, mid-tempo, fast-paced, groovy, driving, laid-back

Principles

  1. Specific beats vague — "sad piano ballad, female breathy vocal" > "a sad song"
  2. Combine 3-5 dimensions — anchors the direction precisely
  3. Don't put BPM/key in caption — use dedicated parameters instead
  4. Avoid conflicting genres — "ambient metal" confuses the model
  5. Repetition reinforces — repeat elements you want emphasized
  6. Less detail = more creativity — let the model surprise you

Lyrics Structure

Tags

TagPurpose
[Verse] / [Verse 1]Narrative sections
[Chorus]Emotional climax, hook
[Pre-Chorus]Build energy before chorus
[Bridge]Transition or elevation
[Intro]Opening atmosphere
[Outro]Ending/conclusion
[Drop]Electronic energy release
[Breakdown]Reduced instrumentation
[Instrumental]No vocals section
[Guitar Solo]Specific instrument solo
[Fade Out]Fade ending

Density Rules

  • ~2-3 words per second of audio
  • 30s track: 60-90 words
  • 60s track: 120-180 words
  • 120s track: 240-360 words
  • Keep lines 4-8 words for vocal clarity
  • Simple, singable phrasing works best

Tips

  • Match lyrics emotion to caption mood
  • Avoid tongue twisters and complex vocabulary
  • Use line breaks between phrases
  • Chorus should be the most memorable/catchy section
  • Bridge should contrast with verse/chorus

Parameter Selection

BPM by Genre

GenreBPM RangeSweet Spot
Ballad60-8070
Lo-fi70-9080
R&B80-10090
Pop100-130120
Rock110-140125
House120-130125
Hip-hop80-11595
EDM128-150140
DnB160-180174
Trap130-170140

Duration Guide

Song TypeDurationNotes
Jingle/Short15-30sTikTok, ad music
Standard60-120sMost songs
Full song180-300sComplete arrangement
Extended300-600sAmbient, DJ sets

For detailed reference: load references/prompt-guide.md and references/music-theory.md

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.