pixel-export
Export sprite to PNG, GIF, or spritesheet with optional scaling
Create a new pixel art sprite with optional size and palette presets
> /plugin marketplace add willibrandon/pixel-plugin > /plugin install pixel-plugin@pixel-plugin
How it fires
How this command gets triggered: by you, by Claude, or both.
/pixel-newContext preview
What this command does when you run it.
Create a new pixel art sprite with optional size and palette presets
description: Create a new pixel art sprite with optional size and palette presets argument-hint: [size] [palette] allowed-tools: Read, Bash, mcp__aseprite__create_canvas, mcp__aseprite__set_palette
Creates a new pixel art sprite with optional presets for size and palette.
/pixel-new [size] [palette]
**size** (optional): Canvas dimensions or preset name
**palette** (optional): Color palette preset
/pixel-new → Creates 64x64 RGB canvas /pixel-new icon → Creates 32x32 RGB canvas /pixel-new gameboy gameboy → Creates 160x144 canvas with Game Boy 4-color palette /pixel-new 128x128 nes → Creates 128x128 canvas with NES palette /pixel-new tile retro → Creates 16x16 canvas with retro 16-color palette
Parse arguments from $ARGUMENTS: 1. Extract size argument (first arg) 2. Extract palette argument (second arg) 3. Map size preset to dimensions or parse WxH 4. Create canvas with mcp__aseprite__create_canvas 5. If palette specified, set palette with mcp__aseprite__set_palette 6. Confirm creation with sprite info
icon → 32x32 small → 48x48 medium → 64x64 large → 128x128 tile → 16x16 gameboy → 160x144 nes → 256x240
**retro** (16 colors):
**nes** (54 colors):
**gameboy** (4 colors):
**c64** (16 colors):
**cga** (4 colors):
**snes** (256 colors):
**custom**:
**Size validation:**
**Palette validation:**
**Invalid size:**
**Invalid palette:**
**Dimensions out of range:**
**Canvas creation fails:**
1. Parse $ARGUMENTS into size and palette 2. If no size, use default (64x64) 3. Map size preset to dimensions or parse WxH 4. Validate dimensions 5. Call mcp__aseprite__create_canvas with dimensions 6. If palette specified:
7. Get sprite info to confirm 8. Report success with canvas details
**Success with default:**
Created 64x64 RGB canvas. Ready for pixel art creation!
**Success with presets:**
Created 160x144 canvas with Game Boy palette (4 colors). Perfect for Game Boy-style sprites!
**Success with custom size and palette:**
Created 128x128 canvas with NES palette (54 colors). Canvas ready with retro NES colors!
Create, animate, and export pixel art using Aseprite through natural language and commands in Claude Code. Powered by pixel-mcp - a Model Context Protocol server for Aseprite.
Export sprite to PNG, GIF, or spritesheet with optional scaling
Manage sprite palettes - set, optimize, or load preset palettes