hatch-pet
Ce qu’il fait
Cette compétence crée un petit personnage animé pour Codex, à partir d'une idée, d'une marque ou d'images de référence. Elle s'adresse aux personnes qui veulent un animal de compagnie animé personnalisé compatible avec Codex.
Quand l’utiliser
- ✓Quand vous voulez un animal de compagnie animé pour Codex, basé sur un personnage que vous décrivez.
- ✓Quand vous souhaitez un animal de compagnie inspiré de la mascotte d'une entreprise ou d'une marque.
- ✓Quand vous avez des images de référence et voulez les transformer en planche de sprites animée.
Lien du skill
https://github.com/openai/skills/blob/main/skills/.curated/hatch-pet/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Créez un animal de compagnie animé pour Codex, un petit renard orange, à partir des images de référence que je partage.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent génère l'image de base grâce à la compétence de génération d'images, construit les rangées d'animation, vérifie visuellement la planche de sprites et prépare le résultat pour Codex.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
Hatch Pet
Overview
Create a Codex-compatible animated pet from a concept, brand cue, company/prospect name, one or more reference images, or any combination of those inputs. This workflow keeps the deterministic hatch-pet pipeline for atlas geometry, validation, visual QA, and packaging, while using concise state-specific prompts and allowing any pet-safe visual style.
User-facing inputs are optional. If the user omits a pet name, infer one from the concept, brand, company, or reference filenames; if that is not possible, choose a short friendly 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, image CLI, or any other image-generation path directly. Let $imagegen choose its own built-in-first path and fallback rules. If $imagegen says a fallback requires confirmation, ask the user before continuing.
When invoking $imagegen, pass the generated pet prompt as the authoritative visual spec. Pet prompts should stay concise, state-specific, sprite-production oriented, and grounded in the listed input images. Keep longer policy and QA rules in this skill and the deterministic review scripts rather than expanding them into every image prompt. Do not wrap prompts in the generic $imagegen shared prompt schema.
Use this skill's scripts for deterministic image work only: preparing layout guides and prompts, mirroring approved running-left, extracting frames, validating rows, composing the final atlas, and creating contact-sheet plus motion-preview QA media. Parent-owned shell/jq steps handle manifest updates, packaging, and cleanup.
Storage Controls
The built-in $imagegen path stores generated PNG bytes in the rollout that invokes it, even when it also writes a file under ${CODEX_HOME:-$HOME/.codex}/generated_images. Deleting files later reduces filesystem use, but it does not shrink an already-written rollout. Keep image generation isolated and bounded:
- Use one lightweight generation worker per visual job. Do not batch multiple base/row jobs into the same worker.
- Workers must return only
selected_source=...andqa_note=...; they must not include Markdown image previews, base64, or extra visual attachments in their final response. - The parent must not open every generated PNG visually. Use worker QA for each job and inspect only the final contact sheet.
- After copying the selected generated output into
decoded/, remove the selected original from${CODEX_HOME:-$HOME/.codex}/generated_imageswhen it lives there, then remove its now-empty generation directory if possible. - For storage-sensitive full runs, ask the user whether to use the
$imagegenCLI fallback when available. That path requires local API credentials and explicit user confirmation, but it can avoid built-in image payloads being embedded in rollout events.
Brand Discovery
If the user provides a brand, company, product, or prospect name rather than a concrete avatar description or reference image, run a lightweight discovery subagent before preparing the pet run. The discovery worker must use web search and prefer official sources such as the brand site, product pages, docs, about pages, press pages, or brand pages. Use reputable secondary sources only when official pages are too thin. Keep the search narrow: enough to extract visual and personality cues, not a market-research brief.
Skip discovery when the user already provides a concrete mascot/avatar description or reference images, unless the user explicitly asks for brand research.
Discovery worker responsibilities:
- search the web for 2-4 relevant sources, preferring official pages
- write an adaptive markdown brief rather than a rigid field dump
- cover identity/category, audience/use context, visual system, personality/tone, product/domain motifs, mascot translation cues, avoidances, and evidence/confidence
- mark mascot guidance that is inferred from sources as inference
- avoid copying logos, readable marks, UI screenshots, slogans, or text
- end with a compact
Generation handoffsection cont
Questions fréquentes
Ai-je besoin d'images de référence ?
Non. Sans images, l'agent crée d'abord le personnage de base à partir de votre description écrite.
Utilise-t-elle un outil de génération d'images ?
Oui. La compétence confie toute la génération d'images normale à la compétence imagegen.
À quoi ressemble le résultat final ?
C'est un atlas d'animation complet, où les cases inutilisées restent transparentes, accompagné d'un paquet validé.
Détails
Description originale de l’auteur
Create, repair, validate, visually QA, and package Codex-compatible animated pets and pet spritesheets from character art, generated images, company or prospect brand cues, or visual references. Use when a user wants a lightweight-worker Codex pet workflow, a non-pixel custom pet style, a prospect or company mascot pet, or a full 8x9 animated pet atlas with transparent unused cells, QA contact sheets, and pet.json packaging. This skill composes the installed $imagegen system skill for visual generation and uses bundled scripts for deterministic spritesheet assembly.
repo: openai/skills
Popularité
- Étoiles GitHub
- 28k
- Position au classement
- #9856
- Licence
- —
- Mis à jour
- 28/10/2026
Commentaires
- …
Autres skills de ce dépôt
aspnet-core
28kAide votre agent à créer, revoir ou mettre à niveau une application web ASP.NET Core, en choisissant le bon type et en suivant les recommandations actuelles de Microsoft.
chatgpt-apps
28kAide votre agent à construire une application ChatGPT qui relie un serveur MCP à un widget, avec la conception des outils, les métadonnées et la configuration locale.
cli-creator
28kAide votre agent à transformer une API, une spécification ou des scripts en outil en ligne de commande réutilisable, qui renvoie un JSON stable.
define-goal
28kAide votre agent à transformer une intention vague en objectif mesurable, avec critères de réussite, périmètre et condition d'arrêt, avant de commencer.
Skills similaires
gifgrep
394kPermet à votre agent de chercher dans des bibliothèques de GIF, d'en prévisualiser les résultats, de télécharger un GIF et d'en extraire une image fixe ou une planche d'images.
meme-maker
394kPermet à votre agent de choisir un modèle de mème, d'ajouter vos propres légendes et de créer le mème sous forme d'image SVG ou PNG.
ios-icon-gen
280kPermet à votre agent de générer des icônes pour applications iOS. Il utilise les symboles Apple ou d'autres sources pour créer les fichiers adéquats.