Scenario Maya Expert 标志

Scenario Maya Expert

组织
scenario-labs
scenario-maya-expert

通过 Python 或桥接方式执行任何 Autodesk Maya 任务时使用,无论是在无头模式还是实时操作:编写 maya.cmds 或 OpenMaya 2.0 脚本、运行 mayapy 或 maya.standalone 批处理任务、通过 commandPort 或 MCP 连接到正在运行的 Maya、使用“Maya 2027”、验证或导出场景,或排查因 2025 到 2027 版本变化(PySide6、OpenPBR、数学节点更名、标志移除)而失效的 maya.cmds 脚本。也适用于需要像专业人士一样评估 Maya 模型、绑定、镜头或渲染是否达到完成标准,或需要将需求分配给合适的 Maya 专家时。

概览

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

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

  • 兼容任何大语言模型

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

  • 9 个附带文件

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

  • 开源

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

安装

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Maya expert (router and agent protocol)

Expert Maya work is a loop, not a script: block big to small, and at every stage measure, render, look and fix before adding detail. This skill is the protocol every Maya task follows, the shared toolkit the other scenario-maya-* skills call, and the map to them. Target: Maya 2027 on macOS Apple Silicon, driven through Python. 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.

Status (2026-09-24): Maya 2027 is not installed yet. Every Maya call in scripts/ and references/ is not yet run in Maya. The pure-Python parts and the Maya-layer logic ran offline against fakes and pass. First action once Maya is installed: tests/code/maya-expert/run_all.sh, then read archive/tests/maya-expert/<stamp>/results/test_00_probe.json and correct anything marked [verify] here.

1. Execution channels

ChannelUse forRules
Headless mayapy through scripts/mx_run.pyaudits, validation, exports, Arnold review renders, batch work, anything that needs no viewportpython3 mx_run.py [--scene f.ma] [--plugins mtoa,fbx,abc,usd] job.py -- args. One child process per scene: a crash or hang costs one job. The last stdout line is MX_RESULT {json}; exit 0 ok, 1 job error, 4 timeout. Children get MAYA_DISABLE_ADP=1 and Maya's stderr at warning (--maya-log all to debug). Script nodes off. Never overwrite the source: --save-as a new version.
Live GUI Maya through scripts/mx_bridge.pyplayblasts, viewport captures, interactive tools, the user's open sceneEmmanuel starts mx_bridge_server.start() once in the Script Editor. Then Bridge().run(code): any length, multi-statement; every record carries result, stdout, stderr, maya_messages (Maya's warnings and errors) and the traceback, even on a timeout. Read them every call. One call = one undo chunk. Check cmds.file(q=True, modified=True) before replacing a scene. Never open modal UI. stop() when done.

Do not launch a GUI Maya yourself [added]: it takes a license seat and cannot be driven without the bridge. One Arnold render at a time per machine [added].

mayapy: /Applications/Autodesk/maya2027/Maya.app/Contents/bin/mayapy (Maya 2027 Help). mx_run.find_mayapy() checks $MX_MAYAPY, $MAYA_LOCATION/bin/mayapy (on macOS MAYA_LOCATION ends in Maya.app/Contents), then the newest /Applications/Autodesk/maya20*/. Log cmds.about(version=True) at session start: Smart Bevel, MtoA and USD for Maya differ across 2027.x.

Why files for the bridge: a commandPort defaults to MEL, a 4096-character buffer (longer commands close the connection, longer results become an error) and returns the result of one statement only (Maya 2027 Help, commandPort; Python in Maya). mx_bridge sends one short line and exchanges code and results as files (GG_MayaMCP pre-installs a handler; Palmer uses two round trips). Security: the port is opened as 127.0.0.1:<port> [verify with lsof] and has no authentication; Maya's help warns an INET port runs any command, including system(), as the user. Personal machine only, close it after the session.

Capability matrix (from the docs; the probe test confirms or corrects each row):

