hatch-pet
Was er macht
Dieses Tool erstellt und bereitet animierte digitale Haustiere als Spritesheets für das Spiel Codex vor. Es verwandelt deine Ideen oder Bilder in ein animiertes Haustier, das im Spiel verwendet werden kann.
Wann du ihn nutzt
- ✓Wenn du ein neues animiertes Haustier für Codex erstellen willst.
- ✓Wenn du ein Bild hast und daraus ein animiertes Haustier machen möchtest.
- ✓Wenn du die Animation eines bestehenden Haustiers reparieren oder verbessern musst.
Link zum Skill
https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/hatch-pet/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Erstelle ein animiertes Haustier in Form eines niedlichen Drachen auf Basis dieses Bildes.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Du stellst ein Bild bereit oder beschreibst das Haustier. Das Tool nutzt diese Informationen, um Animationen in verschiedenen Posen zu erzeugen, zum Beispiel im Ruhezustand oder beim Laufen. Danach ordnet es alles in einem Format an, das das Spiel Codex versteht.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Hatch Pet
OpenDesign integration. This is the unmodified Codex
hatch-petskill, vendored underskills/hatch-pet/so any OpenDesign agent can run it. After the skill finishes packaging, the resultingspritesheet.webp(under${CODEX_HOME:-$HOME/.codex}/pets/<pet-name>/) can be imported into the floating pet companion via Settings → General → Pets → Import Codex sprite. The import flow auto-detects the 8×9 /192×208atlas and lets the user pick which animation row to play (idle, running-right, waving, …).
Overview
Create a Codex-compatible animated pet from a concept, one or more reference images, or both. This skill owns pet-specific prompt planning, animation rows, frame extraction, atlas geometry, QA, previews, and packaging. It delegates visual generation to $imagegen.
User-facing inputs are optional. If the user omits a pet name, infer one from the concept or reference filenames; if that is not possible, choose a short appropriate name. If the user omits a description, infer one from the concept or references. If the user omits reference images, generate the base pet from text first, then use that base as the canonical reference for every animation row.
Generation Delegation
Use $imagegen for all normal visual generation.
Before generating base art, row strips, or repair rows, load and follow the installed image generation skill:
${CODEX_HOME:-$HOME/.codex}/skills/.system/imagegen/SKILL.md
Do not call the Image API directly for the normal path. Let $imagegen choose its own built-in-first path and its own CLI fallback rules. If $imagegen says a fallback requires confirmation, ask the user before continuing.
When invoking $imagegen from this skill, pass the generated pet prompt as the authoritative visual spec. Do not wrap it in the generic $imagegen shared prompt schema and do not add extra polish, hero-art, photo, product, or illustration-style augmentation. Pet prompts should stay terse, sprite-specific, and digital-pet oriented; only add role labels for input images and any essential user constraint.
Use this skill's scripts for deterministic work only: preparing prompts and manifests, ingesting selected $imagegen outputs, extracting frames, validating rows, composing the final atlas, creating QA media, and packaging.
Hard boundary: do not create, draw, tile, warp, mirror, or synthesize pet visuals with local Python/Pillow scripts, SVG, canvas, HTML/CSS, or other code-native art as a substitute for $imagegen. For a normal pet run, expect up to 10 visual generation jobs: 1 base pet plus 9 row-strip jobs. The only exception is running-left, which may be derived by mirroring running-right only after running-right has been generated, visually inspected, and explicitly approved as safe to mirror. If mirroring is not appropriate, generate running-left as a normal grounded $imagegen row. If those calls are too expensive, blocked, or unavailable, stop and explain the blocker instead of fabricating row strips locally.
Do not mark visual jobs complete by editing imagegen-jobs.json, copying files into decoded/, or writing helper scripts that populate row outputs. Use record_imagegen_result.py for selected built-in $imagegen outputs, or generate_pet_images.py only for the documented secondary fallback. The deterministic scripts may only process already-generated visual outputs.
Only the base job may be prompt-only. Every row-strip job generated through $imagegen must use the input images listed in imagegen-jobs.json, including the canonical base reference created after the base job is recorded. Treat any row generation without attached grounding images as invalid.
Codex Digital Pet Style
Default pet art should match the Codex app's built-in digital pets: small pixel-art-adjacent mascots with compact chibi proportions, chunky readable silhouettes, thick dark 1-2 px outlines, visible stepped/pixel edges, limited palettes, flat cel shading, simple expressive faces, and tiny limbs. Even if the reference art is more detailed, complex or realistic, the generated pet should be simplified into this style.
…
Häufige Fragen
Was ist ein "Spritesheet"?
Es ist wie ein Sticker-Album, bei dem jeder Sticker ein Einzelbild der Animation deines Haustiers ist. Damit wird die Bewegung im Spiel dargestellt.
Was bedeutet "Codex-kompatibel"?
Das bedeutet, dass das animierte Haustier, das das Tool erstellt, genau in dem Format vorliegt, das Codex braucht, damit es richtig funktioniert.
Kann ich jedes beliebige Bild als Vorlage verwenden?
Ja, du kannst Zeichnungen, Fotos oder sogar KI-generierte Bilder nutzen. Das Tool versucht, das Bild an den Stil des Spiels anzupassen.
Details
Originalbeschreibung des Autors
Create, repair, validate, preview, and package Codex-compatible animated pet spritesheets from character art, screenshots, generated images, or visual references. Use when a user wants to hatch a Codex pet, create a custom animated pet, or build a built-in pet asset with an 8x9 atlas, transparent unused cells, row-by-row animation prompts, QA contact sheets, preview videos, and pet.json packaging.
repo: nexu-io/open-design
Beliebtheit
- GitHub-Sterne
- 101k
- Platz im Ranking
- #1014
- Lizenz
- Apache-2.0
- Aktualisiert
- 15.10.2026
Kommentare
- …
Weitere Skills aus diesem Repository
sample-plugin
101kLässt deinen Agenten eine Metadaten-Datei für Tests erstellen. So stellst du sicher, dass der Code in verschiedenen Situationen korrekt funktioniert.
aster-atelier
101kHilft deinem Agenten, eine künstlerische Website im klassischen Stil zu erstellen. Elegante Bilder, blauer Himmel und Serifenschriften sorgen für einen filmreifen Look.
audio-jingle
101kLässt deinen Agenten Audio erzeugen, zum Beispiel Jingles und Soundeffekte. Er kann Musik und Stimmen erstellen und als Audiodatei speichern.
blog-post
101kHilft deinem Agenten, lange Artikel oder Blogbeiträge zu schreiben. Mit Platz für Bilder, Zitate und Infos zum Autor.
Ähnliche Skills
gifgrep
394kLässt deinen Agenten GIF-Bibliotheken durchsuchen, Ergebnisse vorab ansehen, ein GIF herunterladen und ein Einzelbild oder ein Kontaktblatt mit Bildern herausziehen.
meme-maker
394kLässt deinen Agenten eine Vorlage für ein Meme auswählen, eigene Beschriftungen hinzufügen und das Meme als SVG- oder PNG-Bild erstellen.
ios-icon-gen
280kHilft deinem Agenten, Icons für iOS-Apps zu erstellen. Er nutzt Apple-Symbole oder Icons aus anderen Quellen und erzeugt die richtigen Dateien.