Logo: Sprite Sheet Pipeline

Sprite Sheet Pipeline

Communautéit
LayrKits
sprite-sheet-pipeline

Guide an AI assistant through this repo's 2D animation sprite-sheet workflow. Use when creating animation-safe character image prompts, writing image-to-video prompts, extracting frames from animation videos, matting backgrounds, building and validating horizontal 256 x 256 sprite sheets, promoting final outputs, or explaining game integration.

Iwwersiicht

EditeurLayrKits
RepositorySprite-Pipeline
Skill-Nummsprite-sheet-pipeline
Stären
595
Forks
61
Matgeliwwert Dateien
Nëmmen Instruktiounen
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    LayrKits huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Sprite Sheet Pipeline an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/LayrKits/Sprite-Pipeline/tree/main/skills/sprite-sheet-pipeline
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LayrKits/Sprite-Pipeline.git /tmp/Sprite-Pipeline
mkdir -p .claude/skills
cp -r /tmp/Sprite-Pipeline/skills/sprite-sheet-pipeline .claude/skills/sprite-sheet-pipeline
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Sprite Sheet Pipeline an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Sprite Sheet Pipeline automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Sprite Sheet Pipeline net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Sprite Sheet Pipeline Skill

Use this skill as a routing guide for the repo. Keep detailed rules in the project docs; read only the document needed for the current task.

Start Here

  • Repo overview and folder map: README.md
  • Copy-paste processing commands: docs/QUICKSTART.md
  • Folder roles and cleanup rules: docs/WORKSPACE_CONVENTIONS.md
  • Active pipeline contract and validation rules: docs/ANIMATION_PIPELINE_NOTES.md
  • Frame extraction details: docs/FRAME_EXTRACTION.md
  • Game-side usage assumptions: docs/INTEGRATION_GUIDE.md

Prompting Tasks

If the user asks to create an animation and provides only a still image, do not try to process the image directly through the cleanup pipeline. Reply in substance:

This pipeline is designed to process videos into sprite sheets. Would you like me to write a prompt for a video model based on the provided image and animation description?

Tailor the response to the user input. If they provided no animation description, ask what motion they want. If they provided no asset at all, check Videos/To Be Processed/ for queued videos before asking for a new source.

For a new character image, first pose, character reference, or transition frame, read docs/reference/PROMPTING_IMAGE_MODELS.md.

Default image-prompt goal:

  • one full-body 2D game character
  • animation-safe margins
  • full weapon, hair, cape, cloth, and effects visible
  • centered character
  • flat exact #00FF00 background
  • no shadow, floor, text, watermark, border, props, or background objects

For image-to-video, Kling, or source-footage animation prompts, read docs/reference/PROMPTING_VIDEO_MODELS.md.

Default video-prompt goal:

  • uploaded image is the exact first frame
  • footage is for 2D game animation, not cinematic video
  • define an invisible core registration anchor, usually belt/pelvis/torso core
  • keep that body anchor locked to the same screen-space point
  • do not let the model center on weapon, cloth, hair, effects, or bounding-box extremes
  • locked camera with no zoom, pan, rotation, cuts, or shake
  • character remains registered/centered with all motion inside frame
  • no horizontal screen travel
  • flat exact #00FF00 background with no variation
  • timestamped step-by-step visible motion
  • preserve character design, anatomy, proportions, weapon, and 2D style

For image-to-video jobs, use the context-engineered prompt pattern in docs/reference/PROMPTING_VIDEO_MODELS.md: task, production context, subject scope, fixed registration rule, chroma matte rule, locked camera rule, character preservation, facing/framing rules, timestamped timeline, and failure conditions. Keep the reusable non-motion control block at 2500 characters or less and the motion description at 500 characters or less, including labels.

Return one copy-paste prompt by default. Include avoid/negative constraints inside that prompt unless the target tool explicitly has a separate negative prompt field.

Processing Tasks

Use the current frame-directory workflow. The source of truth is an animation video or ordered frame folder, not a generated grid sheet.

Normal processing order:

  1. Put one source animation video in Videos/ or Videos/To Be Processed/.
  2. Extract ordered PNG frames into work/extracted/<character>/<action>/.
  3. Matte light/off-white backgrounds into work/matted/<character>/<action>/ when needed.
  4. Build a horizontal 256 x 256 sprite strip with tools/animation_pipeline.py.
  5. Review the preview PNG, individual cleaned frames, and JSON report.
  6. Run node tools/serve_sprite_viewer.mjs and open the generated sheet with the Codex integrated Browser tool first. Use a regular desktop browser only after the integrated Browser tool is unavailable or fails. Do not use Playwright CLI as the default human review handoff path. After the server is running, include a Markdown link to the exact review URL in your response so Codex shows a Web preview card with an Open button. Use the link label open sprite viewer for normal review pages.
  7. If vertical or horizontal alignment ran, open the server-hosted alignment review page instead of the plain sheet viewer, and include a Markdown link labeled open alignment review.
  8. Promote only approved sheets and matching cell frames into Final Sprite Sheets/<GameName>/<CharacterName>/<animation>/.

Use --layout-mode preserve-canvas for normal video-derived animations. Use --layout-mode fit-foreground only for legacy recovery or an explicitly foreground-normalized export.

If the user does not specify a frame count, default to 24 frames. Pass --frames 24 to tools/animation_pipeline.py and use 24f_256 in output paths.

Validation And Promotion

Do not promote raw extracted frames. Promote only cleaned pipeline outputs.

Before promotion, verify:

  • output sheet is exactly frames * 256 by 256
  • report status is pass
  • warnings have been visually reviewed
  • no important source or final pixels are clipped
  • preview order and timing feel correct
  • apparent character scale stays consistent across animations
  • final sheet and individual cell frames match exactly

When the hosted alignment review is used, Finalize saves the current working copy, promotes it into Final Sprite Sheets/<GameName>/<CharacterName>/<animation>/, writes exact matching individual frame cells, and opens the promoted sheet in the viewer.

After approval, move the source video to Videos/Processed/ and move non-promoted generated artifacts for that pass into Cleanup/.

Heefeg gestallte Froen

Wat mécht de KI-Skill Sprite Sheet Pipeline?

Guide an AI assistant through this repo's 2D animation sprite-sheet workflow. Use when creating animation-safe character image prompts, writing image-to-video prompts, extracting frames from animation videos, matting backgrounds, building and validating horizontal 256 x 256 sprite sheets, promoting final outputs, or explaining game integration.

Firwat Sprite Sheet Pipeline op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Sprite Sheet Pipeline besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Sprite Sheet Pipeline an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/LayrKits/Sprite-Pipeline/tree/main/skills/sprite-sheet-pipeline an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Sprite Sheet Pipeline benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Sprite Sheet Pipeline benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Sprite Sheet Pipeline domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Sprite Sheet Pipeline gratis?

LayrKits huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