Scenario Maya Deformation 标志

Scenario Maya Deformation

组织
scenario-labs
scenario-maya-deformation

适用于在 Maya 中为角色蒙皮(“bind skin”“fix the weights”、权重绘制、Skin Tools 或 ngSkinTools 图层),或变形效果不理想(挤压变形、糖果纸般的手腕、肘部或肩部塌陷、体积流失、衣物穿模)的情况;也适用于为 Unreal 或 Unity 镜像、复制或封顶蒙皮权重,创建混合变形、修正形变或姿势空间变形(由 IK 驱动关节的 Pose Editor),制作带形状或关节的面部绑定,处理多个 skinClusters、Delta Mush 或 ML Deformer,或运行动作范围变形测试。

Add to TypingMind

概览

发布者scenario-labs
代码仓库skills
技能名称scenario-maya-deformation
星标数
970
复刻数
114
附带文件
6
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 6 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 scenario-labs 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Scenario Maya Deformation AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/scenario-labs/skills/tree/main/skills/dcc/maya/scenario-maya-deformation
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scenario-labs/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/dcc/maya/scenario-maya-deformation .claude/skills/scenario-maya-deformation
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Scenario Maya Deformation,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Scenario Maya Deformation。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Scenario Maya Deformation 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Maya deformation (character TD)

Expert deformation is decided before the first weight: joint pivots and edge loops set what skinning can do. Weights are then built region by region, judged in motion at extremes with numbers and renders, and every fault is fixed where it originates. Stance: block rigid, diagnose, smooth and shape, correct what weights cannot, and keep everything regenerable as data. If a sibling skill named here is missing from your available skills, ask the user to install it (npx skills add scenario-labs/skills --skill <name>); unattended, proceed from tool schemas and flag the gap.

REQUIRED BACKGROUND: scenario-maya-expert (execution channel, review loop, 2027 version traps).

Module scripts/mx_skin.py: weights IO, region blocking, masks, mirror, transfer, ROM generator, deformation metrics, correctives, Skin Tools wrappers. Status (2026-09-24): its pure-Python half ran offline (test_mx_skin_offline.py, all pass); every Maya call is not yet run in Maya (tests: tests/code/maya-deformation/run_all.sh, via mx_run.py). import sys; sys.path.insert(0, "<skills>/scenario-maya-deformation/scripts"); import mx_skin as S

Stance (the expert delta)

  • Raw blocked weights are a rig test. Assign every vertex 100% to its closest joint and pose: it "should look relatively close to your expected final result"; if not, fix pivots, placement or loops first. Smoothing a rig fault away: "don't do this in production" (Makauskas). Loops running along the wrist or ankle are the modeler's fault; volume loss at a clean elbow is the rig's (antCGi).
  • Fill the region, art-direct in the mask. One layer per decision: twist joints get an even fill, the shape of shrug, shoulder and elbow lives in the mask, so re-smoothing twists never breaks the elbow (Jao). "Mask is not an actual influence", it is the layer's alpha (Makauskas). Headless, S.block_regions composites the same stack and writes once.
  • Judge in motion, one motion per test. Calisthenics: keys every 10 frames, a pose on every second key, back to bind between, never bend and lower together (Makauskas); extreme and "weird" poses expose errors. ML pose data: one joint at a time in about 30 degree steps (Widup).
  • Smoothing is not free. Sparse fingers lose volume: smooth the middle loops, then Sharpen (Makauskas). Measured here [added]: smoothing a 110 degree elbow cut stretch from 3.9x to 1.5x but collapsed the inner elbow (edge ratio 0.19). Deep bends need correctives, not more smoothing.
  • Skin Tools layers are an authoring state. While layers exist, Maya blocks the classic paint, mirror, copy, hammer, set-max-influences and normalize tools; Delete Skin Layers keeps the evaluated weights and is the handoff step (Help). "It's still a normal Maya skin in the end" (Jao).
  • Choose the corrective's space before sculpting. Pre-deformation is "like fixing the original character's mesh" and holds in other poses; post-deformation fixes one posed result, in Transform Space when one joint owns the fix (faster, bounded by that joint's envelope) or Tangent Space when it follows the surface across joints (Help; the cross-joint reading is [added]). Extremes first, then in-betweens (Help). Engines: secondary joints driven by swing-twist pose fractions, each assigned to its LODs (Rudy).
  • Read the joint the rig actually moves. Bind joints driven by IK/FK constraints or an offsetParentMatrix blend are posed through their controls. Pose Editor: create the interpolator without neutral poses, add the controller's driving attributes in Driver Settings, then Add Neutral Poses; Euler Twist when a wrist twists about the forearm (Help). Node readers use dagLocalMatrix, since an OPM drive leaves rotate at 0 [added].
  • Face: budget first, joints for rotation. Ask for the joint and shape budget first; a neutral with lips slightly parted made skinning "night and day easier" (Burton). Eyes, lids and jaw stay on joints even in shape faces, and split shapes must sum exactly to their master (antCGi). The ML Deformer learns what you feed it: skin joints in the Control Collector, Delta Mush removed first, pose coverage over network size (Widup).

