music-generation

music-generation is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 83 tokens per session (1,112 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 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,112 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.00083 $0.01112
Opus 5 $0.00042 $0.00556
Sonnet 5 $0.00017 $0.00222
Haiku 4.5 $0.00008 $0.00111

Measured 11d ago against content hash 385268a2a788, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d 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.
skills/scenarios/music-generation/SKILL.md · 123 lines

How it starts

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

Music Generation (brief → track)

Drive a local generation gateway with curl: submit a music task, poll until done, download the audio file. No local synthesis tools, no dependency installs — the gateway renders, you orchestrate.

ENDPOINT STATUS: VERIFY BEFORE USE — confirm /api/music/* paths against your gateway's docs before first run; the preflight step below fails fast if the route differs or is absent.

Inputs

Input Required Default Notes
style / mood brief yes genre + instruments + emotion, one line
duration_seconds no 30 keep within your gateway's documented range
instrumental no true set false only if lyrics are provided
lyrics no required when instrumental is false

If the required input is missing, ask ONCE:

请描述想要的音乐:风格(如轻快的企业宣传曲)、主要乐器、情绪。 可选告知:时长(默认 30 秒)、是否需要人声歌词(默认纯音乐)。

Preflight self-check

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

Expected: an HTTP code prints. If connection fails OR the path returns 404: report that the music endpoint is unavailable at $MUSIC_GATEWAY_BASE, show the exact status code, and STOP. Do not synthesize audio locally as a substitute.

Workflow

Step 1: Resolve the gateway base

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

Expected: prints one URL.

Step 2: Compose the music brief

Fill three slots in one sentence:

[风格流派] + [主导乐器] + [情绪与用途]

Example: "轻快的流行电子风,钢琴与合成器主导,用于产品发布会的开场暖场, 积极向上。" Avoid naming artists; describe sonic characteristics instead.

Step 3: Submit the task

curl -s -X POST "$MUSIC_GATEWAY_BASE/api/music/generate" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"<STEP-2 BRIEF>","params":{"duration":"30","instrumental":true}}'

With lyrics: add "instrumental":false and "lyrics":"<LYRICS>".

Expected: JSON containing task_id. Failure branch — HTTP error or HTML: retry once verbatim, then report and stop.

Read the full file on GitHub · 123 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. 11d 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 (1 stars, last pushed yesterday), licensed Apache-2.0. It adds 83 tokens to every session and 1,112 once invoked, about $0.0004 per session on Opus 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

Other skills, from other repositories

agentic-webdesign-html-anything

Install and use html-anything — the agentic HTML editor where your local AI agent writes HTML and you ship it. 75 skills × 9 surfaces, BYOK, zero API key. Use when building magazine articles, keynote decks, resumes, posters, social cards, web prototypes, data reports, or Hyperframes videos with AI coding agents.

S3YED/appie-kit · 78 tokens

blog-post

Full-stack blog post production — turns a topic, idea, or brief into a complete publishing package across written, social, and multimedia surfaces. Generates broomva.tech .mdx posts (or Substack/other long-form), X posts and threads, LinkedIn posts, Instagram posts and reel scripts, plus multimedia asset plans…

broomva/skills · 182 tokens

content-creation

Full-stack content creation pipeline: idea or reference to published blog post, audio narration, video, and social media distribution. Orchestrates research, reference extraction, storytelling, AI visual assets (Nano Banana, Veo 3.1), TTS audio (Voicebox, kokoro-tts, Edge TTS), Remotion video, and social copy into a…

broomva/skills · 239 tokens

muapi-seedance-2

Expert Cinema Director skill for Seedance 2.0 (ByteDance) — high-fidelity video generation across Chinese, Global, and VIP tiers. Supports text-to-video, image-to-video, first-last-frame, omni reference, character training, omni-reference training, video editing, and watermark removal.

SamurAIGPT/Generative-Media-Skills · 67 tokens

muapi-workflow

Build, run, and visualize multi-step AI generation workflows. The AI architect translates natural language descriptions into connected node graphs — chain image generation, video creation, enhancement, and editing into automated pipelines.

SamurAIGPT/Generative-Media-Skills · 44 tokens

muapi-media-editing

Edit and enhance images and videos with AI via muapi.ai — prompt-based editing, upscaling, background removal, face swap, lipsync, video effects, and more.

SamurAIGPT/Generative-Media-Skills · 41 tokens