Leaderboard/Gaming/sprite-gen
Last commit on September 18, 2026·Created on May 12, 2026

aldegad/sprite-gen

Automates the creation of 2D game assets and animation atlases
Combined rank
#212
across all skills
In Gaming
#3
category rank
Stars
1.6k
+22.2% in last 7d
Forks
154
+30.5% in last 7d
Watchers
4
0.0% in last 7d
Traction scoreGitHub stars can be faked, so popularity alone can be misleading. Traction Score looks for broader signs of recent attention, adoption, and active maintenance.
TL;DR

Sprite-gen provides a structured pipeline for generating game sprites and images using GPT or Grok. It assists 2D developers and pixel artists by handling the technical overhead of asset production, from initial image generation to engine-ready exports.

The tool streamlines repetitive art tasks such as palette swapping, chroma removal, and the creation of repeating backgrounds. It also supports transforming still images into video clips and organizing assets into animation atlases for game engine integration.

WHO IT'S FOR
2D Game Developers
generate animation atlases and game sprites
Pixel Artists
perform palette swaps and recoloring
Game Animators
create video loops and frame interpolations
Technical Artists
manage rig layers and scene composition
Repository contents

1 skill file

Compatible AgentsThe repository documents support for these agents. The skills may also work with other agents that can load SKILL.md files, but they may need some setup or small changes.

Use this skill

Follow the documented setup, then try a first task.

Install sprite-gen for Codex

Installs: The complete repository root installed as the single `sprite-gen` skill. · Codex

Before you start
  • CPython 3.10 or newer.
  • Python with working `venv` and `ensurepip`.
  • Required runtime binaries: `codex`, `ffmpeg`, and `img2webp`.
  • Video generation additionally requires your own `grok` CLI login or `XAI_API_KEY`.
  1. In a terminal, run Codex's bundled skill-installer script to install the repository root under the name `sprite-gen`.

    python3 ~/.codex/skills/.system/skill-installer/scripts/install-skill-from-github.py \
      --repo aldegad/sprite-gen --path . --name sprite-gen
SKILL.md · Checked Sep 18, 2026README.md · Checked Sep 18, 2026

Give it something to do.

Suggested first task

Create a runtime sprite atlas

Uses sprite-gen

  • Path to one base character image, replacing `<path-to-base-image>`.
  • Desired motion states, if already known.
  • Available generation provider or credentials.
Use the sprite-gen skill to turn my base character image into a small runtime sprite atlas using its default component-row workflow. Ask me for any missing provider or motion choices, preserve the character's identity, extract clean transparent frames, and produce the sprite sheet with its machine-readable manifest. Base image: <path-to-base-image>.
SKILL.md · Checked Sep 18, 2026README.md · Checked Sep 18, 2026
Suggested first task

Generate one image

Uses sprite-gen

  • Image description replacing `<image-description>`.
  • Available generation provider or credentials.
Use the sprite-gen skill to generate one image from this description: <image-description>. Ask me for any missing provider choice before generation and return the resulting file without creating sprites or video.
SKILL.md · Checked Sep 18, 2026README.md · Checked Sep 18, 2026
Suggested first task

Animate a still image

Uses sprite-gen

  • Path to the still image replacing `<path-to-still-image>`.
  • Motion description replacing `<motion-description>`.
  • Installed `ffmpeg` and `img2webp`.
  • Your own `grok` CLI login or `XAI_API_KEY`.
Use the sprite-gen skill to animate this still image into one short, seamless transparent motion loop: <path-to-still-image>. The desired motion is <motion-description>. Check that `ffmpeg`, `img2webp`, and my own `grok` CLI login or `XAI_API_KEY` are available, then ask for any remaining provider or motion choices.
SKILL.md · Checked Sep 18, 2026README.md · Checked Sep 18, 2026