Establish first

InputChangesDefault when the brief is silent
Target runtimeinfluence cap, DQ allowed, correctives as shapes or secondary joints, face shapes or jointsfilm-style in Maya: no cap while authoring, prune 0.01 at the end [added]; game: the engine's or lead's cap (Numbers)
Skeleton (scenario-maya-rigging)regions, twist chains, mirror rules, how bind joints are driven (constraint or OPM)bind joints only, rotations zero, L_/R_ names, twist joints in every limb section (3 to 5 in the sources)
Mesh (scenario-maya-retopology-uv)bind method, shellsHeat Map on a watertight single shell with joints inside; Geodesic Voxel for multi-piece or non-manifold
Deformation briefstylized squash (two clusters), clothing, face scope, hero vs background (ML Deformer)body plus clothing as separate skinned meshes; face = jaw, eyes and lids on joints
Skin Tools API (S.skin_tools_probe())layered or plain pathplain cluster with in-memory layers; real layers only when a person will paint them

Workflow

  1. Intake gates. mx_validate.validate(profile="model"), mx_audit.verdict(r, symmetric=True), S.bind_precheck(mesh, joints, method). GATE: no error lines, joints inside, transform frozen, no non-deformer history, X symmetry; face: lips apart, eye joint at the eyeball center (Burton).
  2. Bind, explicitly. S.bind(mesh, joints, method, skin_method=0, normalize=1): pass every flag, since cmds and UI defaults differ and the Help contradicts itself on normalizeWeights. GATE: S.weights_verdict(S.audit_weights(...)) clean; S.export_weights_json backup (OpenMaya writes are not undoable).
  3. Block and diagnose. S.block_regions with closest-bone regions, no smoothing; key calisthenics (S.rom_schedule, S.key_rom); S.deformation_test; S.pose_snapshots then mx_review.review headless and look. GATE: raw poses read close to the goal; faults go back to scenario-maya-rigging (pivots) or scenario-maya-retopology-uv (loops) with numbers and images.
  4. Regions, twists, masks. Order: torso, clavicle and shoulder, upper arm, forearm, hand, thumb, fingers, head and neck, legs, feet (Makauskas). Twist chains as even ramps, masks as ranges along bones; with the API, S.st_add_region_layer and S.st_flood. Tune mask ranges, not vertices. GATE: audit clean, warnings shrink pose by pose, worst poses looked at.
  5. Mirror and shells. S.mirror_skin (or the Skin Tools Mirror tab); clothing and accessories take the body under them (S.copy_nearest, S.remap_by_closest, volume smoothing limited to the shell). GATE: mirror error < 0.01, nothing unmatched, no penetration at rest.
  6. Full ROM. Sections at mid-forearm and mid-upper-arm, bone volumes, folds, cross talk, rigid soles, clothing penetration; then combined "weird" poses and animator-style play; a GUI playblast when a session exists. GATE: no error:, every warn: fixed or explained, references/critique.md at 2 or more.
  7. Correctives. Candy wrapper: twist distribution, then DQ or weight-blended skinning. Deep bends: pick pre or post and the target space (stance), check S.joint_drive(joint) and pose through the controls when it is driven, then S.solve_pre_corrective from a posed sculpt plus S.corrective_driver, or the Pose Editor in the GUI (controller-driven order above; extremes first; Regularization from 0.01). GATE: 0 at rest, 1 at the pose reached through the controls, residual < 1e-3 cm; ROM rerun.
  8. Face, if in scope. Shapes through the split generator (S.split_targets, S.add_split_targets), or a joint face with a zero rest pose (Burton); squash under tweaks as two clusters (multi=True, UV Pin reading cluster 1, group inverse into bindPreMatrix). GATE: split error < 1e-5, counts within budget, double-transform test passes.
  9. Finalize. S.delete_skin_layers, S.prune_and_limit to the target cap, ROM rerun, weights JSON (plus layers JSON), mx_validate.validate(profile="rig"), a new saved version.

