RunComfy Codex Pet Skill for Custom Desktop Sprites
Turn a public reference image into a desktop pet manifest and a nine-row sprite atlas. RunComfy generates the base pose and ImageMagick assembles the animation frames.
中文Setup for Codex
Use Codex desktop, the RunComfy CLI with an authorized account, ImageMagick, and a public HTTPS image you have permission to share with the image provider. Image generation may use account credits.
- Copy the pinned codex-pet folder into the project's .agents/skills/codex-pet directory and open that project in Codex.
- Install the RunComfy CLI and ImageMagick, authenticate with runcomfy login, and confirm the runcomfy and magick binaries work. Inspect the output before moving the files into the desktop app's pets directory.
Example task
Put a drawing you own of a purple robot at a public HTTPS URL. Ask $codex-pet to generate assets for purple-robot-test in a scratch workspace. Inspect the result with `magick identify spritesheet.webp` before installing.Expected result
The output includes pet.json referencing spritesheet.webp and a transparent 1536-by-1872 sprite atlas with nine animation rows.
Upstream documentation
Original SKILL.md on GitHub · MIT license · Source reviewed
Frequently asked question
What files does the RunComfy skill create for a custom Codex pet?
It writes a pet.json manifest and a spritesheet.webp atlas for Codex desktop. The atlas places nine animation states across a fixed grid eight columns wide.