uefn-mcp-lab-guard
UEFN MCP lab guard: path forms (GUID vs LAB_ROOT), shell, what the guard refuses. Use before any MCP tool that WRITES, or any script that sets…
от mimmo-the-root★ 27 звёзд на GitHub
Установить uefn-mcp-lab-guard в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
uefn-mcp-lab-guard
Rules
- Asset paths and tool arguments: ALWAYS GUID form
/<guid>/<project>/...(here/09e4e8d3-83f9-4ee0-9777-072ed3984380/root_ai_lab). The editor refuses/root_ai_labas an asset path (outside this project's valid asset roots). LAB_ROOT(the guard's environment variable): the form depends on the guard. Read the header ofClaude/hooks/mcp_lab.pyin the project and use the documented form (after T-014:/root_ai_lab; wrong form = every write refused withpath outside /<guid>/root_ai_lab). Do not confuse it with the argument form.- Shell: use PowerShell for anything that touches
LAB_ROOTor paths starting with/. Git Bash rewrites/09e4...inC:/Program Files/Git/...and the lab does not start; if unavoidableMSYS_NO_PATHCONV=1. - Activation:
$env:LAB_AGGRESSIVE="1"; $env:LAB_ROOT=...set byContent. - Ledger
Claude/logs/explore-ledger.jsonl: every call hasr= ok / rejected / refused / no_answer. Cite a recipe only from anokline with the exact arguments. - The guard refuses: strings that start with
/outside the lab and outside the accepted source roots (/Script,/Engine,/Niagara,/Game,/FortniteGame) per create/duplicate/place/add; drive paths in writes; editor quit/restart. It is blind insideexecute_tool_script(it only sees the outer call).
Don't
- Bypassing a refusal: report the exact message and stop.
- Using paths from another project (
root_pillars), closing or killing a running editor (relaunch only throughuefn_session.py recover, opt-in), writing outside the lab, exploiting B-002 (valuesas a JSON string). - Improvising when a recipe fails: exact error and stop.
Recipes (recipes.json, status tool-ok or proven)
AssetTools/find_assetswithfolder_pathandasset_type(filtered read in the lab).AssetTools/list_folderswith a non-recursiveroot_path.GetLogEntries#filter_noise: pattern^(?!.*LogModelContextProtocol).
To try (not verified)
- Duplicates from other projects with
extra-root(e.g./mech-drone): unverified, requiresextra-rootin LAB-PROJECT.txt.
Known editor traps (UEFN 42.20)
A call that changes something and times out (or loses its answer) may have worked: read the editor state before any retry; never replay it blindly (duplicate devices, entities, files or sessions).
AssetTools/save_assetswith an empty or missingasset_pathssaves EVERY unsaved asset: the guard refuses it; name the assets you changed (allow_save_all: trueonly on purpose).Safe ways to get static mesh numbers without the crashing getters: the asset-registry tag
Triangles,static_materials,get_bounding_box(),nanite_settings. Try any new editor call on one asset, alone, after saving, before a loop.Also crash the editor: the console command
EDIT COPYwith no world context, and opening asset editors from Python (useEditorAppToolset/OpenEditorForAsset).Other tools report that UEFN throttles itself when its window is not in front ('Use Less CPU when in Background'). In our lab test
SelectAssetsanswered in 1.4 s with another app on top, so it is not a general rule: a timeout on a call that needs the UI usually means the panel it needs (for example the Content Browser) is not open or not ready. Report it, do not loop.Never call
get_lod_count,get_number_verts,get_num_triangles,get_num_sectionsoragg_geom.export_text()on a static mesh: they crash the editor.ObjectTools-style dynamic input schema:GetDynamicInputSchemacrashed the editor once on an input that was not dynamic. Call it only on a verified dynamic input (GetScriptStackTopologysaysbIsDynamic: true).UI components:
AddUIComponentaccepts only the classes the project permits (others answer "is not permitted in this project"); ask the project before assuming a class is allowed.Creating an asset with an existing name opens a modal "Overwrite Existing Object" that blocks the MCP: use a new name or check first.
A tool tagged
[experimental]is ask-the-owner-first. A call that hangs while UEFN is in the background: report it, do not loop.With Revision Control disconnected
StartSessionfails (Validation failed): reconnect it first.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл uefn-mcp-lab-guard?
UEFN MCP lab guard: path forms (GUID vs LAB_ROOT), shell, what the guard refuses. Use before any MCP tool that WRITES, or any script that sets LAB_ROOT/LAB_AGGRESSIVE.
Как установить скилл uefn-mcp-lab-guard?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл uefn-mcp-lab-guard запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…