sprite-decompose

Installation
SKILL.md

Sprite Decompose

Turn a many-illustration raster into transparent, tightly trimmed sprite PNGs while keeping semantic grouping under deliberate visual review.

Ownership Boundary

Use this skill when the input already contains multiple logical illustrations that must become separate files. Use a generation workflow to create new artwork, a background-removal workflow for one standalone image, or an atlas-packing workflow to combine existing files.

The workflow separates judgment from deterministic work:

  • Codex's own image analysis chooses logical regions, names, and grouping decisions.
  • scripts/sprite_decompose.py fits the background, creates alpha, cleans components, trims exact transparent edges, writes the PNGs and manifest, then verifies them.

Do not use third-party vision analysis services. Local Pillow and NumPy processing is the deterministic implementation, not a semantic detector.

Workflow

1. Inspect and classify the source

Installs
9
GitHub Stars
37
First Seen
Jul 20, 2026
sprite-decompose — jpcaparas/skills