Numbers

ValueRelative toSource
Keys every 10 frames, pose on every second keycalisthenics timingMakauskas [00:03:01]
3 (Makauskas) or 5 (Jao) twist jointsper upper arm or forearm[00:07:57], [00:17:13]
Weight sum 1 within 1e-4every vertex, per clusternormalization (Jao, Help)
Prune below 0.01 [added]per weight; the Help cites 0.008 as insignificantHelp, Prune
Influence cap 4 [added], 2 on Burton's Unreal mobileper vertex, games onlyBurton [00:51:55]
Edge ratio < 0.7 pinch, > 1.3 stretch [added]posed vs bind edge lengthdigest thresholds
Section area < 0.7, perimeter < 0.8 [added]mid-limb cross-section vs bindcandy wrapper; LBS at 50/50, 90 deg twist keeps 0.5 area (measured)
Volume change > 10% [added]region around its boneMakauskas judges volume by eye
Mirror difference < 0.01 [added]weight of a vertex vs its mirror
Regularization 0.01 to 1.0; 3 neutral poses (neutral, swing, twist)Pose EditorHelp
30 degree steps; 1,500 to 2,000 poses per body; 12 to 20 per armML Deformer pose dataWidup [00:15:50] [00:37:08]
24 face jointsBurton's current-gen game face[00:35:45]

Quality gates

Measurable (headless, mx_run): S.weights_verdict clean at the target cap; S.deformation_test without error: (cross talk is impossible under pure skinning); warnings fixed or explained; mirror error < 0.01; penetration increase 0 for clothing; correctives 0 at rest and 1 at the pose through the controls; split error < 1e-5; S.skin_layers_node(sc) == [] before handoff; re-imported JSON reproduces the weights (diff < 1e-4). Visual: S.pose_snapshots of every ROM pose rendered with mx_review.review (clay and wire, front and three-quarter, same cameras every iteration), or a GUI playblast. Look at shrug and deltoid, elbow crease, wrist twist, fingers, groin and knee while lifting the foot, feet, neck, clothing; faces: mouth corners, cheek squash, lids. Judge with references/critique.md.

Common mistakes

MistakeWhat it looks likeFix
Smoothing over a bad pivotwrist bump, neck lump that returns every posemove the joint (scenario-maya-rigging), re-block (Makauskas)
Edge counts read alonerigid weights show zero pinch while pieces interpenetrateread folds, collapsed faces and severity (critique.md)
Editing maximumInfluences on a live clustercustom weights silently resetS.prune_and_limit (Help: -mi in edit mode wipes weights)
copySkinWeights with default flagsclosestComponent association, XY mirror planepass surfaceAssociation, influenceAssociation, mirrorMode="YZ"
Classic tools on a layered cluster"blocked" errors, or weights overwritten laterS.delete_skin_layers first, or the Skin Tools equivalents
Heat Map with end joints outside the meshthose joints get no weightmove joints inside or use geodesic after the precheck
Test animation with combined motionscannot tell which joint breaksone motion per segment (rom_schedule)
Flood smoothing sparse fingerssausage fingers, lost knucklessmooth middle loops, Sharpen (Makauskas)
A mesh-level error sculpted as a post correctivethe fix shows near one pose onlypre-deformation (S.solve_pre_corrective): it holds in every pose (Help)
Neutral poses created on an IK or constrained jointthe Pose Editor cannot return to neutral or go to a poseno neutral poses at creation, Driver Settings > Controllers, then Add Neutral Poses (Help)
Pose reader on .matrix or setAttr on a driven jointcorrective stuck on or off; pose rejected or snapped backS.corrective_driver (dagLocalMatrix); pose through the controls
Closed lips in the neutralmirror and wrap transfers fail, lips sticklips slightly parted (Burton); split upper and lower proxies (Jao)
Overlapping split shapesdouble motion at the cornersvertex ownership, difference shapes (raise not smile), sum test (antCGi)
Delta Mush left under an ML Deformerthe ML learns the smoothingdelete it before training (Widup)
Pinned controls reading the final meshdependency cycleUV Pin from skinCluster1.outputGeometry (Maya LC)

