Game Asset Spine Portrait logo

Game Asset Spine Portrait

Community
zeroa234
game-asset-spine-portrait

将正面立绘拆成完整 RGBA 部件并制作带网格转头、视线、表情和二次运动的 Spine 角色,适用于桌面角色、对话头像与立绘演出。

Overview

Publisherzeroa234
Repositorygame-asset-aesthetic-test
Skill namegame-asset-spine-portrait
Stars
49
Forks
6
Bundled files
21
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.

  • 21 bundled files

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

  • Open source

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

Installation

Install the Game Asset Spine Portrait 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/zeroa234/game-asset-aesthetic-test/tree/main/extensions/skills/game-asset-spine-portrait
  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/zeroa234/game-asset-aesthetic-test.git /tmp/game-asset-aesthetic-test
mkdir -p .claude/skills
cp -r /tmp/game-asset-aesthetic-test/extensions/skills/game-asset-spine-portrait .claude/skills/game-asset-spine-portrait
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Game Asset Spine Portrait 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 Game Asset Spine Portrait 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 Game Asset Spine Portrait 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.

正面立绘 Spine

输入全身或半身正面图、所需表情/手势和实际显示尺寸。输出完整分层、Spine 4.2 JSON、图集和运行时演示。正面视差转头不等于任意角度三维转头。

执行

  1. 先比较 See-through 语义拆层、同画布逐部件编辑和现成 Spine 工具。该项目最终采用 See-through;早期像素差分切层已被否定,不要因旧脚本还在就当默认路线。
  2. 基础图双手与衣身分开;尾巴、翅膀、发饰逐一描述位置与形状。表情同画布只改局部,核对画布一致、头部偏移和前景 IoU。历史目标偏移 <0.5px、IoU >0.99,应按实际显示尺寸确认。
  3. See-through 先检层完整性再绑骨。分辨率越高不保证部件越全;缺裙子/头饰时尝试另一种子或较低分辨率,再以整层替换。不同次推理的深度标尺不直接互比。
  4. 需要高分辨率头部时使用附带节点补丁,先 git apply --check 确认上游版本兼容。头部结果通过 latest.txt 另存时,串行运行并核对本次记录;背面无脸可能不更新记录,不能复制上一张脸。
  5. 把层按原始 pad/resize 变换还原到同一画布;以预乘 alpha 缩放,按逐像素深度合并。保留模型生成的完整轮廓,不把可见部分替换回原图像素。虹膜/嘴等局部使用完整 RGBA。
  6. 先查重合成再生成网格与权重。头部转动必须有连续形变网格;手势更换使用独立附件/骨骼,表情用插槽切换,眼白裁剪虹膜。头发/衣摆优先用 Spine 4.2 原生物理。

配套工具

进入 assets/workspace/,配置 COMFYUI_DIR,按 sources 安装节点、模型与超分权重。准备本次 front.png、See-through 导出和 DWPose:

sh
python scripts/seethrough-to-layers.py front.png seethrough poses.json layers
python scripts/front-rig.py layers rig --name character
python scripts/spine-pack.py rig --name character
node scripts/spine-verify.mjs rig character

同画布编辑提示词与节点 API 工作流附在 config。ComfyUI API 图须用现场 /object_info 校对节点输入,旧模板不是跨版本契约。

验收与失败经验

重合成误差超过历史参考约 12/255 或 alpha_miss 超过 1% 时先定位缺层。检查原尺寸头部、手腕、肩颈和发际线,再查转头/眨眼/张嘴/手势过渡。导入实际 app 后才可声称在 app 跑通。

爆炸图曾在中间保留整人且漏部件;Qwen-Image-Layered 曾按色彩/阴影拆层而非人体语义;通用矢量化破坏渐变、睫毛和虹膜。超分只能改善清晰度,不能补缺失部件或错误轮廓。8GB 显卡可行性当时仅从较大显卡的峰值推测,不能当真实 8GB 实测。

资源获取见 sources.md,附带代码及适配边界见 implementation.md。

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 Game Asset Spine Portrait AI skill do?

将正面立绘拆成完整 RGBA 部件并制作带网格转头、视线、表情和二次运动的 Spine 角色,适用于桌面角色、对话头像与立绘演出。

Why use Game Asset Spine Portrait on TypingMind?

Because you install it once and use it with any model. Game Asset Spine Portrait 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 Game Asset Spine Portrait in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/zeroa234/game-asset-aesthetic-test/tree/main/extensions/skills/game-asset-spine-portrait. 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 Game Asset Spine Portrait?

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 Game Asset Spine Portrait?

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

Is the Game Asset Spine Portrait AI skill free?

It is published on GitHub by zeroa234. Check the repository for licensing terms. 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 👇