Scenario Maya Groom 标志

Scenario Maya Groom

组织
scenario-labs
scenario-maya-groom

适用于在 Maya 中使用 XGen(Interactive Groom 样条或旧版描述)梳理头发或毛发:头皮头发、眉毛、睫毛、动物毛发、引导线、毛簇、噪波、分缝、密度贴图、填充层、aiStandardHair 着色、头发渲染出现噪点或闪烁、需要运动的头发(Linear Wire、nHair、Alembic 缓存),或用于 Unreal 的毛发梳理(groom Alembic、卡片)。也适用于 XGen 头发看起来像 CG、毛簇过于统一、头皮露出,或 XGen 脚本运行失败的情况。

Add to TypingMind

概览

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

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

  • 兼容任何大语言模型

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

  • 6 个附带文件

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

  • 开源

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

安装

在 TypingMind 中安装 Scenario Maya Groom 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-groom
  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-groom .claude/skills/scenario-maya-groom
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Hair and fur grooming (XGen Interactive Groom, Maya 2027)

Expert grooming sets the flow on a few guides first, then a clump hierarchy with loose roots and varied profiles, then breakup only where the reference shows it (tips, strays), judged in close, side-lit renders with the real hair shader. Interactive Groom brushes have no stroke API, so the agent grooms with data (guides from a flow sheet wired into the stack, masks written as images, modifiers set by value) and judges with numbers from exported strands plus renders. Code: scripts/mx_groom.py (import mx_groom as G). 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).

Status (2026-09-24): every Maya call here is not yet run in Maya (2027 not installed). The pure layer of mx_groom passes offline (tests/code/maya-groom/test_mx_groom_offline.py). Names not quoted from the 2027 help resolve at run time from G.NAME_CANDIDATES.

