Logo von Sprite Sheet Pipeline

Sprite Sheet Pipeline

Community
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.

Übersicht

HerausgeberLayrKits
RepositorySprite-Pipeline
Skill-Namesprite-sheet-pipeline
Sterne
595
Forks
61
Mitgelieferte Dateien
Nur Anweisungen
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von LayrKits auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Sprite Sheet Pipeline in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/LayrKits/Sprite-Pipeline/tree/main/skills/sprite-sheet-pipeline
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

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
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Sprite Sheet Pipeline in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Sprite Sheet Pipeline automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Sprite Sheet Pipeline nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

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/.

Häufig gestellte Fragen

Was macht der 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.

Warum Sprite Sheet Pipeline in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Sprite Sheet Pipeline besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Sprite Sheet Pipeline in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/LayrKits/Sprite-Pipeline/tree/main/skills/sprite-sheet-pipeline ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Sprite Sheet Pipeline nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Sprite Sheet Pipeline verwenden?

So viele Sie möchten. In TypingMind können Sie Sprite Sheet Pipeline mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Sprite Sheet Pipeline kostenlos?

Der Skill wird von LayrKits auf GitHub veröffentlicht. Prüfen Sie im Repository, ob dort Lizenzbedingungen angegeben sind. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