music-generation

music-generation is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 90 tokens per session (1,641 once invoked), scanned A, original, Apache-2.0.

A tool for creating an audio track from a written description of its style, instruments, mood, and length. It sends the request to a local music-generation service and downloads the finished file.

In plain words
What is it for?
Use it to make background music, instrumental tracks, or songs with provided lyrics. It is not intended for speech synthesis or editing existing audio.
Why use it?
It handles the waiting and file retrieval involved in turning a music brief into an audio track.

Skill for Claude CodeCodex

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

Good fit Use it to make background music, instrumental tracks, or songs with provided lyrics. It is not intended for speech synthesis or editing existing audio.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/music-generation
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 Morningstar202604/awesome-skillkit --skill music-generation
Clone the repo
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkit

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 music-generation

README.md
[![agentmods](https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/music-generation/github.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/music-generation)
Your own site
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/music-generation"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/music-generation/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 music-generation

Your own site · 80×15
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/music-generation"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/music-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,641 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00090 $0.01641
Opus 5.5 $0.00036 $0.00656
Sonnet 5.5 $0.00018 $0.00328
Haiku 4.5 $0.00009 $0.00164

Measured 2mo ago against content hash 85624df87843, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

music-generation scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

compatibility: Requires curl and network access to the generation gateway endpoint.
site/skills/music/music-generation/SKILL.md · 132 lines

How it starts

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

Music Generation (Brief → Audio Track)

Drive the local generation gateway with curl: submit a music task, poll until it finishes, and download the audio file. No local synthesis tools, no dependencies to install — rendering happens on the gateway side; you handle the orchestration.

ENDPOINT STATUS: VERIFY BEFORE USE — before the first run, confirm the /api/music/* paths against your gateway docs; the pre-flight self-check below fails fast when the routes differ or are missing.

Input Checklist

Input Required Default Notes
Style/mood brief Yes — Genre + instruments + mood, one sentence
duration_seconds No 30 Keep within the range noted in the gateway docs
instrumental No true Set false only when lyrics are provided
lyrics No — Required when instrumental is false

When a required item is missing, ask once:

Please describe the music you want: the style (e.g. upbeat corporate theme), the main instruments, and the mood. Optionally tell me: the duration (default 30 seconds) and whether you want vocal lyrics (default instrumental).

Pre-flight Self-check

First resolve the gateway base URL (same command as workflow step 1), then probe it:

MUSIC_GATEWAY_BASE="${MUSIC_GATEWAY_BASE:-http://127.0.0.1:30080}"
curl -s -o /dev/null -w "%{http_code}" --max-time 5 "$MUSIC_GATEWAY_BASE/api/music/status?task_id=0"

Expected: prints an HTTP status code. On failure: connection failed (curl exits non-zero) → report that the music endpoint at $MUSIC_GATEWAY_BASE is unavailable, ask the user to start the gateway, and STOP; returns 404 → that gateway's route name differs; check the gateway docs, update this file's constants, and tell the user, then STOP. Never substitute a local synthesis on your own.

Workflow

Step 1: Determine the Gateway Base URL

MUSIC_GATEWAY_BASE="${MUSIC_GATEWAY_BASE:-http://127.0.0.1:30080}"
echo "$MUSIC_GATEWAY_BASE"

Expected: prints a URL that matches the one the pre-flight probe passed. On failure: if it expands empty, the shell is abnormal → stop; if it disagrees with the pre-flight, use the value that passed pre-flight.

Read the full file on GitHub · 132 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. 2mo ago Changed · +1 lines · +7 tokens per session 85624df87843
  2. 2mo ago Changed · +8 lines f06da82aa341
  3. 3mo ago First seen · 123 lines · 83 tokens per session scan A 385268a2a788

Subscribe to this mod's changes

music-generation is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 90 tokens to every session and 1,641 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

music-generation compared with skills from other repositories

music-generation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
music-generationMorningstar202604/awesome-skillkitSkill02mo agoApache-2.0A90Claude Code, Codex
safe-refactorJuliusBrussee/cavemanSkill124ktodayApache-2.0A29Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k3d agoApache-2.0A217Claude Code, Codex
auditing-subgroup-fairnessmaziyarpanahi/openmedSkill5.9ktodayApache-2.0A148Claude Code
memoryopensquilla/opensquillaSkill7.2k4d agoApache-2.0A44Claude Code, Codex
infographic-template-updaterantvis/InfographicSkill7.2k1mo agoMITA43Claude Code
pulse-configureSnowflake-Labs/cocoplusSkill72923d agoMITA12Claude Code, Codex