sprite-design

sprite-design is a skill for Claude Code, Codex from danicat/skills. It costs 79 tokens per session (3,857 once invoked), scanned A, original, Apache-2.0.

A toolkit for creating and preparing 2D game sprites, tile sets, and animation frames for Ebitengine, a Go game engine. It covers image preparation, sprite file formats, procedural sprites, and visual checks.

In plain words
What is it for?
Use it to prepare character sheets, tile sets, animated sprite containers, and procedural sprites, then integrate them into an Ebitengine game.
Why use it?
It gives a defined process for turning character artwork or procedural rules into assets that a 2D game can use.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to prepare character sheets, tile sets, animated sprite containers, and procedural sprites, then integrate them into an Ebitengine game.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/danicat/skills/sprite-design
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.

Any agent
npx skills add danicat/skills --skill sprite-design
Clone the repo
git clone --depth 1 https://github.com/danicat/skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sprite-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/danicat/skills/sprite-design/github.svg)](https://agentmods.dev/skills/danicat/skills/sprite-design)
Your own site
<a href="https://agentmods.dev/skills/danicat/skills/sprite-design"><img src="https://agentmods.dev/badge/skills/danicat/skills/sprite-design/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sprite-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/danicat/skills/sprite-design"><img src="https://agentmods.dev/badge/skills/danicat/skills/sprite-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,857 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00079 $0.03857
Opus 5.5 $0.00032 $0.01543
Sonnet 5.5 $0.00016 $0.00771
Haiku 4.5 $0.00008 $0.00386

Measured 12d ago against content hash 3baf2565fb9f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sprite-design 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 12d ago.

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.

game-dev/sprite-design/SKILL.md · 276 lines

How it starts

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

2D sprite design, normalization, and frame animation

sprite-design turns character designs and procedural rules into game-ready 2D sprite containers (.sprite, .aseprite, .png, and .json) and drives them at 60 FPS in Ebitengine without heap allocations in Draw().


Companion skills

Skill Role in the sprite pipeline
vibe-game-developer Orchestrates end-to-end game builds and delegates character and tileset production to sprite-design.
game-design Defines player mechanics, animation tag budgets, hitbox timing, and camera projection before sprite creation.
nano-banana Generates the Step 1 character reference sheet and raw Step 2 4x4 chroma-key grids for normalize.
ebitengineer Integrates GridSpriteSheet and AnimationController into the fixed 60 TPS Update() loop and camera GeoM pipeline.

Available scripts

Run CLI commands from the skill root (go run ./scripts <command> ...) or change into scripts/ when working inside the Go module:

  • scripts/sprite.go: .sprite parser (LoadSpriteFile, ParseSpriteDSL), procedural SDF compiler (CompileSprite), sheet normalizer (NormalizeMultiSpriteSheets), visual QA validator (ValidateSprite), and Ebitengine GridSpriteSheet / AnimationController.
  • scripts/aseprite.go: Binary .aseprite v1.3 importer/exporter (ImportAseprite, ExportAseprite), PNG/JSON exporter (ExportPNGSheet), and palette ramp extractor (ExtractPaletteRamps).
  • scripts/play.go: CLI runner (validate, normalize, export, extract-palette, inspect-json, synth-json).
  • scripts/sprite_test.go: Unit tests covering premultiplied RGBA math, palettes, SDF primitives, container round-trips, and controller lifecycles.
  • scripts/slime_familiar.sprite: Sample procedural SDF sprite for testing zero-argument go run . validate.

Read the full file on GitHub · 276 lines

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 276 lines · 79 tokens per session scan A 3baf2565fb9f

Subscribe to this mod's changes

sprite-design is a skill published in the GitHub repository danicat/skills (25 stars, last pushed 3d ago), licensed Apache-2.0. It adds 79 tokens to every session and 3,857 once invoked, about $0.0003 per session on Opus 5.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-11-18.

Related

sprite-design compared with skills from other repositories

sprite-design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sprite-designdanicat/skillsSkill253d agoApache-2.0A79Claude Code, Codex
unreal-gameplay-ability-systemmakifbaysal/tasktrooperSkill123todayApache-2.0A71Claude Code, Codex
game-asset-pipelinemakifbaysal/tasktrooperSkill123todayApache-2.0A64Claude Code, Codex
game-input-and-accessibilitymakifbaysal/tasktrooperSkill123todayApache-2.0A59Claude Code, Codex
game-loop-and-timemakifbaysal/tasktrooperSkill123todayApache-2.0A50Claude Code, Codex
game-state-machines-and-aimakifbaysal/tasktrooperSkill123todayApache-2.0A53Claude Code, Codex
web-3d-threejs-babylonmakifbaysal/tasktrooperSkill123todayApache-2.0A90Claude Code, Codex