hatch-pet
Create, repair, validate, visually QA, and package Codex-compatible animated pets and pet spritesheets from character art, generated images, company or…
Skill by liuxie066
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/liuxie066-hatch-pet
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: spreadsheets, design, testing, sales
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
hatch-pet- Description
- 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.
- License
- MIT
- Instructions
- 536 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- body: 536 lines (spec recommends under 500)
- files: referenced but missing: references/canonical-base.png
Files (14)
- LICENSE.txt
- SKILL.md
- openai.yaml · agents/
- animation-rows.md · references/
- codex-pet-contract.md · references/
- qa-rubric.md · references/
- compose_atlas.py · scripts/
- derive_running_left_from_running_right.py · scripts/
- extract_strip_frames.py · scripts/
- inspect_frames.py · scripts/
- make_contact_sheet.py · scripts/
- prepare_pet_run.py · scripts/
- render_animation_previews.py · scripts/
- validate_atlas.py · scripts/
SKILL.md (first lines)
# 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:
```text
${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=...` and `qa_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_images` when it lives there, then remove its now-empty generation directory if possible.
- For storage-sensitive full runs, ask the user whether to use the `$imagegen` CLI 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 handoff` section containing only `brand_name`, `brand_brief`, `avatar_seed`, `avoid`, and `brand_sources`
- do not generate images, prepare run folders, or edit unrelated files
Use this discovery worker prompt:
```text
Research a brand for hatch-pet mascot creation.
Brand/product/prospect: <brand name>
User context: <short user request>
Output file: <absolute path to brand-discovery.md>
Use web search. Prefer official brand, product, docs, about, press, or brand pages. Use reputable secondary sources only if official sources are too thin. Write an adaptive markdown brief to the output file. Headings may flex by brand, but the brief must cover:
- identity/category: canonical name, product type, what it does
- audience/use context: who it serves and where it appears
- visual system: palette, shapes, line quality, materials, typography feel, iconography, patterns
- personality/tone: emotional traits, energy, formality, playfulness
- product/domain motifs: objects, workflows, verbs, metaphors, environments
- mascot translation cues: candidate forms, signature traits, props, what must read at pet size
- avoidances: logos/text, trademark-sensitive elements, misleading cues, competitor confusion, poor mascot fits
- evidence/confidence: source URLs plus notes where evidence is weak or inferred
Do not copy logos, readable marks, UI screenshots, slogans, or text. Clearly label mascot guidance that is inferred rather than directly sourced.
End the brief with a `Generation handoff` section containing exactly:
- brand_name=<canonical brand/product name>
- brand_brief=<one sentence, max 45 words, covering palette/tone/domain motifs/personality>
- avatar_seed=<short mascot-safe visual idea, no logo copying>
- avoid=<short comma-separated list>
- brand_sources=<comma-separated source URLs>
Return exactly:
brand_discovery_file=<absolute output file path>
brand_name=<canonical brand/product name>
brand_brief=<same compact sentence from Generation handoff>
avatar_seed=<same short seed from Generation handoff>
avoid=<same short avoid list from Generation handoff>
brand_sources=<same comma-separated URLs from Generation handoff>
```
The parent should save the markdown brief before preparing the run, then pass it to `prepare_pet_run.py` as `--brand-discovery-file` together with `--brand-name`, `--brand-brief`, repeated `--brand-source`, and a concise `--pet-notes` value based on `avatar_seed` when the user did not provide a better avatar description. Keep the full brief for review; only the compact handoff fields should shape prompts. If web search is unavailable and the user gave only a bare brand name, ask for brand cues before generating.
For a normal pet run, expect up to 10 visual generation jobs: 1 base pet plus 9 row-strip jobs. The Codex app contract currently uses all 9 states: `idle`, `running-right`, `running-left`, `waving`, `jumping`, `failed`, `waiting`, `running`, and `review`. The only deterministic visual derivation is `running-left`, which may be produced 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.
After selecting a visual output, the parent agent copies that exact image into the job's `decoded/` path and marks the job complete in `imagegen-jobs.json`. Do not write helper scripts that populate row outputs. The deterministic Python 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 selected base output is copied. Treat any row generation without attached grounding images as invalid.
## Pet-Safe Styles
Default style is `auto`: infer the pet's style from the user's prompt and references, then preserve that style across every row. If the user names a style, honor it. Supported style presets include `pixel`, `plush`, `clay`, `sticker`, `flat-vector`, `3d-toy`, `painterly`, `brand-inspired`, and `auto`.
Any style is acceptable when it remains pet-safe:
- compact whole-body silhouette readable inside a `192x208` cell
- consistent face, proportions, material, palette, and props across all rows
- clean removable chroma-key background
- details large enough to read at pet size
- no text, labels, UI, or readable logos unless the user explicitly provides approved reference art and asks for them
Non-pixel styles are first-class. Plush, clay, sticker, vector, 3D toy, painterly mascot, ink, and brand-inspired looks should be accepted when they satisfy the atlas and readability constraints.
## Transparency And Effects
Pet rows are processed into transparent `192x208` cells, so every generated pixel must either belong to the pet sprite or be cleanly removable chroma-key background. Prefer pose, expression, and silhouette changes over decorative effects.
The deterministic raster pipeline owns the transparency invariant: pixels that become fully transparent are normalized so they do not retain hidden RGB residue, and atlas validation should fail if exported files violate that invariant. Do not paper over colored halos or transparent-pixel residue by accepting visually inconsistent outputs.
Allowed effects must satisfy all of these conditions:
- The effect is state-relevant and helps explain the animation.
- The effect is physically attached to, touching, or overlapping the pet silhouette, not floating nearby.From liuxie066/liuxie-skills, MIT.
More from liuxie066/liuxie-skills
- 0.589score
devflow
liuxie066
研发工作流及五个可独立调用的节点:Brainstorm、Save Design、Improve Design、Impl、Review。支持从已有设计或改动进入;完整流程先建议简单或完整链路,由用户选择,两者都保留四路并行设计优化。仅研发,不含提交、发布或部署。
SkillAFreshness: A★ 1Claude Code +9 - 0.586score
delivery
liuxie066
独立的软件交付流程:提交推送、创建 PR、合并主分支、发布版本及升级运行环境。用户通过 $delivery 启动,按授权范围选择阶段,复用项目命令和有效研发证据,核验最终状态并处理失败恢复;不启动或扩展 Devflow。
SkillAFreshness: A★ 1Claude Code +9 - 0.549score
hithink-finance
liuxie066
当用户或 Agent 需要通过同花顺金融数据服务获取、查询、同步、分析或导出 A 股行情、财报、估值、指数、板块、公募基金、期货、期权、特色数据或本地 DuckDB 数据,或需要选择、安装、配置、诊断 REST API、MCP、hithink-finance CLI、Python SDK/marketdb 时使用。
SkillBFreshness: B★ 1Claude Code +9 - 0.548score
futuapi
Futu
富途 OpenAPI 交易与行情助手。查询行情、K线、报价、快照、买卖盘、逐笔成交、分时数据;搜索标的与资讯;解析期权代码、查询期权链/到期日/IV/行权概率;执行买入/卖出/下单/撤单/改单;查询持仓/资金/账户/订单;订阅实时推送;加密货币 (BTC/ETH) 行情与交易;预测市场(Event…
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
deepreview
liuxie066
用于对当前未合并 workspace changes、指定 GitHub Pull Request 或仓库全部代码做严格深度 code review;支持 `$deepreview`、`$deepreview 当前改动`、`$deepreview --base main`、`$deepreview --base…
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
ima-skill
liuxie066
统一的 IMA OpenAPI 技能,支持笔记管理和知识库操作。 当用户提到知识库、资料库、笔记、备忘录、记事,或者想要上传文件、添加网页到知识库、 搜索知识库内容、搜索/浏览/创建/编辑笔记时,使用此 skill。 即使用户没有明确说"知识库"或"笔记",只要意图涉及文件上传到知识库、网页收藏、…
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
gateflow
liuxie066
单个 work unit 的 gated 开发流程。用于 feature、issue、bug fix、migration、refactor、schema/public contract change 或 architecture-sensitive task;可选接收 design…
SkillBFreshness: B★ 1Claude Code +9 - 0.543score
diagram-design
liuxie066
Create branded architecture, IT current-state, flowchart, sequence, state machine, ER/data model, timeline, swimlane, quadrant, radar/spider, polar chart…
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
dayu
liuxie066
使用本地 Dayu Agent 下载美股、A 股和港股财报,基于财报问答、生成公司分析报告并读取结果。用户提到 dayu、大愚,或要求利用本地财报库做公司研究时使用;普通行情查询、交易和持仓记账不适用。
SkillBFreshness: B★ 1Claude Code +9 - 0.537score
create-skill
liuxie066
按本机中央仓库约定创建、更新或从 GitHub 安装 Skill,复用 Codex 系统 skill-creator 和 skill-installer,并明确调用策略。通过 $create-skill 显式启动。
SkillBFreshness: B★ 1Claude Code +9 - 0.522score
find-skills
liuxie066
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...", or express…
SkillBFreshness: B★ 1Claude Code +9 - 0.517score
grilling
liuxie066
Grill the user relentlessly about a plan, decision, or idea.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 9, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/liuxie066/liuxie-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.748score
hatch-pet
openaiOfficial
Create, repair, validate, visually QA, and package Codex-compatible animated pets and pet spritesheets from character art, generated images, company or…
SkillCFreshness: C★ 28.3KClaude Code +9 - 0.331score
hatch-pet
Dolliwyx
Create, repair, validate, visually QA, and package Codex-compatible animated pets and pet spritesheets from character art, generated images, company or…
SkillAFreshness: AClaude Code +9 - 0.290score
hatch-pet
whopointer
Create, repair, validate, visually QA, and package Codex-compatible animated pets and pet spritesheets from character art, generated images, company or…
SkillCFreshness: C★ 1Claude Code +9
More from liuxie066
- 0.589score
devflow
liuxie066
研发工作流及五个可独立调用的节点:Brainstorm、Save Design、Improve Design、Impl、Review。支持从已有设计或改动进入;完整流程先建议简单或完整链路,由用户选择,两者都保留四路并行设计优化。仅研发,不含提交、发布或部署。
SkillAFreshness: A★ 1Claude Code +9 - 0.586score
delivery
liuxie066
独立的软件交付流程:提交推送、创建 PR、合并主分支、发布版本及升级运行环境。用户通过 $delivery 启动,按授权范围选择阶段,复用项目命令和有效研发证据,核验最终状态并处理失败恢复;不启动或扩展 Devflow。
SkillAFreshness: A★ 1Claude Code +9 - 0.549score
hithink-finance
liuxie066
当用户或 Agent 需要通过同花顺金融数据服务获取、查询、同步、分析或导出 A 股行情、财报、估值、指数、板块、公募基金、期货、期权、特色数据或本地 DuckDB 数据,或需要选择、安装、配置、诊断 REST API、MCP、hithink-finance CLI、Python SDK/marketdb 时使用。
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
deepreview
liuxie066
用于对当前未合并 workspace changes、指定 GitHub Pull Request 或仓库全部代码做严格深度 code review;支持 `$deepreview`、`$deepreview 当前改动`、`$deepreview --base main`、`$deepreview --base…
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
ima-skill
liuxie066
统一的 IMA OpenAPI 技能,支持笔记管理和知识库操作。 当用户提到知识库、资料库、笔记、备忘录、记事,或者想要上传文件、添加网页到知识库、 搜索知识库内容、搜索/浏览/创建/编辑笔记时,使用此 skill。 即使用户没有明确说"知识库"或"笔记",只要意图涉及文件上传到知识库、网页收藏、…
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
gateflow
liuxie066
单个 work unit 的 gated 开发流程。用于 feature、issue、bug fix、migration、refactor、schema/public contract change 或 architecture-sensitive task;可选接收 design…
SkillBFreshness: B★ 1Claude Code +9
Cite this page
hatch-pet skill. Agent Mart. https://agentmart.dev/skills/liuxie066-hatch-pet (last updated 2026-10-24)