/unreal-skills:capture-posefrom Unreal Harness Skills
Records the editor viewport camera pose (location, rotation, FOV, aspect) and reproduces it as a deterministic in-game screenshot inside PIE for visual validation.
Ships in Unreal Harness Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You cannot play Unreal, and you must never hand-fly the PIE camera to a spot and screenshot it (that is verboten — see CLAUDE.md). This skill is the alternative: a human — who can frame a shot — points the editor viewport at the subject, and you turn that into a deterministic, reproducible in-game capture.
The split of labor is the whole point:
editor_viewport_get_camera — reads the active perspective level-viewport pose: location,
rotation, fov, aspect, ortho, viewport_size. This is the record step.pie_capture_from_pose — inside a live PIE session, spawns a transient camera at a given
pose+FOV, swaps the player's view target to it (instant, no navigation), screenshots the game viewport,
then restores. This is the reproduce in-game step. Returns result.path (status captured).Why in-game and not just the editor viewport: the editor viewport and the running game render differently (e.g. a glossy floor reads near-black in the editor viewport but bright in PIE, reflection captures differ, exposure/post differ). "What it actually looks like in the game" only comes from PIE.
ortho:true in the read means FOV is meaningless.)editor_viewport_get_camera. If ortho is true, stop and ask them to
reframe in a perspective viewport. Otherwise keep location, rotation, fov, aspect.projects/<game>/captures/<name>.json (create the dir; it lives inside the gitignored game project):
{
"name": "<slug>",
"description": "<what this shot is for>",
"location": { "x": 0, "y": 0, "z": 0 },
"rotation": { "pitch": 0, "yaw": 0, "roll": 0 },
"fov": 90,
"aspect": 1.78,
"map": "/Game/Maps/<Level>",
"created": "<YYYY-MM-DD>"
}
(Determine <game> from the active project / UNREAL_PROJECT_ROOT; record the current level in map
so a replay can load the right map.)pie_start (load map if it
isn't already open). Respect the lease — pie_busy with a queue position is not a failure; re-call
to hold your place (CLAUDE.md "PIE is leased"). Then call pie_capture_from_pose with the recorded
location/rotation/fov/aspect. Read result.path.result.status == "captured" and the file exists.editor_window_screenshot {viewport:true}, then run /visual-critique (IMAGE mode) with the editor shot as
--reference and the in-game capture as --render, using
--focus "composition, framing, camera angle, which subject is centered and at what scale" and
--context "image 1 is the editor viewport and image 2 is the in-game PIE render of the SAME camera pose; lighting, exposure, reflections and post WILL differ and must NOT be penalized — judge ONLY whether the same subject is framed the same way". A high framing score = the rig reproduces the
view. (Don't expect a high overall match — the renders legitimately differ in look; you're
checking framing parity, not art parity.)pie_capture_from_pose passing the recorded aspect (it letterboxes the
capture to match) — this is already in step 4, but call it out if you skipped it.pie_stop (releases the lease). Leave it running
only if the user is mid-session.The saved JSON is now the source of truth for that shot. Report the shot name, its file, and the captured image path.
This is the payoff — any later run reproduces the exact view deterministically:
projects/<game>/captures/<name>.json.pie_start (load its map if needed; respect the lease).pie_capture_from_pose with the stored location/rotation/fov/aspect → result.path.pie_stop if you started PIE.Use this to gate an iteration loop: change the art/material/scene → replay the shot → judge → repeat, with the framing held perfectly constant across every iteration.
aspect. Without it the capture fills the game window's aspect, which usually differs from the
editor viewport → different vertical framing. Passing the recorded aspect letterboxes to match exactly.pie_capture_from_pose grabs the OS window surface; a fully
occluded/minimized PIE window can't produce a frame and you'll get an honest timeout, not a false ok.What SKILL.md sets; muted values are Claude Code's defaults
22 skills in this plugin
/architectWrite or update an architecture document for an Unreal Engine system — a conceptual spec a senior engineer can build from. Use when someone wants to "document this system", "write an architecture doc", "spec a feature before building it", "describe how X works for the team", or "update the docs to match the code". Plan-only and code-free: it researches the live editor, Blueprints, and source, then writes a Design-level document about intent, boundaries, contracts, and invariants — no implementation, no builds, no editor mutation. Works in any UE project, not one studio's house style./automated-testerSet up an automated, agent-observed end-to-end test (or a guarded dev loop) for an Unreal feature in this harness. Use when someone wants to "add a test", "test this feature end-to-end", "verify X works in PIE", "build a verification harness", "guard this feature with a test", or "make a guardrail loop for an agent building X". Opinionated: the engine constructs the scenario via typed C++ primitives, the agent observes the behaviour it controls through a DIFFERENT read primitive, no mocks, headless-first. Encodes docs/TESTING.md./bootstrapCreate a new Unreal Engine project under projects/ wired to this repo's UnrealMCP plugin and pre-configured with the recommended engine built-in plugins (Niagara, Water, GeometryScripting, GAS, StateTree, animation, runtime mesh, etc.), and give the project its own agent-facing CLAUDE.md. Use when someone wants to "bootstrap a project", "make a new UE project", "scaffold a test/sandbox project", get a fresh project to drive with the MCP, or "write a CLAUDE.md for this game". Produces a minimal C++ host project that loads the plugin from this repo (no copy) and builds against the engine at UNREAL_ENGINE_ROOT. Asks the intended architecture (C++-first vs Blueprint-first, single- vs multiplayer) and writes a project CLAUDE.md tuned to the answers; can also adopt an existing project by exploring it and writing a CLAUDE.md that describes it.npx claudepluginhub oliver-io/unreal-harness --plugin unreal-skills