hatch-pet
Skill0 starsChanged 3 months agoMITView on GitHub
Create a new animated desktop pet for the Claude Code overlay, or import an existing one. Use when the user asks to hatch, create, make, design or add a pet, wants a new companion/mascot/character on their screen, asks for a different pet, or wants to import a pet from Codex. With no description given, design one from what is known about the user's interests.
11 other projects use a version of this.
Adopted by
Most recently taken up by
- leishifu666/skillstheir own version, first seen Sep 29, 2026
- xopcai/xopctheir own version, first seen Sep 16, 2026
- belentani7/manus-ai-skill-packtheir own version, first seen Sep 12, 2026
- srwang0506/HatchPet-CapybaraLulutheir own version, first seen Jul 22, 2026
- Minghou-Lei/codex-skillstheir own version, first seen Jul 7, 2026
- jhy0285/monofieldtheir own version, first seen May 29, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- openai/skills★ 28ksame name
- xopcai/xopc★ 37same name
- srwang0506/HatchPet-CapybaraLulu★ 24same name
- jhy0285/monofield★ 4same name
- kjx-talesofai/claude-skill-codex-pet★ 3same name
- JinHaocong/Skills★ 2same name
- Minghou-Lei/codex-skills★ 2same name
- AnasX7/skills★ 1same name
- leishifu666/skills★ 1same name
- Win-Hao/hatch-pet-claude★ 1same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 39
Never claim to have drawn the artwork.
- Distinctive: line 64
If the user described what they want, use it.
- Distinctive: line 116
Never report a pet as working because the import printed no error.
“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Hatch a desktop pet
Creates a character for the Claude Code desktop pet overlay, installs it into the pet library, and activates it. The overlay already exists — this adds a pet to it.
What the pet does, so you know what you are hatching into
An always-on-top companion that appears while Claude Code is running. It shows a task card — the prompt as a title, the current tool call as a subtitle — and plays an animation matching what Claude is doing: thinking while working, shrugging when it needs permission, celebrating when a turn finishes. Hovering it reveals a badge counting live sessions; clicking that lists them, and clicking a row jumps to that session. It walks when dragged and can be resized and toggled.
A pet is 11 animations, one per row of a spritesheet.
Locating the engine
ENGINE=$(cat ~/.assistant-pet/engine 2>/dev/null || echo ~/Documents/Claude/Tools/claude-pet)
PY="$ENGINE/.venv/bin/python"
HATCH="$ENGINE/hatch.py"The pet library defaults to ~/Documents/Claude/Pets/<id>/, overridable with
$CLAUDE_PETS_DIR. pet pets lists what is installed.
The one hard constraint
Claude Code cannot generate images. Artwork comes from an image generator — Codex, ChatGPT, or whatever the user prefers. Everything else is automated: the brief, the grid detection, the slicing, the validation, the install, the activation.
Never claim to have drawn the artwork. Never fabricate a spritesheet. Say plainly that the artwork step is theirs.
Route A — import something that exists
Fastest, and how the reference pet mumu was made.
$PY $HATCH codex <codex-pet-name> --id <id> --name "<Name>" --desc "<one line>"
$PY $HATCH import ~/Downloads/sheet.png --id <id> --name "<Name>" --desc "<one line>"The grid is detected from the transparent gutters; pass --cols N --rows N if that comes
out wrong. Then validate and activate — do not skip the check:
$PY $HATCH check <id>
pet use <id>
pet statusRoute B — design a new one
1. Decide the character
If the user described what they want, use it.
If they did not, design from what is actually known about them — this is the default and it should be specific. Read, in order:
- the auto-memory index for this project,
~/.claude/projects/<project>/memory/MEMORY.md, and the memory files it points at - the project's
CLAUDE.md $PY $HATCH list— so the new one is not a retread
Pull out concrete hooks: what they build, their stack, recurring themes, enthusiasms. Propose 2–3 distinct concepts, one sentence each, say which you would pick and why, and wait for them to choose. The artwork step costs them real effort — do not burn it on a guess.
A usable concept names: what the creature or object is, its silhouette, its palette, one memorable feature, and its resting expression. Vague concepts produce vague sheets.
2. Emit the brief
$PY $HATCH prompt --id <id> --name "<Name>" --desc "<the agreed character>"Prints a ready-to-paste brief: exact grid, row order, frame counts, and the constraints that matter. Hand it over, ask them to run it through an image generator and say where the file landed.
3. Import, validate, activate
Same commands as Route A. Read what check says — see
references/spritesheet-contract.md for what each
problem means and how to fix it. In short:
feet move Npx between frames— the classic generated-sheet flaw; the pet bobs while standing. Regenerate that row with the baseline requirement emphasised.frames do not share a baseline— rows disagree; it jumps between animations.background is not transparent— needs a background-removal pass first.walk rows mirror-match: 0.7— informational; that is normal. Only < 0.35 is odd.
Walk direction: expect to get it wrong
Which walk row reads as "right" cannot be judged reliably by eye from a three-quarter
character. It was got wrong in both directions while building mumu before being settled
by dragging it on screen.
So do not deliberate. Import, drag it, and if it walks backwards either right-click →
Reverse walking direction, or swap the two names in the ROWS table in hatch.py and
re-import. Tell the user this up front so it reads as expected rather than as a defect.
Verify before declaring success
Never report a pet as working because the import printed no error.
$PY $HATCH check <id> # baseline spread, transparency, empty frames
pet use <id> && pet status # confirm the overlay switched and is on screen
pet wave # confirm a one-shot plays and hands backThen hover it, drag it both ways, and look. The checks catch structural faults; character drift and a wrong-looking pose are only visible to a human.
What to report back
Name and id, where it landed, animation and frame counts, the baseline spread, anything
that fell back to idle, and that it is now active. Mention pet use mumu to go back.
Going deeper
references/spritesheet-contract.md— the sheet spec, the row table, every failure mode and its fix, and why the mirror check is advisory.references/engine-notes.md— read before touching the overlay: the macOS tool-window and multi-monitor traps, the three window-mask rules, the single-instance lock, the hook contract, per-session state, jumping to a session, and the testing methods that actually caught bugs.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

