/layer:layer-audiofrom Layer
Generates sound effects, music, and text-to-speech audio via Layer. Guides prompt structure for game-ready SFX, background music with loop/instrumental flags, and voice-over narration.
Ships in Layer. 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.
Three distinct use cases with almost nothing in common: sound_effects, music, and
text_to_speech. Pick one, then write the prompt the way that discipline expects. The loop and the
spend gate are in the layer skill.
If a sibling skill named here is missing from your available skills, ask the user to install it
(npx skills add layerai/skills --skill <name>); unattended, proceed from tool schemas and flag the
gap.
Describe the physical event, not the feeling. What object, made of what, doing what, at what scale, in what space. "Heavy oak door, iron hinges, swinging open slowly with a low groan, then a dull thud against stone" is a sound. "Scary door sound" is a mood board.
Three things decide whether a game-ready effect is usable:
For UI sound sets, generate each state separately and name the shared character once in every prompt, so the confirm, cancel, and hover sounds read as one family.
Name genre, instrumentation, tempo, mood, and function. Function is the one people leave out and the one that matters most: a menu loop, a combat layer, a boss intro, and a credits piece are written differently even in the same style.
Say what the track should not do. Background music for a game should not have an arresting melodic hook competing with dialogue, and stating "sparse, no lead melody, sits under voice" gets there faster than three rerolls.
Flags beat prose. Two outcomes are only guaranteed by a flag, so filter for the capability and set it on the run:
instrumental: true (capability instrumental). "Instrumental" in the prompt is a
suggestion. Set it for background music and for anything that loops.loop: true (capability loop), so the provider composes the clip to repeat.
Asking for a loop in the prompt does not make one. Pair it with fixed_duration when the loop must
land on an exact length, and keep the arrangement steady rather than building to a climax.Sung words go in lyrics, separate from the prompt, with [verse] and [chorus] tags on their own
lines. output_format takes only a container the model lists under output_formats; Layer never
re-encodes, so asking for another fails the run.
When the shape matters (quiet intro, percussion only from the second section, a swell into the boss
phase), require the composition_plan capability and pass a plan instead of narrating the arc. The
split is the craft: the plan's own positive_styles and negative_styles hold for the whole track
(genre, era, production, palette), and each section carries only what changes there. A section's
negative_styles are the only way to keep it empty of something the rest of the track has. Sections
run 3 to 120 seconds, at most 30 of them, 3 seconds to 10 minutes in total.
A plan supersedes prompt, duration_seconds and instrumental, which are dropped. When the user
also gave a prompt, say that it was folded into the plan's styles rather than sent.
On a model reporting audio_segments, score a video stretch by stretch: each segment has a
start_seconds, end_seconds and prompt, and together they must tile the scored part with no gaps
and no overlaps, each end being the next start. Cut the segments on the picture's own changes.
Filter for text_to_speech. Send the script clean, with real punctuation, since models take commas
and full stops as pacing. Spell out anything ambiguous: a number, an acronym, or an invented fantasy
name will otherwise be read the model's way, and "Aelthyr" needs a phonetic respelling if it must be
said consistently across a cast.
Direct the delivery separately from the words: pace, energy, age, accent, emotional register. Keep one voice per character and reuse the same voice selection across the project, since a voice that drifts between lines is more noticeable than one that is merely wrong.
Generate long narration in paragraph-sized chunks rather than one call. A single bad word in a four-minute take costs the whole take.
"We need a sword-unsheathe effect for the inventory screen."
list_base_models with filter.use_case: "sound_effects". Take the first result, then
get_base_model for its length and format fields.estimate_forge_price, then execute with batch_size high enough to choose from, since audio
runs are cheap and the take-to-take variation is large.poll_interval_seconds, then audition the results before delivering rather than passing
on the first file.instrumental or loop.composition_plan.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
audio-generation, sound-effects, music, text-to-speech, game-audio
npx claudepluginhub layerai/skills --plugin layer32 skills in this plugin
/layerUse when generating or editing game and entertainment assets on Layer through MCP: images, video, 3D meshes, audio, sprites, textures, or marketing creative. Also when choosing a Layer base model, pricing a run in Creative Units before spending them, uploading reference files, polling a generation, applying a trained style, or recovering from MODEL_NOT_FOUND, INSUFFICIENT_BALANCE, RATE_LIMITED, or a silently degraded reference set./layer-3dUse when producing 3D assets with Layer: generating a mesh from text or an image, retopologising or remeshing, retexturing an existing mesh, rigging a character, or animating a rigged mesh. Also when choosing between quad and triangle output, setting a polygon budget, or asking for PBR textures for a game engine. Keywords: 3D, mesh, model, text to 3D, image to 3D, remesh, retopology, retexture, rig, skeleton, animate, PBR, quad mesh, poly count, glTF, FBX./layer-art-directionOther plugins' skills for the same job