img2mo-std
Standardize a 2D animation baseline image with `/img2mo-std xxx.png/pos`. Use when preparing a character, creature, prop, or weapon baseline before motion…
Learn reusable 2D motion-generation knowledge from user-specified action resources with `/img2mo-learn <resource>`. Use when the user provides videos, extracted frame sequences, spritesheets, Spine assets, generated outputs, failed attempts, or reference motion folders and wants
$ npx -y skills add WU-HAOTIAN34/2dimg2motion --skill img2mo-learn --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/img2mo-learnContext preview
The summary Claude sees to decide when to auto-load this skill.
Learn reusable 2D motion-generation knowledge from user-specified action resources with `/img2mo-learn <resource>`. Use when the user provides videos, extracted frame sequences, spritesheets, Spine assets, generated outputs, failed attempts, or reference motion folders and wants
name: img2mo-learn description: Learn reusable 2D motion-generation knowledge from user-specified action resources with `/img2mo-learn <resource>`. Use when the user provides videos, extracted frame sequences, spritesheets, Spine assets, generated outputs, failed attempts, or reference motion folders and wants to summarize animation timing, pose beats, style traits, prompt patterns, extraction/cropping rules, or failure lessons into the project `img2mo-knowledge/` folder for later `/img2motion` generation.
Use this skill when the user invokes:
/img2mo-learn <resource-path-or-folder> img2mo-learn <resource-path-or-folder>
The goal is to turn finished or reference motion assets into reusable project knowledge. Store learned knowledge in the project-level `img2mo-knowledge/` folder, never in the installed Codex skill directory during normal work.
Resolve the argument after `img2mo-learn` as follows:
1. If it is an existing relative or absolute path, use it directly. 2. If it is a bare name, first try `sample\<name>`, then `output\<name>`, then `motion\<name>`. 3. If it is a folder, inspect likely assets in this order: `manifest.json`, `preview.gif`, `contact-sheet.*`, `spritesheet.*`, `fullframe/`, `frames/`, Spine `.json/.atlas/.skel`, then videos. 4. If no matching resource exists, report the missing path and ask for the correct path.
Supported resources:
Create this structure if missing:
img2mo-knowledge/ |-- index.md |-- learnings.jsonl |-- action-patterns.md |-- style-patterns.md |-- prompt-patterns.md `-- failures.md
Append one JSON object per learning session to `img2mo-knowledge/learnings.jsonl`. Keep Markdown files concise and curated; do not paste huge logs, full prompts, or complete frame listings.
1. **Identify the resource type.**
2. **Create review surfaces if useful.**
3. **Summarize motion timing.**
4. **Summarize pose and topology lessons.**
5. **Summarize style lessons.**
6. **Summarize prompt lessons.**
7. **Summarize failures and constraints.**
8. **Write project knowledge.**
Each line in `img2mo-knowledge/learnings.jsonl` should be a compact JSON object:
{
"id": "learn-YYYYMMDD-HHMMSS-short-name",
"date": "YYYY-MM-DD",
"source": "relative/or/absolute/path",
"resource_type": "video|frame_sequence|spritesheet|spine|output|reference_folder",
"action_type": "attack|walk|idle|block|suffer|death|born|skill|unknown",
"fps": 24,
"frame_count": 14,
"loop": true,
"beats": [
{"name": "anticipation", "frames": "02-04", "notes": "body compresses before strike"}
],
"key_pose_guidance": ["frame 05 should be the clearest contact silhouette"],
"topology": {
"active": "screen-left sword hand",
"anchor": "screen-right hand",
"weapon_owner": "screen-left hand"
},
"style": ["thick dark outline", "warm orange shadow shapes"],
"prompt_clauses": ["same foot/bottom baseline in every cell"],
"failure_lessons": ["reject sheets where the weapon hand swaps"],
"artifacts": ["output/.../contact-sheet.jpg"]
}Use `null` for unknown scalar fields and `[]` for empty lists. Keep one line per session.
-
English · 简体中文 2dimg2motion.skill -- not a filter that "makes an image move", but a runnable framework for generating game animation frames Spritesheet delivery pipeline via key-pose redrawing, identity locking, and limb topology constraints, it
Repo: WU-HAOTIAN34/2dimg2motion
Standardize a 2D animation baseline image with `/img2mo-std xxx.png/pos`. Use when preparing a character, creature, prop, or weapon baseline before motion…