unreal-plugin
简介
unreal-plugin
原始描述
Control Unreal Engine Editor via OpenClaw Unreal Plugin. Use for Unreal development tasks including level/actor management, transforms, PIE control, debugging, input simulation, and console commands. Can create/delete actors, save levels, run console commands, simulate input, and capture viewport screenshots and logs — destructive operations should be confirmed with the user. Use only on explicit Unreal Editor requests, in trusted local projects.
通过你的 Agent 添加
安装目录:unreal-plugin/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: unreal-plugin
version: 1.0.2
description: Control Unreal Engine Editor via OpenClaw Unreal Plugin. Use for Unreal development tasks including level/actor management, transforms, PIE control, debugging, input simulation, and console commands. Can create/delete actors, save levels, run console commands, simulate input, and capture viewport screenshots and logs — destructive operations should be confirmed with the user. Use only on explicit Unreal Editor requests, in trusted local projects.
homepage: https://github.com/TomLeeLive/openclaw-unreal-skill
author: Tom Jaejoon Lee
disableModelInvocation: true
OpenClaw Unreal Plugin
MCP skill for controlling Unreal Engine Editor via OpenClaw.
Connection Modes
Mode A: OpenClaw Gateway (Remote)
The plugin connects to OpenClaw Gateway via HTTP polling. Works automatically when Gateway is running.
Mode B: MCP Direct (Claude Code / Cursor)
The plugin runs an embedded HTTP server on port 27184. Use the included MCP bridge:
# Claude Code
claude mcp add unreal -- node /path/to/Plugins/OpenClaw/MCP~/index.js
# Cursor — add to .cursor/mcp.json
{"mcpServers":{"unreal":{"command":"node","args":["/path/to/Plugins/OpenClaw/MCP~/index.js"]}}}
Both modes run simultaneously.
Editor Panel
Window → OpenClaw Unreal Plugin — opens a dockable tab with:
- Connection status indicator
- MCP server info (address, protocol)
- Connect / Disconnect buttons
- Live log of tool calls and messages
Tools
Level
level.getCurrent— current level namelevel.list— all levels in projectlevel.open— open level by namelevel.save— save current level
Actor
actor.find — find by name/class
actor.getAll — list all actors
actor.create — create actors: StaticMeshActor (Cube, Sphere, Cylinder, Cone), PointLight, Camera
actor.delete — delete by name
actor.getData — detailed actor info
actor.setProperty — set properties via UE reflection system
Transform
transform.getPosition / transform.setPosition
transform.getRotation / transform.setRotation
transform.getScale / transform.setScale
Transform tools require a valid RootComponent (works on StaticMeshActor, PointLight, etc. — not on bare Actor).
Component
component.get — get component data
component.add — add component (not yet implemented)
component.remove — remove component (not yet implemented)
Editor
editor.play — start PIE (uses RequestPlaySession)
editor.stop — stop PIE
editor.pause / editor.resume — pause/resume PIE
editor.getState — current editor state
Debug
debug.hierarchy — actor hierarchy tree
debug.screenshot — capture editor viewport
debug.log — write to output log
Input
input.simulateKey — simulate key press
input.simulateMouse — simulate mouse
input.simulateAxis — simulate axis
Asset
asset.list — list assets at path
asset.import — import asset (not yet implemented)
Console
console.execute — run console command
console.getLogs — read project log file; params: count (number of lines), filter (text filter)
Blueprint
blueprint.list — list blueprints
blueprint.open — open blueprint (not yet implemented)
Troubleshooting
Stale binaries / plugin not loading
actor.find — find by name/classactor.getAll — list all actorsactor.create — create actors: StaticMeshActor (Cube, Sphere, Cylinder, Cone), PointLight, Cameraactor.delete — delete by nameactor.getData — detailed actor infoactor.setProperty — set properties via UE reflection systemtransform.getPosition/transform.setPositiontransform.getRotation/transform.setRotationtransform.getScale/transform.setScale
Transform tools require a valid RootComponent (works on StaticMeshActor, PointLight, etc. — not on bare Actor).
Component
component.get — get component data
component.add — add component (not yet implemented)
component.remove — remove component (not yet implemented)
Editor
editor.play — start PIE (uses RequestPlaySession)
editor.stop — stop PIE
editor.pause / editor.resume — pause/resume PIE
editor.getState — current editor state
Debug
debug.hierarchy — actor hierarchy tree
debug.screenshot — capture editor viewport
debug.log — write to output log
Input
input.simulateKey — simulate key press
input.simulateMouse — simulate mouse
input.simulateAxis — simulate axis
Asset
asset.list — list assets at path
asset.import — import asset (not yet implemented)
Console
console.execute — run console command
console.getLogs — read project log file; params: count (number of lines), filter (text filter)
Blueprint
blueprint.list — list blueprints
blueprint.open — open blueprint (not yet implemented)
Troubleshooting
Stale binaries / plugin not loading
component.get — get component datacomponent.add — add component (not yet implemented)component.remove — remove component (not yet implemented)editor.play— start PIE (uses RequestPlaySession)editor.stop— stop PIEeditor.pause/editor.resume— pause/resume PIEeditor.getState— current editor state
Debug
debug.hierarchy — actor hierarchy tree
debug.screenshot — capture editor viewport
debug.log — write to output log
Input
input.simulateKey — simulate key press
input.simulateMouse — simulate mouse
input.simulateAxis — simulate axis
Asset
asset.list — list assets at path
asset.import — import asset (not yet implemented)
Console
console.execute — run console command
console.getLogs — read project log file; params: count (number of lines), filter (text filter)
Blueprint
blueprint.list — list blueprints
blueprint.open — open blueprint (not yet implemented)
Troubleshooting
Stale binaries / plugin not loading
debug.hierarchy — actor hierarchy treedebug.screenshot — capture editor viewportdebug.log — write to output loginput.simulateKey— simulate key pressinput.simulateMouse— simulate mouseinput.simulateAxis— simulate axis
Asset
asset.list — list assets at path
asset.import — import asset (not yet implemented)
Console
console.execute — run console command
console.getLogs — read project log file; params: count (number of lines), filter (text filter)
Blueprint
blueprint.list — list blueprints
blueprint.open — open blueprint (not yet implemented)
Troubleshooting
Stale binaries / plugin not loading
asset.list — list assets at pathasset.import — import asset (not yet implemented)console.execute— run console commandconsole.getLogs— read project log file; params:count(number of lines),filter(text filter)
Blueprint
blueprint.list — list blueprints
blueprint.open — open blueprint (not yet implemented)
Troubleshooting
Stale binaries / plugin not loading
blueprint.list — list blueprintsblueprint.open — open blueprint (not yet implemented)Stale binaries / plugin not loading
Clear the build cache and restart the editor:
rm -rf YourProject/Plugins/OpenClaw/Binaries YourProject/Plugins/OpenClaw/Intermediate
Connection issues
- Ensure OpenClaw Gateway is running:
openclaw gateway status
- Check the Editor Panel log for errors
- Verify the MCP port is not blocked by firewall
Security & Privacy Disclosure
openclaw gateway statusThis skill drives a live Unreal Editor. Full disclosure of capabilities and current limitations:
- Local HTTP server hardening (plugin v1.3.1+): the embedded server (port 27184) rejects browser-originated requests (any
Originheader → 403) and supports optional shared-secret auth — setOPENCLAW_BRIDGE_TOKENfor both the Unreal Editor process and the MCP client to requireX-OpenClaw-Tokenon every request. Without the token set, keep the port on trusted machines only — any local process can send editor commands. - Destructive operations — confirm with the user before: deleting actors, saving levels, importing assets, running console commands (
console.execute), and simulating keyboard/mouse input. None of these should run implicitly from a vague request. - Data visibility:
debug.screenshotandconsole.getLogscan capture whatever is on screen or in project logs — including credentials, tokens, or source paths if present. Review before sharing captures outside the machine. - Trigger scope: routine-sounding requests ("clean up the level", "save everything", "just run it") map to state-changing Editor operations — confirm once before the first state-changing call in a session.
- Safety defaults:
disableModelInvocation: trueis set — the model cannot auto-invoke this skill; it runs only on explicit user request. Keep the project under source control before automation sessions. The KoreanSKILL_KO.mdstates the same recommendation; if the two ever disagree, this file governs.
License
Apache-2.0 — See LICENSE.md
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。