hatch-pet

Generate Codex-compatible animated pet spritesheets from art references.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/Canepro/codex-skills --skill hatch-pet-canepro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hatch-pet
Source: https://github.com/Canepro/codex-skills/tree/main/skills/hatch-pet
Command: npx skills add https://github.com/Canepro/codex-skills --skill hatch-pet-canepro

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Pillow, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Create, repair, validate, preview, and package Codex-compatible animated pet spritesheets from character art, screenshots, generated images, or visual references.

Core Features & Use Cases

  • Generates a full Codex-compatible sprite atlas (192x208 cells, 8x9 grid) from base art, references, or prompts.
  • Supports deterministic, script-driven assembly and QA-ready packaging for Codex pets.
  • Use case: Design a custom Codex pet from a concept image and reference sheets, then export pet.json and spritesheet.webp for embedding in the Codex app.

Quick Start

Provide a reference concept or images and run the hatch-pet workflow to generate and package a Codex-ready pet spritesheet.

Frequently Asked Questions about hatch-pet

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Codex-compatible animated pet spritesheet from base art?

To create a Codex-compatible animated pet spritesheet, provide reference concept images or generated art to run a script-driven assembly workflow. This generates a full 192x208 cell sprite atlas in an 8x9 grid layout, enforcing deterministic prompts and strict transparency rules for a ready-to-ship asset.

What is the expected grid layout and cell size for Codex pet sprite atlases?

Codex pet sprite atlases require a specific grid layout of 8x9 cells, with each cell measuring 192x208 pixels. This strict format ensures consistent pet identity across frames and compatibility with the Codex app's expected directory structure.

How do I package and validate pixel art spritesheets for Codex apps?

You package and validate pixel art spritesheets by running a script-driven workflow that assembles the final pet package. It outputs a pet.json file and a spritesheet.webp file, applying strict transparency rules and deterministic QA-ready packaging under Codex's expected directory layout.

Can I use generated images or screenshots to build a Codex pet sprite atlas?

Yes, you can use generated images, screenshots, character art, or visual references to build a Codex pet sprite atlas. The workflow automates creation, verification, and packaging from these inputs to ensure deterministic and consistent pet identity across animation frames.

Does the Codex pet spritesheet workflow require specific Python dependencies?

The Codex pet spritesheet workflow requires the Pillow Python library to process images and assemble the final atlas. This dependency handles the strict transparency rules and image manipulation needed to export the spritesheet.webp file.

Why does my Codex pet spritesheet fail validation when exporting?

Codex pet spritesheet validation fails when strict transparency rules or the 192x208 cell grid layout are not met. The script-driven workflow enforces these deterministic constraints to guarantee the final pet.json and spritesheet.webp files are QA-ready for Codex embedding.