Sprite Animation Assets logo

Sprite Animation Assets

Community
DwDestiny
sprite-animation-assets

Plan, generate, QA, and package continuous raster animation frame sets, GIF previews, and transparent spritesheet atlases. Use when the user asks for a GIF animation, animation frames, sprite rows, web/game animation assets, or reusable visual animation materials.

Overview

PublisherDwDestiny
Repositorycodex-visual-asset-skills
Skill namesprite-animation-assets
Stars
62
Forks
3
Bundled files
3
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by DwDestiny on GitHub. Read the source before you install it.

Installation

Install the Sprite Animation Assets AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/DwDestiny/codex-visual-asset-skills/tree/main/skills/sprite-animation-assets
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/DwDestiny/codex-visual-asset-skills.git /tmp/codex-visual-asset-skills
mkdir -p .claude/skills
cp -r /tmp/codex-visual-asset-skills/skills/sprite-animation-assets .claude/skills/sprite-animation-assets
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Sprite Animation Assets in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Sprite Animation Assets on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Sprite Animation Assets is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Sprite Animation Assets

核心判断

动画素材的关键不是“单张图好看”,而是同一个角色或物体在每一帧里保持身份一致、尺寸一致、背景透明、动作能循环。先定义帧规格和状态,再逐组生图,最后用脚本组装和验收。

适合输出:连续帧 PNG、单状态 GIF、透明 spritesheet、固定网格 atlas、网页/游戏动画素材。

不适合输出:单张透明素材;这类转给 $transparent-visual-assets。

工作流

  1. 定义规格:状态名、每个状态帧数、画布尺寸、输出格式。
  2. 生成或确认一张 canonical base image,作为所有帧的身份锚点。
  3. 分状态生成连续帧;每组帧都要使用同一角色参考和同一纯色背景或透明背景策略。
  4. 目视 QA:身份一致、动作连贯、无漂浮杂点、无文字、无阴影地面、无裁切。
  5. 如需要,先用 $transparent-visual-assets 把每帧处理成透明 PNG。
  6. 用 scripts/compose_sprite_set.py 组合 atlas,并可导出每个状态的 GIF 预览。
  7. 检查 sprite-set-report.json,再打开 atlas/GIF 做最终验收。

生图提示词要点

每组动画都要锁定身份:

text
Create <frame_count> separated frames of the same <subject> for a looping sprite animation.
Keep the same silhouette, proportions, face, palette, outline style, and accessories in every frame.
Use a flat removable background color <background_color>, with no shadows, text, scenery, motion trails, frame numbers, grid lines, or detached decorative effects.
Each pose must be fully visible, separated from the next pose, and safe to crop into a transparent frame.
Action: <state_action>.

如果需要兼容 Codex 自定义宠物的 atlas 规格,先读 references/sprite-atlas-layouts.md,使用官方 hatch-pet 拆出的 8x9、192x208、9 行状态口径。

组装脚本

准备 manifest:

json
{
  "cell_width": 192,
  "cell_height": 208,
  "columns": 8,
  "states": [
    {
      "name": "idle",
      "row": 0,
      "frames": ["idle_000.png", "idle_001.png"],
      "durations_ms": [120, 120]
    }
  ]
}

运行:

bash
python "${CODEX_HOME:-$HOME/.codex}/skills/sprite-animation-assets/scripts/compose_sprite_set.py" \
  --manifest /absolute/path/manifest.json \
  --frames-dir /absolute/path/frames \
  --output-atlas /absolute/path/spritesheet.png \
  --output-dir /absolute/path/qa \
  --gif

脚本会:

  • 把每帧居中放入固定 cell。
  • 保持未使用 cell 全透明。
  • 输出 sprite-set-report.json。
  • 使用 --gif 时,为每个状态导出一个 GIF 预览。

验收标准

  • 每个状态帧数符合 manifest。
  • 同一角色/物体在所有帧里保持同一身份,不变物种、不变脸、不变配色。
  • 所有帧都是透明背景或可干净抠透明背景。
  • 动作能循环,首尾不明显跳变。
  • spritesheet 未使用格子必须完全透明。
  • GIF 只是预览;最终网页/游戏素材优先交付 PNG 帧或透明 atlas。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Sprite Animation Assets AI skill do?

Plan, generate, QA, and package continuous raster animation frame sets, GIF previews, and transparent spritesheet atlases. Use when the user asks for a GIF animation, animation frames, sprite rows, web/game animation assets, or reusable visual animation materials.

Why use Sprite Animation Assets on TypingMind?

Because you install it once and use it with any model. Sprite Animation Assets is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Sprite Animation Assets in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/DwDestiny/codex-visual-asset-skills/tree/main/skills/sprite-animation-assets. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Sprite Animation Assets?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Sprite Animation Assets?

As many as you like. As long as a model supports skills, you can use Sprite Animation Assets with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Sprite Animation Assets AI skill free?

Yes. It is published on GitHub by DwDestiny under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