Token导航 LogoToken导航TokenDH.com
待分类需要联网github未标认证来源可访问许可证需确认审计通过

animated-sprite-gen动画精灵生成

Agent Skill

animated-sprite-gen 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,248

周安装

50

GitHub Stars

176

下载量

404
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:animated-sprite-gen(动画精灵生成)
来源仓库:https://github.com/jamditis/claude-skills-journalism
仓库路径:skills/animated-sprite-gen
安装命令:
npx skills add https://github.com/jamditis/claude-skills-journalism --skill animated-sprite-gen
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jamditis/claude-skills-journalism --skill animated-sprite-gen

简介

animated-sprite-gen 利用 AI 图像模型批量生成一致性的动画精灵图,提升游戏美术资产生产效率。

  • 适用于像素艺术、独立游戏或复古风格项目,通过锚定参考帧保持画风统一性。
  • 采用整条动画带生成而非单帧处理,结合硬件加速技巧优化输出质量和渲染性能。
  • 需准备高质量种子帧作为模型锚点,并合理设置画布尺寸与导出格式以满足目标平台要求。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Animated game sprite generation

A workflow for generating consistent animated sprite sheets using AI image models (GPT Image 1.5, Nano Banana 2, or similar). The key insight: generate full animation strips from a single anchor frame, not frame-by-frame.

Core workflow

1. Start from a shipped seed frame

Anchor the model to an actual production sprite, not a loose concept. This locks in palette, proportions, line weight, and shading direction.

2. Build a reference canvas

Don't send the raw sprite directly. Upscale with nearest-neighbor and place into a larger transparent canvas (1024x1024) with reserved frame slots.

# Upscale a 64x64 sprite to fit in a 1024x1024 edit canvas
# with reserved slots for animation frames

The larger canvas gives the model room to generate multi-frame sequences.

3. Generate full strips, not individual frames

Frame-by-frame generation causes character drift. Instead, request the entire animation strip in one prompt:

Generate a [N]-frame [animation_type] animation strip of this character.
Keep the character consistent across all frames.
Arrange frames left-to-right in a single row.
Maintain the same art style, proportions, and color palette.

This produces much better consistency than iterative frame edits.

4. Normalize into game-ready frames

The raw strip needs post-processing:

  • Detect individual sprite components in the strip
  • Use the anchor image to compute a shared scale for all frames
  • Optionally lock frame 1 to the exact shipped idle frame
  • Export to standard frame size (e.g., 64x64) with transparency padding

5. Handle complex poses

When one pose is taller than another (e.g., sword-up attack vs neutral):

  • Use one global scale for the entire strip
  • Let pose differences show as extra height inside the frame
  • Never scale individual frames independently (causes size inconsistency)

Model comparison for sprites

ModelStrengthWeakness
GPT Image 1.5Good anchor-based editing, edit API supports canvas workflowFrame size consistency varies
Nano Banana 2Better consistency across frames, cheaper, fasterMay struggle with complex directions
Retro Diffusion ProPurpose-built for pixel art (uses Gemini)More specialized, less flexible

Community reports suggest NB2 outperforms GPT Image 1.5 for sprite sheet consistency. Limiting output to max 9 objects per request reduces hallucinations.

Tips

  • Isometric sprites: Still an open challenge — no established best practice yet
  • Consistency ceiling: Limit strips to 4-8 frames per generation for best results
  • Video-to-sprite alternative: Generate an animation of the character, then slice frames and use OpenCV for realignment and framing
  • ChatGPT shortcut: Ask DALL-E for a spritesheet, then ask Data Analysis to "slice this sprite sheet and make a gif" with frame dimensions

Verification checklist

  1. Anchor frame matches shipped production sprite exactly
  2. All frames share the same global scale
  3. Frame 1 is locked to the original idle sprite
  4. Preview in-engine before marking as production-ready
  5. Check for palette drift between first and last frames

Attribution

Based on "Generating Animated Game Sprites using GPT 5.4 + Image 1.5" by @chongdashu on X (Mar 2026). Original guide covers the anchor-frame workflow, canvas setup, strip normalization, and pose handling for consistent AI-generated sprite animations.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

31.85%
按下载量换算129

Claude

31.44%
按下载量换算127

Cursor

19.08%
按下载量换算77

Gemini CLI

8.71%
按下载量换算35

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills