Логотип Skintokens Auto Rigging

Skintokens Auto Rigging

Организация
SummerEngine
skintokens-auto-rigging

Автоматический риггинг без подключения к сети с помощью skin-tokens.cpp (порт GGML SkinTokens/TokenRig): создание скелета и весов скиннинга для статической GLB-сетки на CPU/Vulkan с передачей в Summer Engine.

Обзор

ИздательSummerEngine
Репозиторийsummer
Название навыкаskintokens-auto-rigging
Звёзды
91
Форки
8
Файлы в комплекте
1
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 1

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — SummerEngine. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Skintokens Auto Rigging в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/SummerEngine/summer/tree/main/library/skills/skintokens-auto-rigging
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SummerEngine/summer.git /tmp/summer
mkdir -p .claude/skills
cp -r /tmp/summer/library/skills/skintokens-auto-rigging .claude/skills/skintokens-auto-rigging
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Skintokens Auto Rigging в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Skintokens Auto Rigging, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Skintokens Auto Rigging не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Auto-Rigging Static Meshes with skin-tokens.cpp (SkinTokens/TokenRig) in Summer Engine

About the tool

skin-tokens.cpp is published by the localai-org GitHub organization. It is an Apache-2.0 C++23/GGML port of VAST-AI's MIT-licensed SkinTokens/TokenRig research model (arXiv:2602.04805). It ships a flat C11 API, an ASan/UBSan libFuzzer build, CPU/Vulkan numerical-parity tests against the upstream reference, and a Go/WebGL demo. The weights are a non-retrained GGUF conversion (~1.25 GB F16) on Hugging Face.

Limitations to plan around:

  • The fully automatic rig command (unconstrained skeleton generation) is explicitly experimental — the policy can produce unsuitable bone topologies.
  • The author's own demo shows open issues combining the output with kimodo.cpp skeletal animations.
  • Generation recomputes the Qwen3 graph without a KV cache and may take several minutes per mesh; dense decoder queries are capped at 16K vertices per graph (chunked beyond that).
  • Results are strongest on shapes resembling the training distribution (humanoids; trained on ArticulationXL 2.0, VRoid Hub, ModelsResource).

Recommendation: worth adopting as an offline asset-prep tool in the art pipeline, primarily the skin command (weights for an existing skeleton). Treat rig-generated skeletons as drafts that need artist review before animation use.

Outcome

Static .glb meshes (e.g. AI-generated or scanned characters/creatures) become rigged, skinned .glb assets that Summer Engine imports natively as Skeleton3D + skinned MeshInstance3D, ready for AnimationPlayer/retargeted animation — without manual weight painting.

When to Use

  • You receive an unrigged character/creature mesh and need a fast first-pass rig or skin weights.
  • You have an existing armature (e.g. a mocap/Kimodo-style skeleton GLB) and only need learned skin weights for a mesh (skin command — the reliable path).
  • Batch-rigging many props/characters where hand-painting weights is not cost-effective.

When NOT to Use

  • Hero characters needing production-quality, art-directed deformation — plan for manual weight cleanup after auto-rigging.
  • Non-triangle meshes (tool accepts arbitrary triangle meshes only; triangulate first).
  • Shapes far from the training distribution (expect weaker results; run --geometric diagnostic to compare).
  • Runtime/in-engine rigging — this is an offline CLI/library step, not an editor plugin.

Core Principle

TokenRig models the whole rig — skeleton hierarchy followed by discrete skin-weight tokens (SkinTokens, an FSQ-CVAE vocabulary) — as one autoregressive sequence generated from a Michelangelo point-cloud encoding of the mesh (Qwen3-0.6B backbone, GRPO-refined). skin-tokens.cpp re-runs this stack through GGML on CPU or Vulkan and exports a standard skinned glTF/GLB with a one-frame rest pose, so it opens as a conventional rigged asset in any engine.

Pipeline shape (Summer Engine)

static character.glb
      │
      ▼
[skin-tokens-cli]  rig | skin   (offline, CPU or Vulkan, minutes per mesh)
      │
      ▼
character-rigged.glb   (skeleton + skin weights + rest pose, skinned glTF)
      │
      ▼
Summer Engine import  →  character-rigged.glb (scene)
      └── Skeleton3D
            └── MeshInstance3D (skinned, Skin resource)
      └── AnimationPlayer / retargeted animations

Keep raw static meshes and rigged outputs as separate files under the asset folder convention, e.g. assets/chars/<name>/source.glb and assets/chars/<name>/rigged.glb, so re-rigging never destroys source art.

