Logo Scenario Maya Groom

Scenario Maya Groom

Tổ chức
scenario-labs
scenario-maya-groom

Dùng khi tạo kiểu tóc hoặc lông trong Maya bằng XGen (Interactive Groom splines hoặc descriptions cũ): tóc da đầu, lông mày, lông mi, lông thú, guide, clump, noise, đường ngôi, bản đồ mật độ, lớp phủ, tạo bóng aiStandardHair, tóc render bị nhiễu hoặc nhấp nháy, tóc cần chuyển động (Linear Wire, nHair, bộ nhớ đệm Alembic), hoặc groom cho Unreal (groom Alembic, cards). Cũng dùng khi tóc XGen trông giả lập, clump quá đồng đều, lộ da đầu hoặc script XGen bị lỗi.

Add to TypingMind

Tổng quan

Nhà phát hànhscenario-labs
Kho mãskills
Tên kỹ năngscenario-maya-groom
Sao
970
Bản fork
114
Tệp đi kèm
6
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 6 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được scenario-labs công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Scenario Maya Groom trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/scenario-labs/skills/tree/main/skills/dcc/maya/scenario-maya-groom
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Scenario Maya Groom trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Scenario Maya Groom ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Scenario Maya Groom với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Scenario Maya Groom làm được gì?

Dùng khi tạo kiểu tóc hoặc lông trong Maya bằng XGen (Interactive Groom splines hoặc descriptions cũ): tóc da đầu, lông mày, lông mi, lông thú, guide, clump, noise, đường ngôi, bản đồ mật độ, lớp phủ, tạo bóng aiStandardHair, tóc render bị nhiễu hoặc nhấp nháy, tóc cần chuyển động (Linear Wire, nHair, bộ nhớ đệm Alembic), hoặc groom cho Unreal (groom Alembic, cards). Cũng dùng khi tóc XGen trông giả lập, clump quá đồng đều, lộ da đầu hoặc script XGen bị lỗi.

Vì sao nên dùng Scenario Maya Groom trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Scenario Maya Groom là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Scenario Maya Groom trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/scenario-labs/skills/tree/main/skills/dcc/maya/scenario-maya-groom. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Scenario Maya Groom?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Scenario Maya Groom với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Scenario Maya Groom với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Scenario Maya Groom có miễn phí không?

Có. Kỹ năng này được scenario-labs phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