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_gen and 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_gen output may not appear under $CODEX_HOME/generated_images even when generation succeeds. If no current output file is visible, recover the PNG from the Codex session JSONL before retrying generation; see references/imagegen-cli-recovery.md.
  • ImageMagick convert on PATH. The bundled scripts/*.mjs shell 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
Installs
27
GitHub Stars
36
First Seen
May 17, 2026