home / skills / chen19007 / my_skills / aseprite-tags
This skill extracts animation tag metadata from .aseprite files and lists actions, frame ranges, directions, and colors without Aseprite.
npx playbooks add skill chen19007/my_skills --skill aseprite-tagsReview the files below or copy the command above to add this skill to your agents.
---
name: aseprite-tags
description: Extract animation tag metadata (names, frame ranges, directions, colors) from .aseprite files without Aseprite; use when asked to list actions/animations, frame tags, or audit tags across multiple Aseprite assets.
---
# Aseprite Tag Extraction
## Quick start
- Run `python scripts/extract_aseprite_tags.py <file-or-folder-or-glob> [...]`.
- Directories are scanned for `*.aseprite`.
- Output is Markdown by default; use `--json` for structured output.
## Workflow
1. Identify target `.aseprite` files.
2. Run the script with a file, folder, or glob.
3. Use tag names and inclusive frame ranges (`from-to`) as animation actions.
## Notes
- Frame ranges are **inclusive**.
- Tag chunks may appear multiple times; the script de-duplicates identical tags.
- If no tags exist, it prints `(no tags found)` for that file.
## Examples
```bash
python scripts/extract_aseprite_tags.py d:\project\godot\blockking\assets
python scripts/extract_aseprite_tags.py "d:\project\godot\blockking\assets\*.aseprite"
python scripts/extract_aseprite_tags.py d:\project\godot\blockking\assets\Knight Templar.aseprite --json
```
## scripts/
- `scripts/extract_aseprite_tags.py`: Parse Aseprite binary format and output tag lists.
This skill extracts animation tag metadata (names, inclusive frame ranges, directions, and colors) directly from .aseprite files without requiring Aseprite. It scans files, folders, or glob patterns and returns deduplicated tag lists in Markdown or JSON for integration into pipelines. Use it to quickly enumerate actions and audit tag consistency across multiple assets.
The script parses the Aseprite binary format to locate tag chunks and reads each tag's name, from-to frame range (inclusive), direction, and color. It scans a single file, recurses a directory for *.aseprite files, or accepts glob input. Output is Markdown by default and can be emitted as structured JSON for automation.
Does this require the Aseprite application?
No. The script parses the Aseprite binary format directly and does not need the Aseprite app.
Are frame ranges inclusive or exclusive?
Frame ranges are inclusive; treat both endpoints as part of the animation.