/layer:layer-game-assetsfrom Layer
Produces in-game characters and props with Layer: heroes, NPCs, enemies, bosses, mascots, creatures, items, and props. Ensures cast consistency, shared canvas size/ground line, and rig-ready sprite parts for skeletal animation.
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.
Game art differs from illustration in one way that governs everything: it has to sit in a system. A character shares a cast, a prop shares a set. A beautiful asset that does not match its neighbours is a defect.
Generation mechanics are in the layer skill and prompt craft is in layer-image. This skill covers
characters, casts, props, and rig-ready parts. Backgrounds and parallax are in layer-environments,
buttons, panels and icons in layer-game-ui, isometric and hex tiles in layer-tilesets, pixel art
in layer-pixel-art, and tiling surfaces in layer-textures.
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.
| Need | How |
|---|---|
| A cast that holds its design | Approved anchor attached as reference_image, model filtered for image_editing |
| A cast that grows for months | Train a reference set (layer-reference-sets) |
| Isolated sprite or prop | Prompt a flat solid background and set remove_background: true |
| A set sharing one size and ground | output_fit: {canvas: "FIXED", width, height, anchor: "BOTTOM_CENTER"} |
| Another angle of an approved one | camera on a multi_angle model (layer-image-editing) |
| Parts for Spine | Neutral, limbs-apart pose, then split_into_layers (layer-image-editing) |
A character prompt must name the role before the look. An enemy grunt, a shopkeeper, and a raid boss are read differently by players, and silhouette carries that read before any detail does. State silhouette explicitly: bulk, stance, and the one shape that identifies them at a glance.
Then pin the production terms a prompt cannot leave to chance: full body or portrait, view (front, three-quarter, side), background treatment, and whether the pose is neutral for reference or dynamic for key art.
A cast is the hard part. Writing the same adjectives twice does not produce the same character, and seeds do not carry across prompts. Two things work:
reference_image, filtering for image_editing, which is the capability for art that must
reproduce a provided subject. style_reference transfers a look only and will not keep the
character, which is the usual reason an anchored cast still drifts.layer-reference-sets.The first is right for a handful of assets this week. The second is right for a live game.
Anything the engine composites needs a clean edge. A prompt asking for a transparent background is
not a transparency setting, and can come back as a painted checkerboard. Ask for a flat solid colour and set
remove_background: true, which chains Layer's background removal onto every output as its own
billed run (a model with native transparency returns its own alpha instead). Pass it to the estimate
too.
A set must also share a size. Set output_fit with canvas: "FIXED", the delivery width and
height, and anchor: "BOTTOM_CENTER", so every sprite stands on the same point of the same canvas
and the engine needs no per-asset offsets. Use trim: true instead when each asset should be cropped
to its own bounds.
Hold a prop set together by naming its shared grammar in every prompt: view angle, outline weight, palette, material finish, and scale against a reference object ("a sword about as long as the hero is tall").
A character destined for Spine or a skeletal rig needs its parts separable. Generate the character
in a neutral, limbs-apart pose so no part occludes another, on a flat background, then separate the
parts with layer-image-editing using split_into_layers.
Occlusion is the thing to get right up front: a crossed arm or a cloak covering the torso means the hidden geometry does not exist in any layer, and no amount of splitting recovers it. Say "arms clear of the body, legs apart, cape swept behind and clear of the torso" in the prompt.
"Three shopkeeper NPCs matching our approved hero, delivered as sprites at one size."
file_id from its original run.list_base_models with filter.use_case: "text_to_image" and
filter.capabilities: {image_editing: true} (an object of booleans, not a list of names). Take
the first result.reference_image, sets remove_background: true and
output_fit: {canvas: "FIXED", width: 1024, height: 1024, anchor: "BOTTOM_CENTER"}, and puts role
and silhouette first: "Village blacksmith shopkeeper NPC, broad and short, heavy leather apron,
arms folded. Full body, three-quarter front view, neutral standing pose, same rendering, line
weight and palette as the reference. Flat solid grey background."estimate_forge_price times three prices the job.
Above 20 CUs, show the total and wait for an explicit yes.poll_interval_seconds, and review the three side by side at in-game scale
against the hero, not one at a time at full size.style_reference to hold a character; it carries the look, not the design.remove_background.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
game-art, character-design, sprite-generation, cast-consistency, rigging
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-directionUse when a Layer brief needs a direction before generating at volume: exploring a look with a moodboard, choosing between visual directions, storyboarding an ad, trailer or cutscene, pinning a colour palette, naming a style or era precisely, or framing a scene. Also when a brief is vague or generations keep missing an unstated intent. Keywords: art direction, moodboard, style exploration, storyboard, panels, beats, palette, composition, framing, era, reference./layer-audioUse when generating audio with Layer: sound effects for a game or trailer, music and background tracks, or speech and voice-over from text. Also when a sound effect comes back with unwanted ambience or reverb, when a music prompt needs structure or length control, or when choosing a voice and delivery for narration. Keywords: SFX, sound effect, foley, UI sound, music, soundtrack, loop, text to speech, TTS, voice over, narration./layer-environmentsUse when producing game environments with Layer: background and environment concept art, a side-scroller parallax background split into scrolling layers, a 360 skybox or panorama, or a generated world. Also when parallax layers do not line up or loop, when a background is too busy to read gameplay against, or when exporting layers to Godot or Unity. Keywords: environment, background, parallax, layers, side-scroller, platformer, skybox, 360, equirectangular, panorama, world./layer-game-uiUse when making game UI with Layer: buttons, panels, frames, dialogue boxes, tabs, tooltips, HUD elements, ability and inventory icons, currency symbols, or card and badge plates. Also when a button must stretch to any width without distorting its corners, when a UI kit must import into Unity, Godot or CSS, or when an icon set must read at 64px and match approved icons. Keywords: game UI, 9-slice, nine-slice, UI kit, button, panel, frame, HUD, icon set, NinePatch, border-image.Other plugins' skills for the same job