Stance (the expert delta)

  • Flow first, on the guides, copied from arrows drawn over the reference (Fernandez). Flow is pressure: neighbors share the compression curve, and opposing streams meet through a straighter band. Short fur turns sharply, long hair slowly. Decide whether the flow or a clump owns each big shape.
  • Roots loose, every clump different, two levels (Fernandez). No attraction over about the first 14 % of the length, or the base pinches into bald lines. 3 to 5 small clumps per big one; a third level only for long hair or manes. Vary size and profile (G.CLUMP_PROFILES: spike, onion).
  • Mask and tightness are different knobs (Fernandez 05, 06). The mask decides triangle versus square: square clumps are tight small clumps inside a looser big clump, both masks lowered. Tightness (IG Clump strength [added]) 0 keeps the clump's shape without converging; mask 0 removes it. Straight guides make them look alike, so test on noisy guides (G.clump_follow).
  • The level that gets the noise decides what breaks (Fernandez 07). Clump-level noise (the secondary Clump's Noise, tip half) breaks the big clumps and keeps the small ones and the roots; a Noise modifier breaks the small clumps too, so it goes on few hairs (Giovannini: 0 on the body, 3 on a 5 % share). Vary the frequency; fray only on few hairs. Stray clumps come from holes in the primary's mask, not a new system.
  • The hairline reads real through thinner edge strands plus transition and peach-fuzz descriptions, not density alone (Hadi Karimi). One density map is shared by every description; each hair type gets its own description.
  • A short fill layer hides the scalp (Giovannini): body guides cut to 2/3, so long hair need not be "crazy dense".
  • Motion drives a few wires, never the hair (Flood). Export the wires from the Linear Wire's inGuide. Update the Reference State at the rest pose on frame 1. Curve to Spline gets Align to Normals off.
  • Standard Hair realism comes from melanin, roughness and IOR (Arnold hair doc). Keep diffuse 0, tints white and indirect scales at 1, and use ribbon mode (Min Pixel Width only works there). Blond hair gets Extra Depth. Cost has four knobs (MPW, transparency depth, specular samples, AA); opacity below 1 costs significantly.

Establish first

Write the answers to brief.json before any node.

InputChangesDefault when silent
TargetArnold strands, Unreal strands, or cards (MtoA renders no XGen Card primitives)Arnold strands
Hair typesone description each: body, fill, fringe, strays, brows, upper and lower lashes, transition, fuzz. Close-up face: rule peach fuzz in or out (Hadi)body + brows
Stylerealistic: random clump points, Randomness > 0, melanin. Stylized: clumps on the guides (FlippedNormals), flat Base Color with Melanin 0 [added]. Both: a point on the defined-to-soft range, same silhouette (Fernandez 07)realistic
Motion, and who owns itstatic follow; keyed or simulated wires; rig or CFX department (Flood) or the groom file (2027 help)follows the scalp
Still or animatedstill likeness: grow on the head (Hadi). Animated or real time: scalp cap with clean UVsscalp cap
Camera distanceScattering Mode: Accurate for close-ups (10 to 30 % slower), Adaptive for mixed shotsAdaptive
Budgetspline count and GPU memory (xgmSplineQuery), Unreal sim guidesstate a number
Referenceflow arrows and clump counts come from itask; else write the assumed look down
New or inheritedInteractive Groom for new work; legacy XGen only for an inherited asset or non-spline primitivesInteractive Groom

Workflow

Headless mayapy (mx_run --plugins mtoa,xgen,abc, in that order) covers guides, masks, Alembic, Unreal tags, lint, analysis and Arnold reviews; the GUI bridge covers the menu queries and whatever the probe shows does not evaluate headless (IG computes on the GPU). references/procedures.md P16 is the whole job as one script with every gate asserted (G.gate raises).

  1. Probe and recipes (once per install). G.probe() headless and in the GUI. Menu actions with no documented command are read, not clicked: through the bridge, G.menu_recipe(name) queries the item's command string (cmds.menuItem(item, q=True, command=True)) and stores it; Attribute Editor buttons (Make Wires Dynamic, Reference State Update, Rebuild) go through G.button_recipe(name, node). Export Cache opens a dialog: write its @path@ template from G.recipe_source. GATE: probe JSON saved; recipe_status() shows the recipes the plan needs as recorded.
  2. Scalp. G.scalp_check(scalp, for_unreal=...). GATE: no error: line, border edges present (the hairline), UVs unique.
  3. Flow sheet and counts. From the reference write the flow sheet (base, whorl, part, direction, length regions) and count big clumps and small per big. GATE: G.check_flow_sheet(flow) == [].
  4. Guides. g = G.make_guides(scalp, flow, spacing=..., cvs=8, collide=head), few first (FlippedNormals); symmetric=True only on symmetric topology (Hadi). GATE: G.gate(G.measure_curves(...)["verdict"]), penetration 0, discontinuities only at parts and whorls.
  5. Descriptions and wiring. G.create_description(scalp, "hair_body") per hair type (recipe, renamed). G.wire_guides(desc, g["curves"]): a Guide modifier low in the stack interpolates the guides, fed by a Curve to Spline on its inGuide; it holds the region maps parts need. A Curve to Spline on the description itself turns each curve into one hair and disables everything below it: only for exact strands or caches. GATE: G.wiring_verdict: flow-sheet error of the hair drops after wiring, and the InGuide_base cache holds every guide.
  6. Stack, density and masks. Bottom to top: base (CV count per Numbers), Scale, Guide, primary and secondary Clump (G.build_clumps), strand Noise on a share, length breakup, Collision. G.write_hairline_mask for the hairline (band=True: transition), one map shared across descriptions (G.connect_texture), G.patches holes in the primary's mask for stray clumps. GATE: G.gate(G.lint()["lines"]); the coverage pass (showthrough %) and spline count within budget.
  7. Clumps and breakup, one layer at a time (Giovannini). Once per install, P5b's two tests settle the Clump Scale convention, which knob acts as tightness and what each noise level breaks. Export mid-stack caches, then G.hierarchy_from_states (3 to 5), G.breakup_report and G.measure_abc. Render Clump before and after Noise once each (2027 help). GATE: breakup_verdict and strand_verdict clean; a side-lit close-up passes references/critique.md, triangles and squares in the reference's proportion.
  8. Shader and render. G.hair_shader(desc, preset=...) (replaces the default hairPhysicalShader), G.curve_render(desc, "ribbon", min_pixel_width=...), G.cost_sweep over the four knobs with flicker. Save before rendering XGen. GATE: G.review(...) sheet judged with the critique, no shader warn:.
  9. Motion. Static follow, keyed wires (Flood) or dynamics (Linear Wire, Make Wires Dynamic). Caches are versioned. GATE: renders at the rest, mid and last frames with no penetration.
  10. Deliver (Handoffs).

Numbers

ValueRelative toSource
no clump pull over the first ~14 %strand length, clump profileFernandez 02 [00:17:56]
spike: 0.01 at mid length; onion: mid bulge ~0.9legacy Clump Scale ramp (radius reading)Fernandez 02 [00:05:38], frames 00:06:00, 00:10:51
3 to 5 small clumps per big; 2 levels, 3 for long hairclump hierarchyFernandez 03 [00:01:31], [00:09:11]
second clump density 7.5, clump noise 2, Cut random up to 10his real-time scalp assetGiovannini [00:09:43] to [00:11:25]
strays 5 % (up to 20 %), noise 3 on strays, 0 on bodyshare of hairsGiovannini [00:09:28], [00:11:59]
noise mask 0.1 to 0.5 (1 kills clumping)legacy Noise modifierFlippedNormals [00:32:05]
20 CVs with noise; 24 to 36 for curlsmodifier or base CV countFlippedNormals [00:28:52]; 2027 help
random length 0.8 to 1.2; clump cut 0.2balanced around 1; small-clump levelFernandez 08 [00:09:33], [00:15:34]
melanin 0.2 blonde, 0.5 red or brown, 1.0 blackStandard HairArnold hair doc
IOR 1.55 (outside 1.4 to 1.6 only wet); Shift 0 to 10 deg, 2.3 to 3.7 measured, 0 syntheticStandard HairArnold hair doc
Unreal: Sub Steps 40, Iterations 10, Collision Radius 3.5, Bend Scale tip 0.1UE 5.3 era [estimate]Giovannini [00:51:04] to [00:54:27]
Nucleus Space Scale 0.01cm scenesmaya-version-deltas 2.8

Quality gates

In code. G.lint() (plug-in order, stack, clump wiring and profiles, noise placement, budget, shader), G.measure_abc(cache)["verdict"] (root pinch, profile variety, small per big, strays, tip noise, frequency and fray, length balance, flow, penetration), G.wiring_verdict, G.breakup_verdict, G.unreal_verdict(G.inspect_abc(abc)). G.gate turns any of them into an assertion. Thresholds marked [added] are this skill's defaults; each line cites its rule.

Visual. G.review(hair, out, head=head, scalp=scalp, closeups=[...]) renders the real shader: beauty (dome plus a key along the groom, Schneider), backlit (strays, halo), silhouette, coverage. Viewport captures only after G.viewport_aa(True) (FlippedNormals, Fernandez). Judge with references/critique.md: flow, then clumps, then strands (Fernandez).

Common mistakes

MistakeLooks likeFix
Guides not wired, or through Curve to Spline on the descriptionhair ignores the flow sheet, or one hair per curveG.wire_guides (Guide modifier), then wiring_verdict
Clumped rootsbald lines between clumps at the scalproot-loose Clump Scale ramp (Fernandez)
One clump shape everywhere, all triangles"CG" regularityRadius Variance, profiles, square clumps (Fernandez 02, 05)
Mask and tightness judged on straight guidestwo knobs seem to do the samenoise below the Clump, G.clump_follow (Fernandez 06)
Strand noise to break big clumps; noise on the bodysmall clumps dissolve into frizzclump-level noise, strand noise on a share (Fernandez 07, Giovannini)
One noise frequency, fray everywherefake, uniform frizzvary frequency; fray on few hairs (Fernandez 05)
Strays as a new system onlystrays unrelated to the clumpsholes in the primary's mask (Fernandez 03)
Extending strandscriss-crossing inside clumpsscale or cut at the small-clump level (Fernandez 08)
Jagged clumps, bad placementstepped clump edgesraise Map Subdivision Level on every level; new Seed (2027 help)
Secondary density at or below primarysecondary clumps leak across cellsduplicate the primary, raise density, Use Control Map (2027 help)
Clumps crossing a partclumps straddle the partGuide region map as clump control map, or separate descriptions
Cache without Multiple Transforms and Write Final Widthcurves wrong in other appsturn both on (2027 help, Flood); check Epic's opposite advice
Default hairPhysicalShader keptno indirect diffuse on the hair (Ai Kd Ind defaults to 0)aiStandardHair, or raise Ai Kd Ind (2027 help)
Judging an aliased viewportdensity and clumps misreadG.viewport_aa(True) first

Handoffs

  • Receives from scenario-maya-retopology-uv: a scalp-only cap (open border at the hairline), unique UVs in 0 to 1, UV set map1 for Unreal, frozen, no history; it passes G.scalp_check.
  • Receives from scenario-maya-animation: rig referenced, shots starting at the rest pose on frame 1, an Alembic of the animated body (-uvWrite, -stripNamespaces), and the wires cache when the rig owns the wires.
  • Delivers to scenario-maya-lighting-rendering: a new groom version, aiStandardHair assigned and linted, ribbon settings, versioned per-shot caches, the review sheet and what was not verified. Loop in scenario-maya-lookdev when the hair must match the skin.
  • Delivers to scenario-maya-pipeline-scripting (Unreal): <asset>_ue5.abc with groom_group_id, groom_guide (real guides, no fill) and groom_root_uv (UV set map1), a clean unreal_verdict on the reimport, and the Unreal start values (Numbers).

Maya 2027 notes

  • Legacy descriptions do not work with Interactive Groom tools; convert one at a time, then Rebuild each (Giovannini).
  • Default IG shader is hairPhysicalShader (Ai Kd Ind 0). Standard Hair gained scattering_mode in MtoA 5.6.0. Load MtoA before XGen.
  • IG computes on the GPU; headless evaluation on Apple Silicon is unverified (probe). Parallel Maya known limitation: batch rendering XGen scenes "may produce incorrect results".
  • Alembic is Ogawa only. Epic's scripts are Python 2 and API 1.0: use the mx_groom ports. No Arnold GPU on macOS; Arnold RenderView replaces Maya IPR. Ctrl means Control, not Command.

References

  • references/procedures.md: code for every stage, P5b clump tests, P16 the whole job. Load before writing groom code.
  • references/critique.md: the rubric for judging a groom from renders and numbers. Load at every gate.
  • references/expert-notes.md: principles by expert, disagreements with deciding conditions. Load when choosing between options.
  • references/gui-paths.md: menus, editors, brushes, hotkeys (computer-use agent).
  • references/sources.md: every source, credentials, URLs, best timestamps.

附带文件

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

常见问题

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

适用于在 Maya 中使用 XGen(Interactive Groom 样条或旧版描述)梳理头发或毛发:头皮头发、眉毛、睫毛、动物毛发、引导线、毛簇、噪波、分缝、密度贴图、填充层、aiStandardHair 着色、头发渲染出现噪点或闪烁、需要运动的头发(Linear Wire、nHair、Alembic 缓存),或用于 Unreal 的毛发梳理(groom Alembic、卡片)。也适用于 XGen 头发看起来像 CG、毛簇过于统一、头皮露出,或 XGen 脚本运行失败的情况。

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

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

如何在 TypingMind 中安装 Scenario Maya Groom?

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

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

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

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

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

Scenario Maya Groom AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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