ActionHeadless mayapyGUI via bridgeBasis
cmds / OpenMaya edits, file IO, references, FBX, Alembic, USD exportyesyesMaya 2027 Help, Python in Maya
Arnold stills (mx_review)yes, CPU; watermark without an Arnold batch licenseyesArnold batch docs
Render -r hw2 viewport-style framesdocumented, unverified on macOSn/acommand-line render doc
playblast, modelEditor, viewport grabsno (needs a model panel) [verify]yes, mx_review.playblastscripting digest
Tool contexts: Quad Draw, Multi-Cut, sculpt, Paint Skin Weights, Skin Tools, 3D paint, XGen brushesnointeractive only (no stroke API): script the underlying commandsMaya 2027 Help
scriptJobnoyes, not during playbackMaya 2027 Help, scriptJobs
maya.utils.executeInMainThreadWithResultno, "not available in batch mode"yesMaya 2027 Help, threading
maya.utils.executeDeferredonly when idle events run [verify]yessame
MMessage callbacks[verify]yesscripting digest
commandPortabsent per Theodore 2014 [verify]yesMCP bridges note
PySide6 windows, workspaceControlnoyesQt6 migration docs
Flow Retopology (cloud)no: sign-in and network [added]yesversion deltas
confirmDialog, input(), pdb, file dialogsnevernever: they block Maya's main thread and the bridgeMaya 2027 Help, standard input

