sprite-gen
Skill2.5k starsChanged 59 days agoApache-2.0View on GitHub
Generates images and game sprites through GPT or Grok with guided provider choices, separate saved defaults, automatic cleanup and optional curation. Handles sprite requests, ordinary image generation/editing, standalone image-to-video clips (i2v, animate this still, 그록 영상, 이매진 비디오, 스틸 움직여줘, first/last frame, reference-to-video, 영상 이어붙이기, 영상 편집, extend/edit a clip), clips from a video MCP on the agent (ZCRE, 지크 MCP), chroma removal, animation atlases, video loops, 큐레이션뷰, image candidates, 팔레트 스왑, palette swap, recolor, rig layers, engine exports, repeating backgrounds, projected shadows, motion/contact inspection and optional scene composition from existing assets.
- Reads credentials
1 other project uses a version of this.
Trending
Quiet since October.thin dataabout the whole repository
Most recently taken up by
- liangdabiao/302Spritetheir own version, first seen Aug 17, 2026
Who's talking about aldegad/sprite-gen
- sudosubin/agents.nix“agent-skills.github.aldegad.sprite-gen: 2.29.0 → 2.34.0”GitHub · Oct 5, 2026
- sudosubin/agents.nix“agent-skills.github.aldegad.sprite-gen: 2.26.0 → 2.29.0”GitHub · Oct 5, 2026
- sudosubin/agents.nix“agent-skills.github.aldegad.sprite-gen: 2.20.0 → 2.26.0”GitHub · Oct 5, 2026
- sudosubin/agents.nix“agent-skills.github.aldegad.sprite-gen: 2.6.0 → 2.20.0”GitHub · Oct 3, 2026
- sudosubin/agents.nix“agent-skills.github.aldegad.sprite-gen: init at 2.6.0”GitHub · Sep 25, 2026
The biggest 5 of 7 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 7
Talked about on GitHub (7 times).
On GitHub · 7
- Oct 5, 2026agent-skills.github.aldegad.sprite-gen: 2.29.0 → 2.34.0 — sudosubin/agents.nix0 reactions
- Oct 5, 2026agent-skills.github.aldegad.sprite-gen: 2.26.0 → 2.29.0 — sudosubin/agents.nix0 reactions
- Oct 5, 2026agent-skills.github.aldegad.sprite-gen: 2.20.0 → 2.26.0 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.aldegad.sprite-gen: 2.6.0 → 2.20.0 — sudosubin/agents.nix0 reactions
- Sep 25, 2026agent-skills.github.aldegad.sprite-gen: init at 2.6.0 — sudosubin/agents.nix0 reactions
2 more on GitHub
- Sep 10, 2026學習筆記:sprite-gen 心得與 AOZU 2D 程式碼差距分析 — guyspy/aozu0 reactions
- Aug 14, 2026asset: sprite-gen 설치 및 Samurai 애니메이션 제작 하네스 검토 — goodpeople14/gain-rogue-gba0 reactions · 1 comment
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- liangdabiao/302Sprite★ 28same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 55
Read user-workflow, then run the appropriate read-only guide:
- Very specific: line 66
Keep the side still, canvas placement and motion prompt facing the same direction.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Sprite Gen
Generation entry points: make sprites, make an image, or animate a still into a video. Existing generation, extraction and export tools do the work; the user chooses the result and provider. For repeat a background, project a shadow, inspect motion or compose a scene, use the independent routes below directly with existing assets.
Start every generation request here
For a standalone video clip, read video and use sprite-gen video.
This route works from any agent engine and delivers a verified MP4 plus report.
For sprites or ordinary images, use the guides below.
Read user-workflow, then run the appropriate read-only guide:
$SPRITE_GEN_ROOT/.venv/bin/sprite-gen workflow --kind sprite
$SPRITE_GEN_ROOT/.venv/bin/sprite-gen workflow --kind imagePass choices already stated in the request. The guide checks access, combines explicit choices with saved defaults, and returns only missing questions. Follow its start and finish stages. Always pass the resolved provider explicitly to generation tools. Deliver checked files before offering the curation view; save defaults only when the user agrees. The complete conversation and settings contract is owned by the linked document, not duplicated in individual pipeline docs.
Side-view facing
Keep the side still, canvas placement and motion prompt facing the same direction.
video-set observes each side input once before canvas placement and uses the requested
--facing for both the canvas and clip prompt. Observation is record-only by default;
it never changes the requested direction. Image correction requires explicit opt-in.
| Command option | Values and default | Behavior |
gen --facing | preserve (default), right, left | With --ref, an explicit direction adds a prompt requirement and checks the generated still. |
gen --facing-fix | none (default), mirror, regen | Record without correction; opt into mirroring an observed opposite or regenerating once and rechecking. A still-opposite regeneration is mirrored. |
video --direction | side, front, back, front_diagonal, back_diagonal; unset by default | side opts into facing inspection and a matching prompt requirement; the others skip it. The two diagonals are three-quarter views turned right (VIEW_TEXT); a walk or run in one is filmed pinned (pins_last_frame). |
video --facing, video-set --facing | right (default), left; video-set also right,left | Required side direction. right,left films every side and diagonal view both ways, each from its own still (--base side@left=…); none is mirrored. |
gen --direction, --handed; video-prompt / video-set --handed | a view; "<item>=<left|right> [part]" | An item on one of the character's own sides: the still and clip prompts say where it is in each view, and mirroring is refused. |
video --facing-fix, video-set --facing-fix | none (default), mirror | Record the observation; opt into mirroring an observed opposite in a copy. Batch side inspection is enabled by default. |
Direction is requested through the generation and motion prompts, which cannot guarantee model compliance.
The detector can be wrong even at high confidence: review the still before choosing mirror or regen.
Generation reports record direction, model, requested direction, model-reported confidence and correction
under extra.facing; video reports and batch items use facing. final_direction is an observation
or a value derived from it, not independent verification; final_direction_source identifies which.
An uncertain or failed inspection records unknown and its reason and continues without correction;
front-facing observations also remain unchanged. Mirroring does not preserve left/right accessory handedness.
It stays the default, since drawing the left-facing views costs as much again; for a character with a watch on
one wrist or a pin on one side, offer to draw them instead with --handed and check them with handed-check
(a colour-marked item, frame by frame; --board for the eye) —
handedness. In a side view an item on the far wrist
or hand shows each time that arm swings forward, never hidden for the whole walk: draw that side still mid-stride with
the far arm out in front of the body and the item in view (video-prompt says so under still_needs), do not
hold the arms still, and check the loop with handed-check --state walk.
Execution routes
| Task | Entry | Contract |
| GPT image sprites | prepare, gen-set --provider codex, extract, compose and QA | atlas-workflow |
| Standalone video / animate a still, pin a last frame, reference images | video (--image, --last-frame, --reference) | video |
| Continue or edit an existing clip | video-extend, video-edit | video |
| Grok video sprites | video-set | video-pipeline |
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 |
| 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>). 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 |
| Ordinary image or edit | gen --provider codex or gen --provider grok (subscription routes) | gen |
| 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 |
| Base and direction anchors | anchor | directional-anchor-workflow |
| Curation view or existing image candidates | curation, unpack-atlas --pngs-dir | curation |
| Uniform background removal or imported sheets | cutout, slice-sheet | sheet-slicing |
| Palette swap | sprite-gen recolor-palette, sprite-gen recolor | recolor |
| Rig layer composition | sprite-gen compose-layers | layer-tracks |
| Idle breathing | curation choice, baked by compose | breathing |
| Engine exports | export-aseprite, export-pngs | engine-export |
| Background recipe or repeating tile | existing gen / cutout, then optional background-tile | asset-tools |
| Standalone projected shadow | shadow | asset-tools |
| Duplicate poses, foot contact and stride measurement | inspect-motion | asset-tools |
| Optional scene placement, lighting, camera and render | scene-render, scene-inspect | scene |
| Defaults | defaults show, defaults save, defaults clear | user-workflow |
Say a thing once: what an option says, leave out of the prompt. --direction, --facing, --handed, the key background and video --direction side each add their own sentence after your text, in one place; without --handed every prompt is 2.22.0's, byte for byte, and only the handed sentences are left out where your text already has them. Your prompt carries the subject, its design and its pose. Text that says the opposite of an option ("facing left" with --facing right, the item on the other wrist) is sent as written with a warning (extra.prompt_notes, video-prompt's warnings): fix the prompt, do not send it — prompt-assembly.
gen --transparent with --ref plans a chroma key (adding the key's background line to a prompt that names none), and publishes a result that already came back transparent on its own alpha instead of keying its outline away; alpha.strategy_source in the report says which (refs-attached keyed, refs-attached-raw-alpha not) — gen.
Use existing automatic pipeline stages for background removal, extraction, alignment and export. Do not ask users to select each script. For a direct utility request, run that utility; no unrelated generation questions are needed. Preserve the row pipeline and component extraction for image sprites. One-shot grid generation and fixed cell cutting are not an alternative sprite-generation route.
For attack repeat coverage, observed one-shot returns and structured loop failure reports, follow video-pipeline.
Scene creation consumes finished assets and remains optional. Asset metadata owns frames, native durations and anchors; scene specs own placement, scale, playback rate, planes, camera and light. Measure stride only with declared same-foot contact and an isolated foot ROI; unknown contact stays unverified. Apply only a verified report for the exact selected asset with an explicit scene direction. Never infer walking direction from the bottommost silhouette, reverse frames or change source assets to make a scene work.
실행 인터프리터
SPRITE_GEN_ROOT is the absolute installed repository path. Use $SPRITE_GEN_ROOT/.venv/bin/sprite-gen or $SPRITE_GEN_ROOT/.venv/bin/python; do not assume an activated shell. 폴백 금지: create a missing venv or report the failure, never use an arbitrary global Python. NumPy 가 없는 인터프리터 fails at package import. Setup and diagnosis: interpreter.
RIFE for walk and run loops
video-loop repairs a walk's or run's jump frames and video-set gives a direction set one cycle length, both with RIFE in-betweens. Install it once per machine: $SPRITE_GEN_ROOT/.venv/bin/sprite-gen rife install (pinned rife-ncnn-vulkan 20221029 and model rife-v4.6, SHA-256 checked, into the user data directory, ending with a check frame; Linux without a GPU first needs libvulkan1 mesa-vulkan-drivers). Without it every loop is still cut, as filmed, and says so: a warning: line on stderr, jump_repair.applied: false in the loop report, cycle_align.<state>.applied: false and warnings in set.report.json. When that happens, tell the user which loops went unrepaired and offer the install; after it, cut those loops again and run video-cycle-align. video-loop --repair on and video-cycle-align fail without RIFE instead. loop-repair.
Contracts and advanced tools
run-contract owns numeric requests, run layout, atomic publication and curated exports. architecture explains domain ownership. docs index lists every specialized feature and QA procedure. sprite-gen --help derives the command map from the package catalog. Never replace an engine stage — extraction, the loop cut, set alignment, loop repair — with a script of your own while presenting the result as a pipeline output. Where a stage's result is wrong, use the engine's own options first (another cut with video-loop --max-len or --cycle fixed, video-cycle-align --length, --between auto (the default: a made frame that melted takes the nearer source frame) or --between nearest, or --cycles <loop>=<k> once you have counted a suspect loop's strides), keep the engine's result as the comparison, report the defect against the engine, and name in the delivery each stage done by hand and why. A new clip is for what no stage can reach: the drawing, the motion itself, a clip that holds no whole cycle (loop-review) — and a clip the engine names for one: when the alignment report's retake lists a loop (reason held-drawings: its clip shows each drawing for two or three frames, the set's length leaves it at under 13 drawings a second, and frames between its drawings could not be made, so the loop halts there), run the engine verbs first as above, then film that direction again and align the set anew rather than hand-painting the gap; tell the user what the reason was and that a new take usually fixes it (loop-repair section 4).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

