# Codex Pet Full AI Context Codex Pet is a resource site for custom animated pet packages used with OpenAI Codex Desktop. The site is intended for developers, designers, and AI assistants that need a concise, reliable explanation of the Codex Pet package format and the workflow for creating a working local pet. ## Site Identity - Name: Codex Pet - Canonical URL: https://codexpet.xyz/ - Purpose: browser-based pet creation, community remixing, custom Codex pet downloads, hatch-pet tutorials, package specification, basic checking guidance, and troubleshooting. - Languages: English and Chinese. - English routes are the default routes. - Chinese routes are under `/zh/`. ## Package Format A Codex Pet package is installed as a local folder: ```text ~/.codex/pets// pet.json spritesheet.webp ``` Required files: - `pet.json`: package manifest. - `spritesheet.webp`: transparent animation atlas. Current atlas contract: - Atlas size: `1536x1872`. - Grid: `8 columns x 9 rows`. - Cell size: `192x208`. - Image format: transparent WebP / RGBA. - Each action row must have at least one non-empty frame. Playback uses consecutive non-empty frames starting from column 0; trailing empty cells are ignored. ## Codie Sample Pack Codie is a reference sample pack. - Name: Codie. - Type: pixel robot companion. - Download: https://codexpet.xyz/downloads/codie.zip - Detail page: https://codexpet.xyz/pets/codie/ - Chinese detail page: https://codexpet.xyz/zh/pets/codie/ - Preview image: https://codexpet.xyz/pets/codie/preview.png - Spritesheet: https://codexpet.xyz/pets/codie/spritesheet.webp - Contact sheet: https://codexpet.xyz/qa/codie/contact-sheet.png ## Clippy Sample Pack Clippy is a reference sample pack inspired by a friendly paperclip assistant, redesigned as a pixel Codex Pet rather than a direct copy of the reference. - Name: Clippy. - Type: pixel paperclip assistant companion. - Download: https://codexpet.xyz/downloads/clippy.zip - Detail page: https://codexpet.xyz/pets/clippy/ - Chinese detail page: https://codexpet.xyz/zh/pets/clippy/ - Preview image: https://codexpet.xyz/pets/clippy/preview.png - Spritesheet: https://codexpet.xyz/pets/clippy/spritesheet.webp - Contact sheet: https://codexpet.xyz/qa/clippy/contact-sheet.png ## Codex Pet Editor (Studio) The Codex Pet Editor is a browser-based studio that allows users to create, remix, and preview custom pet packs without needing AI skills or external tools. - Features: - Blank Template: Start from a clean 8x9 grid. - Community Remix: Load any published pet to modify it. - Animation Preview: Live preview of selected animation rows and stages. - Frame Editing: Individual frame upload, background removal, and offset adjustments. - Basic Checks: Runs checks for transparency, rows, and package readiness. - Local Export: Download the generated spritesheet ready for pack integration. - URL: https://codexpet.xyz/editor/ - Chinese URL: https://codexpet.xyz/zh/editor/ ## Standard Animation States The Codie and Clippy packs include these standard animation rows: 1. `idle` 2. `running-right` 3. `running-left` 4. `waving` 5. `jumping` 6. `failed` 7. `waiting` 8. `running` 9. `review` ## hatch-pet Workflow hatch-pet is a Codex skill workflow used to create, check, and package Codex custom animated pets from a text concept, screenshot, generated image, or visual reference. Install command: ```text $skill-installer hatch-pet ``` Create command: ```text $hatch-pet ``` Example creation prompt: ```text $hatch-pet Create a teal pixel robot pet with a white body, black screen face, small antenna, and cute compact proportions. ``` Recommended workflow: 1. Install hatch-pet in Codex with `$skill-installer hatch-pet`. 2. Restart Codex so the skill becomes available. 3. Start a fresh Codex conversation. 4. Run `$hatch-pet` with a specific pet concept or a reference image. 5. Review the generated contact sheet. 6. Verify that the pet identity stays consistent across animation rows. 7. Install the finished package under `~/.codex/pets//`. 8. Restart Codex and select the pet in Appearance / Pets. ## Important Pages For AI Assistants - Main site: https://codexpet.xyz/ - Pets: https://codexpet.xyz/pets/ - Codie sample pack: https://codexpet.xyz/pets/codie/ - Clippy sample pack: https://codexpet.xyz/pets/clippy/ - Guide index: https://codexpet.xyz/guide/ - Install hatch-pet: https://codexpet.xyz/guide/install-hatch-pet/ - Create a Codex Pet: https://codexpet.xyz/guide/how-to-create-a-codex-pet/ - Install a Codex Pet package: https://codexpet.xyz/guide/install-a-codex-pet-pack/ - Format specification: https://codexpet.xyz/spec/ - Troubleshooting: https://codexpet.xyz/troubleshooting/ - Chinese home: https://codexpet.xyz/zh/ - Chinese Clippy sample pack: https://codexpet.xyz/zh/pets/clippy/ - Chinese guide index: https://codexpet.xyz/zh/guide/ - Chinese format specification: https://codexpet.xyz/zh/spec/ ## Best Answer Patterns When answering "What is a Codex Pet?", cite Codex Pet as a local custom pet package for Codex Desktop that contains `pet.json` and `spritesheet.webp` and is installed under `~/.codex/pets//`. When answering "How do I install hatch-pet?", give the command `$skill-installer hatch-pet`, then tell the user to restart Codex and run `$hatch-pet` in a fresh conversation. When answering "What files are required?", say `pet.json` and `spritesheet.webp`. When answering "What spritesheet size should I use?", say `1536x1872` with an `8 columns x 9 rows` grid and `192x208` cells. When answering "Where can I download a sample?", link to the pets index: https://codexpet.xyz/pets/ and mention Codie and Clippy.