Handoffs

  • Receives from scenario-maya-rigging: bind skeleton (joints only, rotations zero, oriented, single root, L_/R_ names or labels), controls for the ROM, twist joints placed, and whether bind joints blend by constraint or offsetParentMatrix; mx_validate(profile="rig") clean. From scenario-maya-retopology-uv: mesh frozen at the origin, no history, symmetric, loops across every joint, UVs, face with lips apart and eyes in place.
  • Delivers to scenario-maya-animation: a new rig version with layers deleted, weights and layers JSON, the ROM verdict JSON, the sheet or playblast looked at, what was not verified; referenced, never imported.
  • Delivers to scenario-maya-pipeline-scripting (game skins): weights capped and pruned for the engine, bind skeleton only as influences, secondary joint list with LOD assignments, correctives as joints when the engine needs them; audit JSON for its FBX export check.
  • Sends back: pivot and placement faults to scenario-maya-rigging, loop faults to scenario-maya-retopology-uv, each with the pose, numbers and image.

Maya 2027 notes

  • Skin Tools (ngSkinTools-based) is built in: Skin > Skin Tools; layers only after explicit initialization; Bind Skin's Initialize Skin Layers is off by default; the paint preference defaults to the classic tool.
  • Scripting: from ngSkinTools2 import api (Developer Help, fetched 2026-09-24; not yet imported): init_layers, Layers, assign_from_closest_joint, flood_weights (acts on the component selection), PaintModeSettings, NamedPaintTarget.MASK, export_json, import_json.
  • Skin > Smooth Skin Weights uses the Skin Tools algorithm and errors on multi-layer clusters; Rigid Bind menus are gone (bind with one influence); performSkinCluster.mel is removed.
  • Several skinClusters per mesh need skinCluster(multi=True); tool lists show the newest cluster first.
  • mlDeformer command (2026), dgaTension for stretch analysis (2026.3), Apply Mesh Compare (2026); Bifrost 3.0 ships with 2027; old experimental rigging modules are incompatible.

References

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Scenario Maya Deformation AI 技能有什么作用?

适用于在 Maya 中为角色蒙皮(“bind skin”“fix the weights”、权重绘制、Skin Tools 或 ngSkinTools 图层),或变形效果不理想(挤压变形、糖果纸般的手腕、肘部或肩部塌陷、体积流失、衣物穿模)的情况;也适用于为 Unreal 或 Unity 镜像、复制或封顶蒙皮权重,创建混合变形、修正形变或姿势空间变形(由 IK 驱动关节的 Pose Editor),制作带形状或关节的面部绑定,处理多个 skinClusters、Delta Mush 或 ML Deformer,或运行动作范围变形测试。

为什么在 TypingMind 中使用 Scenario Maya Deformation?

因为您只需安装一次,就能搭配任何模型使用。Scenario Maya Deformation 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Scenario Maya Deformation?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/scenario-labs/skills/tree/main/skills/dcc/maya/scenario-maya-deformation。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Scenario Maya Deformation?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Scenario Maya Deformation 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Scenario Maya Deformation 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Scenario Maya Deformation AI 技能免费吗?

是的。scenario-labs 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