songwriting-and-ai-music

songwriting-and-ai-music is a skill for Claude Code, Codex from mateaix/mateclaw. It costs 17 tokens per session (2,586 once invoked), scanned A, a copy of songwriting-and-ai-music, Apache-2.0.

A guide to writing songs and creating prompts for Suno, an AI music-generation service. It covers song structure, sections such as verses and choruses, rhyme, rhythm, and sound.

In plain words
What is it for?
Use it to plan song sections, improve rhyme and meter, explore songwriting choices, and write prompts for generating music with Suno.
Why use it?
It gives you practical options for shaping lyrics and song form when you are unsure how to organize or describe a piece of music. Its suggestions are guidelines rather than fixed rules.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to plan song sections, improve rhyme and meter, explore songwriting choices, and write prompts for generating music with Suno.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mateaix/mateclaw/songwriting-and-ai-music
About the project

MateClaw is a pluggable agent runtime that coordinates AI agents, tools, conversations, memory, and workflows. It is designed for personal and multi-user AI assistants, including agents used through chat platforms. Catalogue add-ons provide skills for extending its agent workflows.

mateaix/mateclaw · 1,097 stars · on GitHub · claw.mate.vip

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mateaix/mateclaw --skill songwriting-and-ai-music
Clone the repo
git clone --depth 1 https://github.com/mateaix/mateclaw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for songwriting-and-ai-music

README.md
[![agentmods](https://agentmods.dev/badge/skills/mateaix/mateclaw/songwriting-and-ai-music/github.svg)](https://agentmods.dev/skills/mateaix/mateclaw/songwriting-and-ai-music)
Your own site
<a href="https://agentmods.dev/skills/mateaix/mateclaw/songwriting-and-ai-music"><img src="https://agentmods.dev/badge/skills/mateaix/mateclaw/songwriting-and-ai-music/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for songwriting-and-ai-music

Your own site · 80×15
<a href="https://agentmods.dev/skills/mateaix/mateclaw/songwriting-and-ai-music"><img src="https://agentmods.dev/badge/skills/mateaix/mateclaw/songwriting-and-ai-music.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,586 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 91% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.02586
Opus 5 $0.00009 $0.01293
Sonnet 5 $0.00003 $0.00517
Haiku 4.5 $0.00002 $0.00259

Measured 13d ago against content hash fa122f9bf1d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

songwriting-and-ai-music scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

91% identical to songwriting-and-ai-music — 34 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

mateclaw-server/src/main/resources/skills/songwriting-and-ai-music/SKILL.md · 279 lines

How it starts

The opening of the file, as written. The whole thing — 279 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Songwriting & AI Music Generation

Everything here is a GUIDELINE, not a rule. Art breaks rules on purpose. Use what serves the song. Ignore what doesn't.


1. Song Structure (Pick One or Invent Your Own)

Common skeletons — mix, modify, or throw out as needed:

ABABCB  Verse/Chorus/Verse/Chorus/Bridge/Chorus    (most pop/rock)
AABA    Verse/Verse/Bridge/Verse (refrain-based)    (jazz standards, ballads)
ABAB    Verse/Chorus alternating                    (simple, direct)
AAA     Verse/Verse/Verse (strophic, no chorus)     (folk, storytelling)

The six building blocks:

  • Intro — set the mood, pull the listener in
  • Verse — the story, the details, the world-building
  • Pre-Chorus — optional tension ramp before the payoff
  • Chorus — the emotional core, the part people remember
  • Bridge — a detour, a shift in perspective or key
  • Outro — the farewell, can echo or subvert the rest

You don't need all of these. Some great songs are just one section that evolves. Structure serves the emotion, not the other way around.


2. Rhyme, Meter, and Sound

RHYME TYPES (from tight to loose):

  • Perfect: lean/mean
  • Family: crate/braid
  • Assonance: had/glass (same vowels, different endings)
  • Consonance: scene/when (different vowels, similar endings)
  • Near/slant: enough to suggest connection without locking it down

Mix them. All perfect rhymes can sound like a nursery rhyme. All slant rhymes can sound lazy. The blend is where it lives.

INTERNAL RHYME: Rhyming within a line, not just at the ends. "We pruned the lies from bleeding trees / Distilled the storm from entropy" — "lies/flies," "trees/entropy" create internal echoes.

METER: The rhythm of stressed vs unstressed syllables.

  • Matching syllable counts between parallel lines helps singability
  • The STRESSED syllables matter more than total count
  • Say it out loud. If you stumble, the meter needs work.
  • Intentionally breaking meter can create emphasis or surprise

3. Emotional Arc and Dynamics

Read the full file on GitHub · 279 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 279 lines · 17 tokens per session scan A fa122f9bf1d0

Subscribe to this mod's changes

songwriting-and-ai-music is a skill published in the GitHub repository mateaix/mateclaw (1,097 stars, last pushed yesterday), licensed Apache-2.0. It adds 17 tokens to every session and 2,586 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to songwriting-and-ai-music, differing in 34 lines, and is treated as a copy.