Hatch Pet Claude — Development skill for Claude Code
Claude Code skill for generating animated pixel art pet sprites.
How to install Hatch Pet Claude
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Win-Hao/hatch-pet-claude and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Hatch Pet Claude does
Claude Code skill for generating animated pixel art pet sprites. Adapted from OpenAI Codex hatch-pet with interactive setup, preview gate, and centroid alignment.
Alternatives in Development
- Agent Monitor — Claude Code Agent Team GUI Monitor - Tauri v2 + React + TypeScript macOS desktop app with pixel art office vie 50 ★
- Deskpet Firmware — A pixel desk pet that reacts to Claude Code over BLE, running on M5 Cardputer 35 ★
- Claude VS Codex — A 93-second pixel-art cartoon about Clawd and Codex, written entirely in code by Claude — one-shot, 1 user tur 19 ★
README
hatch-pet-claude
[English](README.en.md)
一个用于生成像素风动画宠物精灵图的 Claude Code 技能。输出兼容 Codex 格式的 1536x1872 精灵图集,支持多达 9 种动画状态。
基于 [OpenAI hatch-pet](https://github.com/openai/skills/tree/main/skills/.curated/hatch-pet) 改编,适配 Claude Code,支持任意 OpenAI 兼容的图片生成 API。
**⚠️ 重要:本技能仅对 GPT-Image-2 适配最好。** GPT-Image-2 是唯一能在一张图中精确绘制多个动画帧的模型。其他模型(Kling、DALL-E 3、Flux、Stable Diffusion 等)无法理解"水平排列 N 个角色帧"的指令,生成效果不可用。
 -green) 
示例
Homelander — pixel 风格,medium 质量
| 基准形象 | 精灵图集 |
|---|---|
![]() |
| idle | running | waving | failed |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Dark Knight — pixel 风格,low 质量(智能选色:自动从 magenta 切换到 cyan)
| 基准形象 | 精灵图集 |
|---|---|
![]() |
| idle | running | waving | failed |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
工作原理
pet.json → prepare.py → generate.py --preview → generate.py → extract.py → spritesheet.webp
(配置) (免费) (~¥0.3) (~¥3) (免费) (完成!)
- 你描述想要的宠物角色(可选提供参考图)
- Claude 引导你选择风格、质量、动画状态、配置 API
- 预览生成 1 张基准图供你确认(medium 质量约 ¥0.3)
- **批量生成
Related Skills
Pixel Pet
An animated pixel-art pet for Claude Code that reacts to your session and evolves as you code.
Herdr Pixel Spaces
A pixel-art sidebar for the Herdr app: 8x8 sprites for spaces and the Go to picker, 9x9 pixel icons for Claude
Claude Desktop Mods
Unofficial mods for the Code tab of Claude Desktop — usage-pet: a usage band with Clawd, an animated pixel pet
Duck Pet Claude
A pixel art desktop duck with a built-in Claude Code terminal
Nibble
A pixel art pet that lives above your Claude Code prompt, feeds on your code and shows your session usage
Claude Buddy
🐾 A pixel-art desktop pet for your Claude Code sessions: browse, search and read every local session, keep ch
Related Agents
Art Lead
Pixel art team lead. Use when generating, managing, or organizing game art assets via PixelLab. Handles charac
Image Generator
Generates and edits images using the OpenAI Image API via the bundled CLI (scripts/image_gen.py). Use for conc
Art Reviewer
Fresh-eyes critique of rendered pixel art. Use after a sprite is drawn, to give a blunt checklist review of th









