adaptive-music

adaptive-music is a skill for Claude Code from SummerEngine/summer-engine-agent. It costs 71 tokens per session (4,043 once invoked), scanned A, original, MIT.

A system for connecting music tracks to changing game states, such as exploration, tension, combat, and victory. It can crossfade, lower competing sounds, and route audio through shared mixer channels.

In plain words
What is it for?
Use it when several existing tracks or stems need to respond to player-state changes. Stems are separate musical layers that can be combined or switched.
Why use it?
It removes the need to switch tracks manually when the player's situation changes and keeps those changes musically coordinated.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code; mentions Codex.

Part of the summer plugin — 80 skills, 2 commands, 2 hooks, 1 MCP server shipped together

Good fit Use it when several existing tracks or stems need to respond to player-state changes. Stems are separate musical layers that can be combined or switched.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/summerengine/summer-engine-agent/adaptive-music
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 SummerEngine/summer-engine-agent --skill adaptive-music
Clone the repo
git clone --depth 1 https://github.com/SummerEngine/summer-engine-agent

Made for: Claude Code.

Or install summer, the plugin that ships this one along with the rest of its 80 skills, 2 commands, 2 hooks, 1 MCP server.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/summerengine/summer-engine-agent/adaptive-music/github.svg)](https://agentmods.dev/skills/summerengine/summer-engine-agent/adaptive-music)
Your own site
<a href="https://agentmods.dev/skills/summerengine/summer-engine-agent/adaptive-music"><img src="https://agentmods.dev/badge/skills/summerengine/summer-engine-agent/adaptive-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 adaptive-music

Your own site · 80×15
<a href="https://agentmods.dev/skills/summerengine/summer-engine-agent/adaptive-music"><img src="https://agentmods.dev/badge/skills/summerengine/summer-engine-agent/adaptive-music.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,043 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00071 $0.04043
Opus 5 $0.00036 $0.02021
Sonnet 5 $0.00014 $0.00809
Haiku 4.5 $0.00007 $0.00404

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

Security

Grade A, and why

adaptive-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 10d 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

Copies of this mod

1 near-identical copy found in the catalogue:

skills/audio/adaptive-music/SKILL.md · 331 lines

How it starts

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

/adaptive-music — Wire Stems to Game State

Overview

This is the wiring skill, not the generation skill. The job is to take 3–5 music stems (or full tracks) and connect them to a game state machine so the music shifts as the player's situation changes — exploration → tension → combat → victory → exploration — with crossfades, ducking, and bus routing the player never consciously notices but always feels.

This skill assumes the stems already exist. If they don't, run /music-track first for each state, or generate matching stems (same tempo, same key, same bar count) so they layer/crossfade cleanly.

When to use

  • The audio bible specifies a dynamic music model (layered stems / vertical re-orchestration / horizontal sequencing).
  • You have at least two music tracks for two different states and want the engine to switch between them.
  • Player-state-driven crossfades, not random shuffling.

When NOT to use

  • Generating the stems themselves → /music-track.
  • Single static loop with no state changes → /music-track and an AudioStreamPlayer is enough.

Steps

1. Read the audio bible's dynamic music plan

Read .summer/audio-bible.md

Quote the plan back. Example:

Bible plan: Layered stems. States CALM / TENSION / COMBAT / VICTORY. CALM → TENSION on enemy detect (2s crossfade). TENSION → COMBAT on first damage (instant drum stem). COMBAT → VICTORY on last enemy dies (drum cuts, brass swell). VICTORY → CALM after 4s. Music ducks -6 dB on dialogue.

If the plan is absent, run /audio-direction step 6 first.

2. Pick the wiring model

Model When Implementation
Horizontal sequencing 3–5 full tracks, one per state, crossfade One AudioStreamPlayer per track on the Music bus, tween volumes on state change
Layered stems One base loop + drum/brass/strings stems that turn on with intensity All stems play simultaneously at silence; mute/unmute via volume tween
Vertical re-orchestration Same melody, different orchestration per state, snap on bar All variants play simultaneously muted; swap on next bar boundary
Procedural / generative Rules generate music in real-time Beyond this skill; needs a custom system

Read the full file on GitHub · 331 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. 10d ago First seen · 331 lines · 71 tokens per session scan A a0a706e830b8

Subscribe to this mod's changes

adaptive-music is a skill published in the GitHub repository SummerEngine/summer-engine-agent (59 stars, last pushed yesterday), licensed MIT. It adds 71 tokens to every session and 4,043 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

self-evolve

Capture reusable patterns from a finished project and lift them into framework-level priors (contracts, modules, skeletons) that future projects inherit. Run only when the user explicitly requests self-evolution; the orchestrator executes the workflow.

tettethu/VibeGame · 50 tokens

artist-self-evolve

Distill stable art-generation patterns from a completed project, so future projects produce comparable assets without re-discovering the prompts. Lead-dispatched only — orchestrator invokes this skill from its self-evolve flow with a game-slug message; do not self-trigger.

tettethu/VibeGame · 62 tokens

vibegame-build

Run VibeGame's standard end-to-end game development workflow with reviewer gates. Use when the user wants to create a game from zero or evolve an existing game across multiple stages.

tettethu/VibeGame · 42 tokens

vibegame-start

Resume a VibeGame orchestrator session after vibegame start. Use at the beginning of a Claude or Codex session to inspect team runtime state, repair missing persistent members, load goal and GDD context, inspect tasks, and ask the user what to do next.

tettethu/VibeGame · 61 tokens

vibegame-edit

Iterate broadly on an existing game, on top of vibegame-build. Use when the user asks to change an existing game's art style, genre, or core rules. Not for local tuning such as numbers or game feel. Orchestrator only.

tettethu/VibeGame · 57 tokens

hearth-art

Give a Hearth game real art and sound — importing and slicing spritesheets, animations, procedural sprites and sounds, autonomous CC0 asset sourcing (Kenney, itch.io, OpenGameArt, Freesound, Google Fonts) with licensing rules, and pixel-art discipline (never stretch; read the art before using it). Use when the game…

echoo19/hearth · 89 tokens