Setup (once)

  1. Build the CLI (Linux; C++23 toolchain, CMake ≥ 3.25, Ninja, nlohmann-json, Vulkan unless disabled):
    bash
    git clone https://github.com/localai-org/skin-tokens.cpp
    cd skin-tokens.cpp
    git submodule update --init --recursive
    cmake -S . -B build/release -G Ninja -DCMAKE_BUILD_TYPE=Release   # add -DSKINTOKENS_ENABLE_VULKAN=OFF if no Vulkan
    cmake --build build/release -j
    cmake --install build/release --prefix ./dist
    ctest --test-dir build/release --output-on-failure
    ./build/release/bin/skintokens-cli inspect models/SkinTokens-GGUF/F16   # sanity check after weights download
  2. Download the F16 GGUF bundle (keep the 3 files together; runtime checks their embedded identities):
    bash
    hf download LocalAI-io/SkinTokens-GGUF --include "F16/*" --local-dir models/SkinTokens-GGUF
    (~1.25 GB: mesh-encoder 57.8 MB + tokenrig 948.6 MB + skin-vae 244 MB. Use F32 only for numerical-parity work.)

Implementation Steps

1. Auto-rig a static mesh (draft skeleton + weights)

bash
./build/release/bin/skintokens-cli rig models/SkinTokens-GGUF/F16 \
  character.glb character-rigged.glb --device vulkan --postprocess
  • --postprocess applies upstream's surface-locality heuristic (smoother, local influences); omit it only to preserve raw learned weights.
  • Output stores a one-frame rest pose; inspect the skeleton topology before animating (experimental mode — see Failure Modes).
  • Use --geometric as a non-learned baseline diagnostic when results look wrong.

2. Re-weight against an existing skeleton (preferred when an armature exists)

bash
# One rigged GLB supplies both geometry and skeleton (old weights ignored):
./build/release/bin/skintokens-cli skin models/SkinTokens-GGUF/F16 \
  character-rigged.glb character-rigged.glb character-reweighted.glb \
  --device vulkan --fit none

# Or separate mesh + animated skeleton GLBs (e.g. Kimodo animation output):
./build/release/bin/skintokens-cli skin models/SkinTokens-GGUF/F16 \
  character.glb motion.glb animated.glb --device vulkan --fit global

Fit modes:

--fitWhenBehavior
global (default)Mesh and skeleton in different coordinatesOne uniform scale + translation matching vertical extent and centre; preserves relative joint positions and bone-length ratios
noneBoth files already share coordinatesNo alignment transform
articulatedRecognized humanoid arm chains; experimentalPicks whichever of rest pose / first animation frame actually runs inside the arms (bind pose == frame zero → playback starts without warping); falls back to analytic two-bone IK toward conservative mesh targets, preserving arm segment lengths

3. Import into Summer Engine

Drop the rigged .glb into the project; the glTF importer creates the scene automatically:

  • Skeleton3D with bones and a skinned MeshInstance3D (Skin resource), rest pose included.
  • Check in the Import dock: mesh, skeleton, and (if supplied) animations present.
  • If the source GLB contains animations and the hierarchy matches, the importer puts them into an AnimationPlayer; otherwise use retargeting (SkeletonProfileHumanoid, see the retarget skill) to map animations onto the generated skeleton.
  • glTF round-trip note from upstream: on Blender export of results, a glTF_not_exported node may need removing (only relevant if the pipeline goes through Blender).

4. Optional editor tooling (typed GDScript)

An EditorScript wrapper to rig assets from inside the editor:

gdscript
@tool
extends EditorScript

const CLI := "/opt/skin-tokens.cpp/build/release/bin/skintokens-cli"
const MODEL_DIR := "/opt/skin-tokens.cpp/models/SkinTokens-GGUF/F16"

func _run() -> void:
	var src := "res://assets/chars/goblin/source.glb"
	var dst := "res://assets/chars/goblin/rigged.glb"
	var args: PackedStringArray = [
		"rig", MODEL_DIR,
		ProjectSettings.globalize_path(src),
		ProjectSettings.globalize_path(dst),
		"--device", "vulkan", "--postprocess",
	]
	var output: Array = []
	var err := OS.execute(CLI, args, output, true, false)
	if err != 0:
		push_error("skin-tokens-cli failed (%d): %s" % [err, "\n".join(output)])
		return
	print("Rigged: ", dst)
	# Reimport so the new GLB appears in the FileSystem dock.
	EditorInterface.get_resource_filesystem().scan()

For embedding in a tool/asset server, prefer the flat C11 API (skintokens.h): st_model_load → st_rig_file / st_skin_files / st_inspect_glb_file, with caller-owned error buffers; C++ exceptions never cross the ABI.

Tunables

