/nmg-game-dev:generate-audiofrom nmg-game-dev
Use whenever you generate ElevenLabs sound effects, music, or speech for a game, even for casual requests like "make a door creak" or "I need a battle theme". It runs exactly one take through the ElevenLabs MCP, keeps music instrumental unless vocals with lyrics are requested, builds the prompt only from the request and the design docs, and imports the result with import_audio.
Ships in nmg-game-dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generates one sound effect, music track, or speech clip through the official ElevenLabs MCP and
imports the saved file into the game with import_audio. Every ElevenLabs audio generation runs
through this skill. The generate_audio_guard PreToolUse hook covers creative_generate_speech and
every audio node type of creative_generate_in_flow (step 5 lists them). It denies any such call
whose generations_count is not the integer 1, and it points the agent here once per session. The
consumer reference is docs/mcp/elevenlabs.md.
Run these steps in order. Do not generate until steps 1 to 4 are settled.
docs/design/systems/audio.md. The request and that entry are the only
sources for the prompt.creative_get_model_guide for the model you will use, and
creative_get_model_schema for its parameters. For speech, take the voice_id from
creative_list_voices or from the request. Never invent one.creative_get_model_schema names, before generating. Music models sing unless told not to. Keep
it set unless the developer explicitly asked for vocals and supplied lyrics. When vocals are
requested, pass only the developer's lyrics, unchanged, and add no lyric of your own.generations_count: 1 on every audio generation call. Never generate several
takes to choose from. The generation tools default to several takes per call, and the hook
denies every other value. The creative_generate_in_flow node types that produce audio are
tts, sfx, music, dubbing-audio, voice-changer, voice-isolator, audio-effects,
video-to-music, and composition. Pass generations_count: 1 on the call for each of them,
the same as on creative_generate_speech. Each take is a paid generation, so a call left at the
default take count spends several takes' credits.creative_get_flow_run_status with
the returned flow_id and session ids. Wait the poll_after_seconds the call returns between
polls, until the run reports all_completed or has_failures.import_audio with a PascalCase
name, kind set to sfx for sound effects or music for music, and loop: true when the
brief asks for a looping sound or track. import_audio has no speech kind, so import a speech
clip as sfx. Report the returned godot_asset path. If the result also has a
refresh_warning, report its message and remediation to the developer, and say the sound is
still imported: only the Audio name tables were not refreshed.generations_count is missing or is not 1: set
generations_count: 1 on that call and retry it once. If the retry is denied too, stop and
report the denial text. Do not try other values.creative_get_flow_run_status reports has_failures: report the failed run. Do not start
another generation to retry it. Each generation spends the developer's credits, so a retry needs
their go-ahead.import_audio returns audio.invalid_request: the name is not PascalCase, the kind is not sfx
or music, or the file does not exist. Fix the input and call it again.import_audio returns the godot.not_found warning: the WAV is stored but Godot did not import
it. Report the warning. Once Godot is installed, call import_audio again with the same file,
name, and kind: the bytes match the stored WAV, so the call re-finishes the sound with its stored
settings and imports it. A different file under that name stops at audio.asset_exists.import_audio returns a refresh_warning (audio.backlog_invalid, audio.table_unreadable,
audio.table_unwritable, or audio.duplicate_sound): the sound was imported, but the Audio name
tables were not refreshed. Report the refresh_warning remediation to the developer and say the
sound is still imported. After they fix the cause, call refresh_audio_table. Do not import the
sound again.The contract tests are tests/unit/test_generate_audio_skill.py, which checks the frontmatter and
the Flow rules, and tests/bdd/test_generate_audio_bdd.py, which runs the hook and skill scenarios
in tests/bdd/features/generate_audio.feature. The guarded node types are covered by
tests/bdd/features/generate_audio_node_types.feature, run by
tests/bdd/test_generate_audio_node_types_bdd.py. The hook is hooks/generate_audio_guard.py.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
nmg-game-dev@nmg-plugins is listed by nunley-media-group/nmg-plugins — review the source before installing
npx claudepluginhub nunley-media-group/nmg-plugins --plugin nmg-game-dev7 skills in this plugin
/convert-to-godotConvert an Unreal-based consumer project to Godot 4 in one command: onboard game/, re-finalize every asset from its Blender source, import the audio, re-scaffold the design backlog, swap the Unreal hooks, and delete the Unreal files only after everything converts./designSync the game's docs/design markdown into a backlog, then scaffold its regions, missions, and systems as Godot files/finalize-assetFinalize a collection you authored in Blender into Desktop and Mobile variants imported into Godot/model-assetUse whenever you create or change an asset's geometry or materials in Blender. It models the asset freeform through the Blender MCP with a plan, blockout, spatial inspection, multi-view review, and fix loop/onboard-consumerOnboard a game project to nmg-game-dev: the Godot project in game/ with the nmg_game_dev add-on and export presets, the Blender start script and hook, the Blender add-on, local texture models, and the contracts. Idempotent; re-runs report drift./shipGate, export, sign, notarize, and package the consumer's Godot project into per-platform artifacts under release/