Avoid common Unreal mistakes — garbage collection, UPROPERTY macros, replication authority, and asset reference pitfalls.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install unreal-engine或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install unreal-engine⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/unreal-engine/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: Unreal Engine description: Avoid common Unreal mistakes — garbage collection, UPROPERTY macros, replication authority, and asset reference pitfalls. metadata: {"clawdbot":{"emoji":"🎯","os":["linux","darwin","win32"]}} ---
UPROPERTY() to preventUPROPERTY() marks for GC tracking — without it, pointer becomes danglingTWeakObjectPtr for optional references — doesn't prevent collection, check IsValid()NewObject() for UObjects — never raw new, GC won't track itUPROPERTY() required for Blueprint access — and for GC trackingUFUNCTION() for Blueprint callable/events — also required for replicationEditAnywhere vs VisibleAnywhere — edit allows changes, visible is read-onlyBlueprintReadWrite vs BlueprintReadOnly — controls Blueprint access levelBeginPlay after all components initialized — safe to access componentsPostInitializeComponents before BeginPlay — for component setupEndPlay for cleanup — called on destroy and level transitionPrimaryActorTick.bCanEverTick = falseGetWorldTimerManager().SetTimer()PrePhysics, DuringPhysics, PostPhysicsUPROPERTY(Replicated) for variable sync — implement GetLifetimeReplicatedPropsUFUNCTION(Server) for client-to-server RPC — must be Reliable or UnreliableHasAuthority() to check if server — before executing authoritative logicRole and RemoteRole for network role checks — ROLE_Authority is serverTSoftObjectPtr) load on demand — for optional or large assetsLoadSynchronous() or AsyncLoad for soft refs — don't access until loadedTSubclassOf — type-safe class selectionTSharedPtr for non-UObjects — reference counted, auto-deletesTUniquePtr for exclusive ownership — can't copy, moves onlyMakeShared() for creation — single allocation for object and control blocknew/delete with smart pointers — choose one patternIsValid() node before accessGetWorld() null in constructor — world doesn't exist yet, use BeginPlayFString for display, FName for identifiers — FName is hashed, faster comparison安装 Unreal Engine 后,可以对 AI 说这些话来触发它
Help me get started with Unreal Engine
Explains what Unreal Engine does, walks through the setup, and runs a quick demo based on your current project
Use Unreal Engine to avoid common Unreal mistakes — garbage collection, UPROPERTY macros...
Invokes Unreal Engine with the right parameters and returns the result directly in the conversation
What can I do with Unreal Engine in my finance & investment workflow?
Lists the top use cases for Unreal Engine, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/unreal-engine/ 目录(个人级,所有项目可用),或 .claude/skills/unreal-engine/(项目级)。重启 AI 客户端后,用 /unreal-engine 主动调用,或让 AI 根据上下文自动发现并使用。
Unreal Engine 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Unreal Engine 可免费安装使用。请查阅仓库了解许可证信息。
Avoid common Unreal mistakes — garbage collection, UPROPERTY macros, replication authority, and asset reference pitfalls.
Unreal Engine 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my finance & investment tasks using Unreal Engine
Identifies repetitive steps in your workflow and sets up Unreal Engine to handle them automatically