elevenlabs-sound-music

elevenlabs-sound-music is a skill for Claude Code from fcsouza/agent-skills. It costs 123 tokens per session (2,290 once invoked), scanned A, original, MIT.

A game-audio development guide covering sound effects, music that changes with gameplay, and voice acting. It supports ElevenLabs and Vertex AI Lyria as alternative services for producing game audio.

In plain words
What is it for?
Use it to create sound effects, adaptive music, or voice lines and integrate them with a game's audio state machine.
Why use it?
It helps connect generated or recorded audio to the game's changing states instead of treating every sound as a separate task.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the game-dev plugin — 39 skills shipped together

Good fit Use it to create sound effects, adaptive music, or voice lines and integrate them with a game's audio state machine.

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

Made for: Claude Code.

Or install game-dev, the plugin that ships this one along with the rest of its 39 skills.

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 elevenlabs-sound-music

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fcsouza/agent-skills/elevenlabs-sound-music"><img src="https://agentmods.dev/badge/skills/fcsouza/agent-skills/elevenlabs-sound-music.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,290 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 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.00123 $0.02290
Opus 5.5 $0.00049 $0.00916
Sonnet 5.5 $0.00025 $0.00458
Haiku 4.5 $0.00012 $0.00229

Measured today against content hash d09043b2cf97, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

elevenlabs-sound-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 today.

The scan reads SKILL.md. This mod also ships 4 executable files (boilerplate/audio-manager.ts, boilerplate/elevenlabs-audio.ts, boilerplate/lyria-client.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/elevenlabs-sound-music/SKILL.md · 160 lines

How it starts

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

Game Audio with ElevenLabs and Lyria

Generate audio assets offline with the vendor SDKs, then play them through one state machine that the game drives.

Choose the provider

Asset Use Model id (set explicitly)
Pre-recorded dialogue ElevenLabs Text to Speech eleven_multilingual_v2
Lines generated while the player waits ElevenLabs Text to Speech eleven_flash_v2_5 (about 100 ms median latency)
Sound effects, ambient loops ElevenLabs Sound Effects, 0.5 to 30 s, loop: true for seamless ambience eleven_text_to_sound_v3
Music of any length (3 s to 10 min), optional vocals, section control through a composition plan ElevenLabs Music (paid plans only) music_v2_5
Instrumental clips of about 30 s, up to 4 variations per prompt, billed to Google Cloud Vertex AI Lyria 2 lyria-002

Lyria 3 is in preview on Vertex AI: lyria-3-pro-preview (up to 184 s, vocals, MP3) and lyria-3-clip-preview (30 s). It uses the interactions endpoint, not the predict call in boilerplate/lyria-client.ts. See https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/lyria/lyria-3.

ElevenLabs lists eleven_v4 under the Text to Dialogue API, which this skill does not cover.

Deprecated models

From https://elevenlabs.io/docs/overview/models#deprecated-models:

  • eleven_text_to_sound_v2 is removed on 2027-03-01. It is still the Sound Effects default when model_id is unset.
  • music_v1 is removed on 2027-01-31. It is still the Music default when model_id is unset.
  • eleven_turbo_v2_5 and eleven_turbo_v2 are deprecated in favour of the Flash models (no removal date given).

Procedure

  1. List the game's audio states and copy templates/sound-config.ts. Map each state to a music track, an optional ambient loop, and a crossfade time per transition.
  2. Write prompts from templates/prompt-catalog.md. Answer genre, mood, instruments, tempo and era in each music prompt.
  3. Generate the assets in a build script or on a server, never in the game client. The API keys stay out of the bundle.
  4. Save one manifest entry per accepted file: provider, model id, prompt, length, plan or seed. Without it you cannot regenerate a track.
  5. Lyria returns WAV. Convert it to a compressed format before shipping.
  6. In the client, create the AudioManager, call unlockMobile() at startup, call transition() on every game-state change, and preload() the tracks the next state is likely to need.

Read the full file on GitHub · 160 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today Changed · +1 lines d09043b2cf97
  2. 19d ago Changed · -77 lines · +68 tokens per session 8d7cea5ebe9f
  3. 3mo ago First seen · 236 lines · 55 tokens per session scan A 033e40a219e4

Subscribe to this mod's changes

elevenlabs-sound-music is a skill published in the GitHub repository fcsouza/agent-skills (29 stars, last pushed today), licensed MIT. It adds 123 tokens to every session and 2,290 once invoked, about $0.0005 per session on Opus 5.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

elevenlabs-sound-music compared with skills from other repositories

elevenlabs-sound-music next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
elevenlabs-sound-musicfcsouza/agent-skillsSkill29todayMITA123Claude Code
playtest-reportDonchitos/Claude-Code-Game-StudiosSkill42k24d agoMITA20Claude Code
godot-signals-groupsgamedev-skills/awesome-gamedev-agent-skillsSkill13k3d agoApache-2.0A93Claude Code
scenario-unreal-gameplayscenario-labs/skillsSkill4.7kyesterdayMITA121Claude Code
texture-workflowarjun988/blender-skillsSkill5.8k27d agoMITA41Claude Code
motionOpenDCAI/GameFactory-3ASkill1.6kyesterdayApache-2.0A0Claude Code, Codex
gamedev-shadersericrisco/rsc-harnessSkill707yesterdayMITA102Claude Code, Codex