Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add IvanYangYangXi/artclaw_bridge --skill ue57-operation-rulesgit clone --depth 1 https://github.com/IvanYangYangXi/artclaw_bridgeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ivanyangyangxi/artclaw_bridge/ue57-operation-rules)<a href="https://agentmods.dev/skills/ivanyangyangxi/artclaw_bridge/ue57-operation-rules"><img src="https://agentmods.dev/badge/skills/ivanyangyangxi/artclaw_bridge/ue57-operation-rules/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ivanyangyangxi/artclaw_bridge/ue57-operation-rules"><img src="https://agentmods.dev/badge/skills/ivanyangyangxi/artclaw_bridge/ue57-operation-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00123 | $0.01374 |
| Opus 5 | $0.00062 | $0.00687 |
| Sonnet 5 | $0.00025 | $0.00275 |
| Haiku 4.5 | $0.00012 | $0.00137 |
Grade A, and why
ue57-operation-rules scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.
UE 操作通用规则
所有涉及 UE 场景修改的操作都必须遵守以下规则。
⚠️ 仅适用于 Unreal Engine — 通过
run_ue_python执行
🌐 规则 0:坐标系
UE 使用 Z-Up 左手坐标系:
| 轴 | 方向 | 说明 |
|---|---|---|
| X | 前 (Forward) | 角色/相机默认朝向 |
| Y | 右 (Right) | 屏幕右侧 |
| Z | 上 (Up) | 垂直向上 |
左手系判定:左手拇指指向 X(前),食指指向 Y(右),中指指向 Z(上)。
与其他 DCC 的换算:
- 从 Maya (Y-Up 右手系) 导入:Maya Y → UE Z,Maya Z → UE -Y(Maya Z 指向屏幕外 = UE 的 -Y)
- 从 3ds Max (Z-Up 右手系) 导入:Max Y → UE -Y(Max 的 Y 指向屏幕里 = UE 的 -Y)
- FBX 导入时 UE 会自动处理轴转换,手动计算位置时注意上述映射
# UE 坐标示例
pos = unreal.Vector(x=100, y=0, z=50) # 前方100, 高度50
rot = unreal.Rotator(pitch=-15, yaw=90, roll=0) # 俯视15°, 朝右
🔄 规则 1:操作完成后必须刷新视口
每次完成场景修改操作后(包括但不限于:创建/删除 Actor、修改属性、调整光照、材质修改等),必须在最后调用视口刷新。
import unreal
# ... 执行场景操作 ...
# ✅ 操作结束后刷新视口
unreal.LevelEditorSubsystem().editor_invalidate_viewports()
何时刷新
- 一个完整任务的最后一步执行刷新即可
- 不需要每个小操作都刷新,批量操作结束后统一刷新一次
- 如果是多步骤任务(多次 run_ue_python 调用),在最后一次调用中刷新
刷新代码模板
# 放在操作代码的最末尾
unreal.LevelEditorSubsystem().editor_invalidate_viewports()
print("✅ 视口已刷新")
⚠️ 规则 2:Rotator 必须使用关键字参数
unreal.Rotator 的位置参数顺序是 (roll, pitch, yaw),不是 (pitch, yaw, roll)。
# ❌ 禁止使用位置参数
r = unreal.Rotator(-15, 180, 0) # 实际是 roll=-15, pitch=180, yaw=0
# ✅ 必须使用关键字参数
r = unreal.Rotator(pitch=-15, yaw=180, roll=0)
详见 ue57-camera-transform Skill。
💡 规则 3:提示用户可撤销
对场景进行修改后,应告知用户:
- 所有操作支持 Ctrl+Z 撤销
- 如果是批量操作,说明修改了哪些内容
📋 规则 4:操作前确认(破坏性操作)
以下操作执行前应向用户确认:
- 删除 Actor(除非用户明确指示)
- 批量修改属性(超过 10 个对象)
- 替换材质/网格体
非破坏性操作(调整参数、移动位置等)可以直接执行。
🔧 标准操作收尾模板
import unreal
# ... 所有操作代码 ...
# === 收尾 ===
unreal.LevelEditorSubsystem().editor_invalidate_viewports()
print("✅ 操作完成,视口已刷新")
# 提示:可用 Ctrl+Z 撤销
🧠 规则 5:记忆系统集成
反复出错时主动查记忆 (强制)
当同一类操作连续失败 2 次以上时,必须先搜索记忆再继续尝试:
from memory_store import get_memory_store
mm = get_memory_store()
if mm:
hints = mm.manager.search("相关关键词", tag="crash", limit=3)
hints += mm.manager.search("相关关键词", tag="pattern", limit=3)
team = mm.manager.search_team_memory("相关关键词", limit=3)
# 根据找到的规则调整方案
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 170 lines · 123 tokens per session scan A 52261b86045d
ue57-operation-rules is a skill published in the GitHub repository IvanYangYangXi/artclaw_bridge (35 stars, last pushed 4mo ago), licensed MIT. It adds 123 tokens to every session and 1,374 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
usd-tools
Infrastructure skill — low-level OpenUSD scene inspection and validation: read layer stacks, traverse prims, validate USD schemas. Use when working directly with raw USD files (usda, usdc, usdz) or verifying USD compliance. Not for Maya-specific USD export — use maya-pipelineexportusd for that. Not for full DCC…
spatial-interchange
Plan deterministic coordinate-axis and unit conversions between DCCs, engines, and interchange formats from explicit right/up/forward axes and meters-per-unit values.
game-level-layout
Game level layout review helpers for editor contexts.
dcc-mcp-core
Foundation library for the DCC Model Context Protocol (MCP) ecosystem. Provides Rust-powered action management, skills system, IPC transport, MCP Streamable HTTP server (2025-03-26 spec, with 2025-06-18 and 2025-11-25 awareness), sandbox security, shared memory, screen capture, USD scene support, and telemetry for…
dcc-cua
A routing guide for controlling application interfaces through the project’s DCC-CUA system. DCC applications are digital-content tools such as Maya, Blender, and Houdini.
marketplace-publish-extension
Infrastructure skill — publish (register/update) an extension package to a marketplace catalog. Reads the extension's SKILL.md frontmatter, constructs a CatalogEntry, and upserts it into the target marketplace.json. Optionally commits and pushes when the catalog source is a git repository. Use after scaffolding an…