Codex Pet
Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into `${CODEX_HOME:-$HOME/.codex}/pets/<name>/` and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as `runcomfy run openai/gpt-image-2/edit` to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no `$imagegen`, no OPENAI_API_KEY required, only RUNCOMFY_TOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.
- Type
- Skill
- Author
- runcomfy-com
- Category
- Design
- GitHub stars
- 16
- Installs
- 274.3K
- Last updated
- October 21, 2026
Install
npx skills add https://github.com/runcomfy-com/skills --skill codex-petUse cases
- Hatch a custom desktop pet for OpenAI Codex from a single reference image.
- Regenerate all 9 animation rows, from idle to review, without hand-drawing frames.
- Drop a finished spritesheet.webp and pet.json into your Codex pets folder for pickup.
Frequently Asked Questions
What size and layout does the generated spritesheet use?
It produces a 1536x1872 PNG or WebP atlas with 8 columns and 9 rows of 192x208 cells, covering 9 animation states.
Do I need an OpenAI API key to run this skill?
No — only RUNCOMFY_TOKEN is required, since the skill calls OpenAI GPT Image 2 edit once through the local RunComfy CLI.
Where do I put the output so Codex finds it?
Place spritesheet.webp and pet.json in ${CODEX_HOME:-$HOME/.codex}/pets/<name>/, where Codex picks it up alongside the 8 built-ins.
About this skill
Builds a Codex-compatible pet spritesheet and pet.json from a single reference image, producing the exact atlas Codex expects (1536x1872, 8 columns by 9 rows, 192x208 cells, 9 animation states). It calls OpenAI GPT Image 2 edit once to generate a canonical pose, then assembles the animation rows with ImageMagick micro-transforms, requiring only RUNCOMFY_TOKEN. Drop the output into `${CODEX_HOME:-$HOME/.codex}/pets/<name>/` and Codex picks it up alongside the 8 built-ins.
Summary written with AI assistance from the project's public description.
Categories
More from runcomfy-com
Image To Video
Animate any still image on RunComfy — this skill is a smart router that matches the user's intent to the right i2v model in the RunComfy catalog. P...
by runcomfy-com
Video Edit
Edit existing video on RunComfy — this skill is a smart router that matches the user's intent to the right edit model in the RunComfy catalog. Pick...
by runcomfy-com
Ai Image Generation
Generate and edit images on RunComfy via the `runcomfy` CLI — a smart router across the full image-model catalog: FLUX 2 (Klein 9B/4B, Pro, Dev, Fl...
by runcomfy-com
Ai Video Generation
Generate AI videos on RunComfy via the `runcomfy` CLI — a smart router across the full video-model catalog: HappyHorse 1.0 (Arena #1, native in-pas...
by runcomfy-com
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh