/summer:pixel-artfrom Summer Engine
Generates pixel-art sprites, items, tiles, icons, and portraits at fixed resolutions (16×16 to 128×128) with limited palettes. Enforces grid alignment and nearest-neighbor filtering for authentic pixel look.
Ships in Summer Engine. 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.
Read when SKILL.md points to them.
This skill generates pixel-art sprites, items, tiles, icons and portraits at a target resolution (32×32, 64×64, 128×128). Pixel art has hard constraints (grid alignment, limited palette, no anti-aliased edges) that diffusion models break by default. The prompt patterns and post-processing below make the output read as pixel art instead of a blurry small image.
Backing operation: assets.generate_image with an explicit pixel-art prompt.
Two things about that operation you have to know before writing a call:
"pixel" style preset. style accepts exactly realistic, cartoon, anime, none; anything else is coerced to none. Only cartoon and anime do anything at all (they append a short suffix); realistic and none append nothing. So style: "pixel" is identical to style: "none" — the pixel look has to come entirely from the prompt. Use style: "none".options object and no negative prompt. Shape is aspectRatio (1:1 default, right for sprites and tiles), a minimum size is width + height, and seed repeats a look on Nano Banana models. Exclusions go in the prompt text. The model renders far above the pixel grid either way; the target resolution comes from the downscale below.Pixel-perfect output is enforced in Summer Engine with Nearest texture filtering and by downscaling to the target resolution after generation.
character-portrait.sprite-sheet (pixel art is harder for sprite sheets — read that skill's caveats).tileable-texture.Ask the user (or read .summer/GameSoul.md):
Write to .summer/pixel-anchor.md so the rest of the cast/tileset stays consistent:
## Pixel anchor
base resolution: 32x32 per sprite
palette: PICO-8 16-color
outline: hard 1px dark outline (NOT pure black — use the palette's darkest color)
shading: 3-tone (light, mid, shadow), no gradients, no AA
assets.search({ query: "<subject> pixel", assetType: "2d_image", scope: "all" })
Pattern:
pixel art <subject>, <resolution>, <palette>, <outline rule>, <shading rule>, no anti-aliasing, no blur, sharp pixel edges, transparent background
The model can't actually generate at 32×32 — it generates at 1024×1024 with pixel-art style. You then downscale to the target resolution post-import for crisp pixels.
assets.generate_image({
prompt: "pixel art slime monster, 32x32 sprite, PICO-8 palette, hard 1px outline in palette's darkest color, 3-tone shading, no anti-aliasing, no blur, sharp pixel edges, front-facing. Not blurry, no smooth gradients, no soft edges, not photorealistic, no 3D render.",
model: "nano-banana-2",
style: "none",
removeBackground: true
})
Two deliberate choices there:
negative_prompt argument. Diffusion models honor in-prompt negations less reliably than a real negative-prompt field, so state them as plain sentences at the end and expect to regenerate more often than you would on a provider UI that exposes the field.removeBackground: true is its own argument. It runs a background-removal pass after generation and returns a PNG with true alpha. Prefer it over asking for "transparent background" in the prompt, which makes models paint a literal checkerboard.The generated image is 1024×1024 pixel-style. To get true crisp pixels at 32×32:
Filter: Nearest (no smoothing).Project Settings → Rendering → Textures → Default Texture Filter: Nearest if the entire game is pixel art. This disables
bilinear smoothing project-wide.summer_import_from_url(url="<fileUrl>", path="res://sprites/slime.png")
For a Sprite2D:
summer_set_prop(
scenePath="res://main.tscn",
path="./Slime/Sprite2D",
key="texture",
value="res://sprites/slime.png"
)
texture is a property on the node, so it is summer_set_prop. summer_set_resource_property is for reaching inside a resource the node already holds (mesh size, material albedo) and needs all five of scenePath, nodePath, resourceProperty, subProperty, value — there is no two-argument form.
Confirm Filter: Nearest is set in the import dock OR project-wide.
| Goal | Prompt that works | Why |
|---|---|---|
| Item icon (32×32) | pixel art iron sword icon, 32x32, NES palette, hard outline, 3-tone shading, no AA, sharp edges, transparent background, three-quarter view | Three-quarter view reads better than pure side at 32px |
| Character sprite (64×64) | pixel art knight character sprite, 64x64, PICO-8 palette, hard 1px outline, 3-tone shading, front-facing idle pose, no AA, sharp edges, transparent background | Specifying "idle pose" prevents action poses that don't tile into a sheet |
| Pixel portrait (128×128) | pixel art portrait of a young witch, 128x128, custom muted fantasy palette, hard outline, 4-tone shading, bust framing, looking forward, no AA, no blur, transparent background | Higher resolution allows 4-tone shading; 32px is too small for that |
| Tileset (16×16/tile) | pixel art top-down tileset, grass-to-dirt transition, 16x16 per tile, 3x3 grid layout, NES palette, hard outline between tiles, 3-tone shading, no AA, sharp edges | Tilesets render best in a labeled grid layout |
| Background object (64×64) | pixel art mossy boulder, 64x64, fantasy palette, hard outline, 3-tone shading, no AA, transparent background, three-quarter view | Background props benefit from three-quarter for depth |
| GB-style asset (Game Boy) | pixel art skeleton enemy, 32x32, Game Boy 4-color green palette (#0f380f, #306230, #8bac0f, #9bbc0f), hard 1px outline, 2-tone shading, no AA | Naming the 4 hex codes locks the palette |
| Bad | Failure mode |
|---|---|
8-bit sword | "8-bit" is interpreted loosely. Returns a smooth render of a sword with vague pixel feel. Specify resolution + palette + "no AA" explicitly. |
pixel art knight, photorealistic | Conflicting directives. Model averages and gives you neither. |
pixel art at 32x32 with no negations | Model adds soft edges and gradient shading. Always spell out "no anti-aliasing, no blur, no smooth gradients" in the prompt itself — there is no negative-prompt argument to fall back on. |
pixel sprite walk cycle | Walk cycles need consistent frames — single-prompt sprite sheets fail. Route to sprite-sheet. |
cute pixel art | "Cute" without subject is undefined. Specify what. |
Filter: Nearest so the up-rendering doesn't smooth.Filter: Nearest. The default texture filtering is bilinear. Set
Nearest on import or project-wide for pixel art.negative_prompt or image_size. Neither exists on assets.generate_image, and a field it does not list does nothing, so the call looks like it worked and the output is off-style. Negations go in the prompt text; shape is aspectRatio, a minimum size width + height.sprite-sheet.referenceImageUrl. For more than 2-3 frames, route to sprite-sheet (and read its caveats).Project Settings → Rendering → Textures → Default Texture Filter: Nearest once. Saves you from re-setting it on every import.character-portrait with a "pixel art aesthetic" prompt — not this skill.In a session without Summer Engine tools (the assets profile; the summer-assets skill has the whole loop), do steps 1-5 and skip step 6 (import and wiring). In step 5, downscale with nearest-neighbour in an image editor; the engine settings there do not apply. Pass out with the person's folder so the PNG lands there (the summer-assets skill says how), and tell them to turn texture filtering off in their engine.
Print the call:
assets.generate_image({
prompt: "<pixel art prompt with full anchor>. Not blurry, no smooth gradients, no anti-aliasing.",
model: "nano-banana-2",
style: "none",
removeBackground: true
})
The Summer dashboard also exposes a negative-prompt control — if the user is running it there, tell them to set square + a real negative prompt.
Tell the user to run via the Summer dashboard, downscale in Aseprite/GIMP to true target resolution with nearest-neighbor, then summer_import_from_url (or drop into res://sprites/) and set Filter: Nearest.
If MCP is offline entirely: open Aseprite or Piskel and hand-author the asset. For pixel art at small resolutions, hand-authoring is often faster than fixing a generation.
After the asset is wired:
sprite-sheet with the base sprite as anchor.scene-composition for TileMap / TileMapLayer wiring.sprite-sheet — animated pixel frames.character-portrait — high-res counterpart.asset-strategy — meta-router.summer_docs_read id reference/mcp-tools-reference — how to call assets.generate_image.No Summer MCP tools in this session? Run each one as a command; when summer --version is missing or below 4.0, use npx -y summer-engine@latest in place of summer. Fields are flags in kebab-case (--scene-path res://main.tscn) or one --input '<json>', and summer ops describe <op> prints the exact input. The summer-cli skill has the rest.
| In this skill | Command |
|---|---|
assets.generate_image, summer_assets_generate_image | summer assets generate-image |
summer_assets_search | summer assets search |
summer_docs_read | summer docs read |
summer_import_from_url | summer engine import-from-url |
summer_set_prop | summer engine set-prop |
summer_set_resource_property | summer engine set-resource-property |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub summerengine/summer --plugin summer123 skills in this plugin
/3d-lightingLight a 3D scene: sun, omni and spot lights, WorldEnvironment, sky, shadows and ambient./adaptive-musicWire music stems to game state: combat, explore, boss and tension crossfades on a shared bus./agent-playtestingPlaytest by driving the live game: deterministic launch, frame-stamped probes, scripted or recorded input./ambient-bedGenerate a long looping location ambience (forest, dungeon, city, cave) on the Ambient bus.Other plugins' skills for the same job