generating-dot-assets
Installation
SKILL.md
Dot Asset Generator
Create transparent pixel-art object assets from a natural-language subject and an exact target size such as 32x32, 64x64, or 96x48.
Use this skill when the user asks for a game object, sprite-like prop, item icon, diorama object, or transparent pixel-art asset generated from image generation.
Environment requirements
- An image-generation tool callable from the agent. The bundled workflow assumes Codex's built-in
image_genand reads its output from$CODEX_HOME/generated_images/.... On other hosts (Claude Code, plain CLI), substitute an equivalent generator and copy the chosen image into<PROJECT_DIR>/assets/source/<stem>.raw.png. - In Codex CLI, built-in
image_genoutput may not appear under$CODEX_HOME/generated_imageseven when generation succeeds. If no current output file is visible, recover the PNG from the Codex session JSONL before retrying generation; seereferences/imagegen-cli-recovery.md. - ImageMagick
converton PATH. The bundledscripts/*.mjsshell out to it; if it is missing, stop and report the dependency rather than fabricating output.
Inputs
Require:
- subject, e.g.
old wooden school desk - final size, e.g.
64x64 - output path or output directory