pixel-new

A command for creating a new pixel-art canvas with a chosen size and color palette.

In plain words
What is it for?
It helps start icons, sprites, tiles, and Game Boy- or NES-sized artwork using built-in or custom palette presets.
Why use it?
It avoids repeatedly setting up common canvas dimensions and color limits by hand.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/willibrandon/pixel-plugin/pixel-new
Clone the repo
git clone --depth 1 https://github.com/willibrandon/pixel-plugin
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,332 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00012 $0.01332
Opus 5 $0.00006 $0.00666
Sonnet 5 $0.00002 $0.00266
Haiku 4.5 $0.00001 $0.00133

Measured yesterday against content hash 6aa3e0ab3fdb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pixel-new scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/pixel-new.md · 191 lines

How it starts

The opening of the file, as written. The whole thing — 191 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/pixel-new - Quick Sprite Creation

Creates a new pixel art sprite with optional presets for size and palette.

Usage

/pixel-new [size] [palette]

Arguments

size (optional): Canvas dimensions or preset name

  • Presets: icon, small, medium, large, tile, gameboy, nes
  • Custom: WIDTHxHEIGHT (e.g., 64x64, 128x96)
  • Default: 64x64

palette (optional): Color palette preset

  • retro, nes, gameboy, c64, cga, snes, custom
  • Default: RGB (no palette limit)

Examples

/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

Size Presets

  • icon: 32x32 (for icons, small sprites)
  • small: 48x48 (characters, items)
  • medium: 64x64 (default, versatile)
  • large: 128x128 (detailed sprites, portraits)
  • tile: 16x16 (tilemap tiles)
  • gameboy: 160x144 (Game Boy screen resolution)
  • nes: 256x240 (NES screen resolution)

Palette Presets

  • retro: 16-color palette (generic retro aesthetic)
  • nes: 54-color NES palette
  • gameboy: 4-color Game Boy palette (#0f380f, #306230, #8bac0f, #9bbc0f)
  • c64: 16-color Commodore 64 palette
  • cga: 4-color CGA palette
  • snes: 256-color SNES-style palette
  • custom: Prompts for custom palette colors

Implementation

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

Size Preset Mapping

icon     → 32x32
small    → 48x48
medium   → 64x64
large    → 128x128
tile     → 16x16
gameboy  → 160x144
nes      → 256x240

Palette Details

retro (16 colors):

  • Generic retro palette with balanced colors
  • Good for general pixel art without console constraints

Read the full file on GitHub · 191 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 191 lines · 0 tokens per session scan A 6aa3e0ab3fdb

Subscribe to this mod's changes

pixel-new is a command published in the GitHub repository willibrandon/pixel-plugin (302 stars, last pushed 10mo ago), licensed MIT. It adds 12 tokens to every session and 1,332 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.