ParameterMeaningGuidance
--devicecpu or vulkanVulkan if available; CPU works but slower. F16 for normal inference
--postprocessSurface-locality weight smoothingOn for game characters; off only to keep raw weights
--fitSkeleton↔mesh alignment (global, none, articulated)global default for separate files; none when coordinates match; articulated experimental humanoid-arm fix
--geometricNon-learned diagnostic riggingCompare against learned output when results look wrong
F16 vs F32 bundlePrecisionF16 (~1.25 GB) normal; F32 parity work only
Vertex budgetDense decoder queries capped at 16K verts/graph, chunked beyondVery dense meshes are handled in chunks; expect longer runs

Failure Modes & Gotchas

  • Unsuitable skeleton topology from rig (experimental policy) — always have an artist inspect bones before animating; re-run or fall back to a template skeleton + skin.
  • Animation combination issues: the author reports unresolved problems combining skin-tokens.cpp rigs with kimodo.cpp skeletal animations (visible at the end of the demo video). Verify any animation transfer manually.
  • Warped first frame when the supplied skeleton's pose doesn't match the mesh: use --fit global (or articulated for humanoid arms) so bind pose aligns with the mesh; --fit none only when coordinates already match.
  • Out-of-distribution shapes degrade quality silently — no error is raised. Spot-check deformation visually.
  • Runtime: several minutes per mesh (no KV cache); do not put this in a per-frame or hot-reload path — batch offline.
  • Bundle integrity: the three GGUF files of a bundle must stay together; load fails identity checks otherwise.
  • Vulkan precision: slightly looser numerics than CPU (7.1e-4 hidden state / 1.4e-3 logits relative L2 vs 8.1e-6 CPU F32); visually equivalent but use F32+CPU for parity debugging.
  • Upstream GPU path (Python VAST-AI repo) needs an NVIDIA GPU ≥ 14 GB — use the C++ port instead for CPU/Vulkan machines.

Verification

Not yet verified in Summer Engine. To validate:

  1. skintokens-cli inspect models/SkinTokens-GGUF/F16 succeeds after build + weights download.
  2. Rig a known test mesh (rig … --postprocess) and open the output in the editor: Skeleton3D with sensible bone hierarchy + skinned MeshInstance3D, no import errors.
  3. Pose one bone in the editor; confirm the surface deforms smoothly without bleeding across disconnected parts.
  4. skin path: feed a mesh + animated skeleton GLB with --fit global; play the animation in the editor and confirm frame zero does not warp the mesh.
  5. Re-run ctest / parity binaries if the CLI is rebuilt or GGML is updated.

Confidence

extracted — All tool behavior, commands, flags, sizes, numerics, and caveats come from the retrieved GitHub README, Hugging Face model card, upstream VAST-AI repo, and the author's X announcement (including the self-reported kimodo.cpp animation issue). The import mapping and GDScript wrapper are adaptations, not from the sources.

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Skintokens Auto Rigging?

Автоматический риггинг без подключения к сети с помощью skin-tokens.cpp (порт GGML SkinTokens/TokenRig): создание скелета и весов скиннинга для статической GLB-сетки на CPU/Vulkan с передачей в Summer Engine.

Зачем использовать Skintokens Auto Rigging в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Skintokens Auto Rigging — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Skintokens Auto Rigging в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/SummerEngine/summer/tree/main/library/skills/skintokens-auto-rigging. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Skintokens Auto Rigging?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Skintokens Auto Rigging?

С любым количеством. В TypingMind вы можете использовать Skintokens Auto Rigging с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Skintokens Auto Rigging?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — SummerEngine. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип nexu-io

Last30days

nexu-io
ОрганизацияПопулярный

Recent community and social trend research over the last 30 days. Use when the brief asks what people are saying now, recent sentiment, community reactions, social proof, launch reaction, trend scan,…

11.5K
98.9K
Файлы: 58
Открыть
Логотип ruvnet

Swarm Advanced

ruvnet
СообществоПопулярный

Advanced swarm orchestration patterns for research, development, testing, and complex distributed workflows

12.8K
97.4K
Инструкции
Открыть
Логотип nexu-io

Dcf Valuation

nexu-io
ОрганизацияПопулярный

Оценка публичных компаний методом дисконтированных денежных потоков и анализ внутренней стоимости. Используйте, если в запросе упоминаются DCF, справедливая стоимость, внутренняя стоимость, целевая цена, недооценённость или переоценённость либо…

11.2K
96.7K
Файлы: 1
Открыть
Логотип nexu-io

Magazine Web Ppt

nexu-io
ОрганизацияПопулярный

Для маркетинга и GTM-задач: связывайте запуски, кампании, мероприятия и планы развития бренда с ростом и результатами по воронке продаж. Навык построен вокруг основного запроса "annual-marketing-plan", предполагает стратегическое мышление руководителя GTM-направления…

11.2K
96.7K
Файлы: 9
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