2. The expert loop (every domain)

  1. Brief in numbers. Purpose (engine, film, still, animation), budgets (triangles, texture size and texel density, frame range and fps), style, references, deadline. When the brief is silent, take the domain skill's documented default and write it down.
  2. Stages from the domain skill, big to small. Never start with detail.
  3. Build one stage with small, idempotent scripts (get-or-create by name, tag what you create, selection-free).
  4. Gate the stage with measurable checks (mx_audit.verdict, mx_validate, the domain's numbers) AND a render you open with the image reader (mx_review.review sheet headless, or a playblast in the GUI). Experts turn the model constantly; the contact sheet is the agent's orbit. Judge it with the domain's references/critique.md.
  5. Fix before advancing. A problem found at blockout costs one script; found after texturing it costs the stage.
  6. Deliver with evidence: the saved version, audit and validation JSON, the sheet or playblast, and a list of what was not verified.

Never report a model, rig, shot or render as done without having looked at a render of it. Numbers first, then eyes: Fragapane's standard for a matching tool is the inverse of the expected matrix times the computed one equals identity, not "looks right" (Cult of Rig, [01:16:03]); dcc-mcp's showcase proves claims with deltas of 0.0 and color drift of at most 1/255.

3. Persona pipelines

BriefSkill chainDeliverable
Hard-surface prop or game assetscenario-maya-modeling, scenario-maya-retopology-uv, scenario-maya-lookdev, scenario-maya-pipeline-scripting (FBX)low poly, UVs, PBR set, FBX re-imported and compared
Finish an AI-generated meshscenario-3d, mx_audit on the raw mesh, scenario-maya-retopology-uv, scenario-maya-lookdev, scenario-maya-pipeline-scriptingclean, UV'd asset at a stated budget, baked from the generated high
Character for keyframe animationscenario-maya-modeling, scenario-maya-retopology-uv, scenario-maya-rigging, scenario-maya-deformation, scenario-maya-animation (range-of-motion test)referenced rig file, deformation playblast
Game characterthe same chain with the game options of scenario-maya-rigging and scenario-maya-animation, then scenario-maya-pipeline-scriptingFBX skeletal mesh and clips for Unreal or Unity
Animated shotscenario-maya-animation (fixes in scenario-maya-rigging), then scenario-maya-lighting-renderingapproved playblast, then renders
Look dev or hero stillscenario-maya-lookdev, scenario-maya-lighting-renderingturntable, lit render, AOVs
FX shotscenario-maya-fx (nCloth, Bifrost, MASH), then scenario-maya-lighting-renderingversioned caches, render
Groomed characterscenario-maya-groom, scenario-maya-lookdev (hair shader), scenario-maya-lighting-renderinggroom, caches, render
Pipeline or batch toolscenario-maya-pipeline-scripting, built on mx_run and mx_validatetool and JSON report

Handoff contract: every handoff carries a new saved version (never the source overwritten), an mx_validate report for the receiving profile with no fail, mx_audit numbers for its meshes, a sheet or playblast the sender looked at, and the list of what was not verified. Units stay cm and Y-up (Maya 2027 Help; Unreal's unit is 1 cm).

From, toGate in codeLook at
modeling to retopology-uv or riggingvalidate(profile="model") clean, no locked normals on meshes that will deform; 0 n-gons on subdivided or deforming meshes; frozen, no history (FlippedNormals); characters symmetric on X, standing on the grid at the origin, Y-up facing +Z (Quick Rig requires it)silhouette and clay sheet
retopology-uv to lookdev or riggingevery face mapped, UVs in 0-1 or clean UDIM tiles, texel density stated in px/cm, overlaps only where stacked on purposewire and normals sheet
rigging or deformation to animationrig referenced, never imported; profile="rig" clean; Skin Tools layers deleted before handoff (Maya 2027 Help: Delete Skin Layers keeps the weights)range-of-motion playblast
animation to lightingprofile="shot", rules={"fps": ...} clean; references loaded; caches versioned (Alembic is Ogawa only)final playblast
lookdev to lightingfile_paths pass; color space set per file nodeturntable
fx or groom to lightingcaches versioned with frame range; Nucleus and Bifrost assume 1 unit = 1 m (Maya 2027 Help)playblast of the cache

4. Shared toolkit (scripts/, not yet run in Maya)

Import: import sys; sys.path.insert(0, "<this skill>/scripts"). The bridge server adds this folder to Maya's sys.path, so Bridge().call("mx_audit", "audit", "crate_geo") works in the GUI too.

  • mx_run.py: find_mayapy(), run_subprocess(job, args, scene=, plugins=, timeout=, save_as=, maya_log=) (parent side, parsed dict), child_environment(), run(job, args) (inside mayapy).
  • mx_bridge.py / mx_bridge_server.py: Bridge(port=7001).ping() / run(code) / call(module, fn, *a, reload=True) / fetch(id), format_record(rec); server start() / stop() / handle(id).
  • mx_audit.py: audit(mesh, texture_size=2048, units="cm") returns counts, poles by valence, non-manifold, lamina, zero-area, borders and holes, winding, UV sets and bounds, UDIM tiles, overlapping and folded shells, texel density per shell, frozen transforms, pivot, history, naming, instances, symmetry on X, edge-length CV; verdict(report, profile="game"|"film"|"subd") lists error: / warn: / info: lines; audit_all(roots). Guards for all skills: mfn_mesh(shape) (None on an empty mesh), is_empty_mesh, split_history (bind pose and weight drivers are not history).
  • mx_review.py: review(targets, out_dir, views, modes, resolution=1024, tile=512, focus=None): front, side, back, threequarter, top, low; clay, wire, silhouette, normals, opt-in checker (checker_repeats=) and custom shader_modes=; subdiv=; one labeled sheet plus tiles and each view's camera (r["cameras"], review.json, pixel_ray), the user's settings restored. Skills use these options, never _Session. turntable(targets, out_dir, frames=24); playblast(path, start, end, display={...}) (GUI only).
  • mx_validate.py: validate(profile="model"|"rig"|"shot", roots=None, rules=None, fix=()): naming, namespaces, history, frozen transforms, non-manifold, lamina, n-gons, UVs, locked normals, smoothing, render stats, layers, sets, unused and unknown nodes, plug-ins, references, script nodes, units and up axis, frame rate, missing files; SAFE_FIXES; roots held by UUID across fixes (roots_after).

5. Rules for Maya code (what generalist code gets wrong)

  • Selection-free and explicit: pass node names to every command; never select then operate. Capture creation returns (polyCube returns [transform, history], # names expand) and use them, not the name you asked for (Autodesk intro series).
  • Long names or UUIDs for anything that can share a short name; or [] after ls, listRelatives, listConnections [added, probed].
  • Undo is your job: wrap GUI edits in an undo chunk with try/finally. OpenMaya 2.0 writes never reach the undo queue, and deleting with OM2 a node cmds created corrupts undo (Fragapane, [01:17:49]). OM2 for heavy reads and matrices, cmds for edits a user may undo.
  • Units: OpenMaya works in centimeters and radians; cmds returns UI units and degrees [added, probed in test_00_probe].
  • Never touch nodes you did not create; tag your own (namespace, attribute or set) and clean up by tag. Save stage versions, never over the source.
  • Main thread only: cmds raises off the main thread (Maya 2027 Help).

6. Maya 2027 traps that break remembered code

  • PySide6 only; ship no PySide2 fallback (it crashed 2027.0 when PySide2 was installed). dockControl is gone: workspaceControl.
  • New scenes use OpenPBR Surface; its parameters do not port from Standard Surface (emission in nits, thin film in micrometers, SSS radius roles swapped).
  • addDoubleLinear, multiplyDoubleLinear, pointMatrixMult became addDL, multiplyDL, pointMatrixMultDL (2026); plain names like power now create unitless nodes.
  • Removed flags: getAttr(noEvaluation=), attributeQuery(computeModifies=); all keys is cutKey(time=(None, None)).
  • Arnold on macOS: CPU only, no OptiX; OIDN imager in new scenes; Maya IPR does not work with MtoA 5+ (Arnold RenderView); batch renders abort on license failure unless ARNOLD_FORCE_ABORT_ON_LICENSE_FAIL=0.
  • Color: OCIO v2 and ACEScg; the default input space is sRGB Encoded Rec.709 (sRGB) since 2026.2; query names, never hardcode them.
  • Skin Tools layers block the classic weight tools (Mirror, Copy, Hammer, Paste, Normalize, Set Max Influences) until deleted.
  • maya -render is obsolete: Render -r <renderer>; Render Setup and legacy render layers are exclusive per session.
  • mayaUSDExport defaults: frameRange [1,1], catmullClark scheme, map1 renamed st.
  • MFnMesh raises on an empty mesh (use mx_audit.mfn_mesh); MItGeometry needs group -1 for all vertices. PyMEL is not bundled; the Python version is undocumented: probe it.

References

  • references/maya-2027-traps.md: the full list of what breaks agent code, old name to 2027 replacement, with sources. Load before writing code from memory or following a pre-2025 tutorial.
  • references/cmds-reliability.md: idioms and tested-pending procedures for reliable maya.cmds and OpenMaya 2.0 (return types, evaluated vs original data, OM2 patterns, undo, idempotent get-or-create, batch hygiene). Load before any non-trivial script.
  • references/sources.md: every source behind this skill and the toolkit, with what each is best for.
  • Related skills outside this set: scenario-3d (generate meshes to finish in Maya), scenario-zbrush-expert and scenario-blender-expert (sister teams with the same protocol).

附带文件

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

常见问题

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

通过 Python 或桥接方式执行任何 Autodesk Maya 任务时使用,无论是在无头模式还是实时操作:编写 maya.cmds 或 OpenMaya 2.0 脚本、运行 mayapy 或 maya.standalone 批处理任务、通过 commandPort 或 MCP 连接到正在运行的 Maya、使用“Maya 2027”、验证或导出场景,或排查因 2025 到 2027 版本变化(PySide6、OpenPBR、数学节点更名、标志移除)而失效的 maya.cmds 脚本。也适用于需要像专业人士一样评估 Maya 模型、绑定、镜头或渲染是否达到完成标准,或需要将需求分配给合适的 Maya 专家时。

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

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

如何在 TypingMind 中安装 Scenario Maya Expert?

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

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

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

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

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

Scenario Maya Expert AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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