Skip to content

Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame extraction, runtime atlases. Codex/Claude skill.

Merge validated source restoration v3 and inspection commands

Soohong Kim8b4c71fed265
diff --cc SKILL.md
index a9e529c,c64b32a..def18d6
--- a/SKILL.md
+++ b/SKILL.md
@@@ -102,7 -102,8 +102,9 @@@ hold the arms still, and check the loo
| Continue or edit an existing clip | `video-extend`, `video-edit` | [video](docs/video.md) |
| Grok video sprites | `video-set` | [video-pipeline](docs/video-pipeline.md) |
| A soft part of a walk loop follows the body (a chest, a belly): an ellipse in the first cell, after `video-cycle-align` | `video-follow` | [video-pipeline](docs/video-pipeline.md#6-follow-through--video-follow) |
+| Where that ellipse is carried in every other cell, and what the move changes there (an arm crossing a chest moves with it): a record and boards of every cell, nothing moved | `video-follow-inspect` | [video-pipeline](docs/video-pipeline.md#inspecting-a-follow-through--video-follow-inspect) |
+ | Compare the currently displayed loop with a final candidate, including after follow-through | `video-loop-compare` | [loop-comparison](docs/loop-comparison.md) |
+ | Restore post-processing damage in the current cut from its exact source times, preserving normal cells and playback | `video-source-manifest` → `video-loop-repair` → `video-loop-compare` | [source restoration](docs/loop-comparison.md#restoring-the-active-cut-from-source) |
| Video sprites from a clip your agent makes with a connected video MCP (ZCRE, 지크) | `video-canvas`, `video-prompt --no-last-frame`, the agent's own MCP tools (quote, user approval, generate, save the mp4), then `video-frames` and `video-loop` (a walk or run with `--anchor motion-auto`, which holds its size), and for a walk or run cut in two or more directions `video-cycle-align --view …` over their loop directories (a set it stops on a loop that may hold two cycles: look at that loop, count its strides, and pass `--cycles <loop>=<k>`; a loop the report lists under `unnamed_feet` — its view could not tell the feet apart, or only by too small a margin (`low-margin`): look at its first candidate frame, say which own foot lands there, and align again with `--foot <loop>=left|right`). `video-set` is not run on this route, so the set stage it runs by default (`--align-cycles auto`) is yours to run. sprite-gen never calls the MCP. Walk, run and jump only: ZCRE's `grok-imagine-video-1.5` has no end frame, so idle, attack and diagonal walks are refused unless `--unpinned` | [video-pipeline](docs/video-pipeline.md#a-clip-from-a-video-mcp-on-your-agent--zcre) |
| Ordinary image or edit | `gen --provider codex` or `gen --provider grok` (subscription routes) | [gen](docs/gen.md) |
| Image generation with no login available (server, container, SaaS) | `gen --provider openai` — server/SaaS route on `OPENAI_API_KEY`, **billed per call**, never a default or a fallback | [gen](docs/gen.md#subscription-first--openai-is-named-or-it-does-not-run) |
diff --cc sprite_gen/_modules.py
index cc00297,e0ad04c..4f5c029
--- a/sprite_gen/_modules.py
+++ b/sprite_gen/_modules.py
@@@ -28,7 -28,9 +28,10 @@@ MODULE_DOMAIN =
'batch': 'video',
'align': 'video',
'follow': 'video',
+ 'follow_inspect': 'video',
+ 'compare': 'video',
+ 'restoration': 'video',
+ 'source': 'video',
'rife_install': 'video',
'clip_prompt': 'video',
'prepare': 'gen',
diff --cc sprite_gen/cli.py
index 86a9424,830425c..2f1af9a
--- a/sprite_gen/cli.py
+++ b/sprite_gen/cli.py
@@@ -22,7 -22,9 +22,10 @@@ from sprite_gen.video import loop as vi
from sprite_gen.video import clip_prompt as video_prompt
from sprite_gen.video import align as video_align
from sprite_gen.video import follow as video_follow
+from sprite_gen.video import follow_inspect as video_follow_inspect
+ from sprite_gen.video import compare as video_compare
+ from sprite_gen.video import restoration as video_restoration
+ from sprite_gen.video import source as video_source
from sprite_gen.video import rife_install
from sprite_gen.effects import recolor, shadow
from sprite_gen.scene import render, inspect_scene