Skip to content
Skills Library
Programming · Conversion & formats

spriteframe

/spriteframe

Process a supplied character animation video into reviewed fixed-canvas PNG frames and a Godot 4 SpriteFrames resource. Use for local video-to-sprite workflows; this tool does not generate video or install assets into a game.

Licence
MIT
Last repository change
11.11.2026

Assessment and security

86/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content21 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
1
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 11.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/spriteframe.py

What it does and when to use it

Process a supplied character animation video into reviewed fixed-canvas PNG frames and a Godot 4 SpriteFrames resource. Use for local video-to-sprite workflows; this tool does not generate video or install assets into a game.

Original author description

Process a supplied character animation video into reviewed fixed-canvas PNG frames and a Godot 4 SpriteFrames resource. Use for local video-to-sprite workflows; this tool does not generate video or install assets into a game.

How it works

SKILL.md has no level-two headings · 14 lines, 280 words

SKILL.md preview
---
name: spriteframe
description: Process a supplied character animation video into reviewed fixed-canvas PNG frames and a Godot 4 SpriteFrames resource. Use for local video-to-sprite workflows; this tool does not generate video or install assets into a game.
---

# SpriteFrame

[简体中文](SKILL.zh.md)

Run `python <skill-dir>/scripts/spriteframe.py --help`. The CLI uses Python 3.10+, Pillow, NumPy and FFmpeg. It can fall back to imageio-ffmpeg when FFmpeg is unavailable on PATH. In Pixel Asset Workshop, the workbench setup installs the Python dependencies. [Workbench setup](../../workbench/README.md)

Use a new output directory for each operation. `inspect` and `process` take `--video`, `--out`, `--duration` and optionally `--start` and `--fps`. `process` also takes `--size 128x128 --anchor 64,112`, optionally `--key 00ff00 --tolerance 60`, and the source acceptance flag. `approve` takes `--job` and `--reviewer`. `export-godot` takes `--job`, `--out`, `--name` and `--res-path res://sprites/attack`. Copy the output folder to that location inside the target Godot project.

1. Run `inspect` and view the contact sheet. Ask the user to approve the source clip, and specify a time window before processing. A source acceptance flag records this explicit human decision; do not set it on the user's behalf.
2. Run `process` with a single fixed transform, chosen output size and anchor. Flat-colour keying is optional and limited: inspect the output against both backgrounds, including at game size. Inspect every frame and the animation; automatic checks do not judge identity, weapon shape or motion. Reprocess into a new directory when necessary.
3. Only after the user explicitly accepts the processed frames, run `approve` with their name. `export-godot` checks approval and hashes of the frames, and creates a standalone Godot 4 resource package. Never treat automated QA or the agent's inspection as user approval.
4. Installation into a game, project-specific playback, live cloud generation, costs, and rollback are outside this local tool. Investigate the actual target project and get the appropriate authorization before modifying it. Never claim Godot loading or in-game playback was verified without running it.
Files in this package (3)
  • SKILL.md 2 KB
  • SKILL.zh.md 1 KB
  • scripts/spriteframe.py 13 KB

Versions

The database has no other skills named spriteframe.

Database snapshot: 13.11.2026 · package version f933248787b3 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100spritecook-use-assets-in-godot
    Godot workflow for SpriteCook assets. Use when the user wants to turn SpriteCook spritesheet PNGs, animation assets, or character animation runs into Godot SpriteFrames resources and AnimatedSprite2D/AnimatedSprite3D animation nodes. Covers both manual spritesheet-to-Godot setup…
  • 100godot-2d-animation
    Expert patterns for 2D animation in Godot using AnimatedSprite2D and skeletal cutout rigs. Use when implementing sprite frame animations, procedural animation (squash/stretch), cutout bone hierarchies, or frame-perfect timing systems. Trigger keywords: AnimatedSprite2D,…
  • 100godot-2d-animation
    Expert patterns for 2D animation in Godot using AnimatedSprite2D and skeletal cutout rigs. Use when implementing sprite frame animations, procedural animation (squash/stretch), cutout bone hierarchies, or frame-perfect timing systems. Trigger keywords: AnimatedSprite2D,…
  • 100generate2dsprite
    Make game-ready 2D characters, creatures, props, icons and FX as master stills, sprite sheets or animation clips. Plan size, motion and finish; generate the art (image generation is the default, through generate2dmedia route_media.py - the API when a key is configured, else the…
  • 100video-character-design
    Create character design documentation and character design sheet images for video, storyboard, advertising, animation, or AI video-generation workflows. Use this skill whenever the user asks to design a character, extract a character from a reference image, make a character…
  • 85animation-review
    Reviews Godot Animation implementation for known pitfalls. Triggers AFTER implementation, when code involves AnimationPlayer, AnimationTree, AnimatedSprite2D, SpriteFrames, AnimationNodeStateMachine, BlendSpace, OneShot, callback_mode_process, or animation playback control…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.