/unreal-skills:seefrom Unreal Harness Skills
Analyzes image/texture geometry — transparent padding, opaque content bounds, solid interior, edge feathering, and shape. Returns JSON metrics and an annotated proof PNG. Useful before placing UI content over an image or scaling a sprite.
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.
Read when SKILL.md points to them; scripts run unread.
You are about to place content over an image, scale it, or size a panel to it — and the image lies. Its canvas includes transparent padding, its edges are feathered or torn, and the parchment/paper/keycap field has a dark rim or beveled skirt you must not put text on. Measuring this by eye is how panels end up with text clipping a torn corner, a glyph sitting on a key's bevel instead of its face, or a frame stretched into mush. This skill measures it numerically, then proves the measurement with a picture you read back with your own eyes.
Run the analyzer → read its JSON → look at the annotated PNG it drew → report the numbers the caller needs (and only those). The analyzer is self-verifying: it asserts its own claims (containment, coverage, bbox-bounds) and exits non-zero on a hard failure, and it renders the image over a checkerboard with every computed rectangle drawn and labeled so you can confirm by eye that the boxes hug the right regions. Numbers can pass while a box still visually clips a torn edge — that is why both layers exist and you must do both.
python ${CLAUDE_SKILL_DIR}/scripts/see.py <image> [options]
Deps: Pillow + numpy (no scipy). This repo's test toolchain already has them; if a bare
python lacks them, pip install pillow numpy.
Common options:
| Option | Meaning |
|---|---|
--threshold N | alpha ≥ N counts as "solid" (0–255, default 200). Lower it for very soft/glowy art. |
--coverage F | min opaque fraction the solid-interior rect must hit (default 0.99). |
--margin F | extra safety inset (fraction of canvas) for the recommended content rect (default 0.03) — keeps content off the feathered/burnt rim. |
--lum-percentile P | opaque-luminance percentile splitting the bright "light field" from a dark rim (default 55). Raise to demand a brighter text bed; lower to include more of the paper. |
--target WxH | report stretch distortion if the image were drawn at this size (the panel "stretch trap"). |
--out-dir DIR | where to write the PNG + JSON (default tmp/see/<stem>/). |
--no-heatmap / --json-only | skip the alpha heatmap / suppress the human summary. |
All rects come as fractions (resolution-independent — use these for UMG) and pixels.
image — true width×height, aspect, mode, has_alpha, dpi.bbox_solid — the opaque content's tight bounding box + trimmed_size: the real
content dimensions ignoring transparent padding. This is the answer to "how big is it
actually" for scaling, and (for a keycap) the ratio trimmed_height / canvas_height is the
opaque-body fraction you divide by to make the visible cap match a target size.feather_px — per-edge soft-edge width (gap between "any alpha" and "solid"). Wide
feather ⇒ inset content further.interior_solid — the largest reliably-opaque rectangle (coverage reports how
opaque), with insets (L/T/R/B fractions). The measured safe-to-draw-on region.content_recommended — interior_solid + --margin. Its insets map directly to
a UMG OverlaySlot padding so content lands on the paper, not the rim.light_field — the bright central area, distinct from a dark/aged rim — where dark
text reads with most contrast. Narrower/off-center than content_recommended; use it when
contrast matters more than space, and read its insets knowing it can bias toward the
lighter side of the art.shape (+fill_ratio), centroid (pivot/centering), symmetry (is the
content centered?), and stretch_check (distortion_pct + verdict) when --target
given.outputs — paths to the annotated PNG, alpha heatmap, and full JSON.checks / verified — the self-verification results.The face-center caveat for keys / beveled tiles.
seemeasures the opaque and bright regions, which for a 3D-looking keycap is the whole cap (skirt + top face), not the flat top face alone. The drawable face center is usually offset from both the box center and the centroid (the bevel/skirt pushes it up, sometimes sideways). For those, takeinterior_solid/light_field/centroidas the starting estimate, then confirm the exact face center by eye on the annotated PNG and record it as a(cx, cy)fraction. That fraction is the single most important number thekey-indicator-helperskill needs.
verified: true and every checks entry passed. A non-zero
exit means a hard assertion failed — fix inputs (e.g. lower --threshold) before trusting
anything.Read the annotated *.see.png and look at it like a critic. Zoom into a corner.
Does the blue solid-interior box sit fully on opaque paper? Does the green content box
clear the burnt rim? Does the cyan light-field actually land on the light area / the key's
top face? If a box clips an edge or floats off the art, re-run with a different
--threshold / --coverage / --lum-percentile / --margin and look again. Iterate one
knob at a time.content_recommended.insets as the
OverlaySlot/Canvas padding; check light_field if the art has a dark rim and text must pop.(cx, cy) face-center fraction and the opaque-body fraction (trimmed_size ÷ canvas).bbox_solid.trimmed_size (not the canvas) and
preserve image.aspect; run --target to confirm you won't distort.centroid and bbox_solid center.--target; a "WILL DISTORT" verdict means match the
aspect or nine-slice instead of stretching.see never imports a texture to /Game, edits an asset, or drives
Unreal. It writes only its own PNG/JSON under the out-dir. Importing the texture
(asset_textures_import) and wiring the result into a widget is the consumer's job — for a
keypress/key glyph that's the key-indicator-helper skill; hand it the fractions.The analyzer is the place to add new "exactly-similar" measurements as they come up — keep each one self-verified (a numeric assertion + something visible in the annotated PNG). Likely next axes: connected-component / sprite-atlas island reporting (multiple opaque regions), nine-slice margin auto-suggestion (uniform-border detection), and premultiplied-vs-straight alpha + edge-fringe detection. Add the flag, draw the result on the proof image, and assert it.
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./buildBuild an Unreal Engine project across its flavors — the editor target for local play-in-editor (PIE), a standalone/packaged Windows client, and a dedicated server (local dev or a cooked Linux build for remote/cloud hosting). Use when someone wants to "build the game", "build the editor", "compile the project", "package for Windows", "cook content", "make a client/server build", "build the dedicated server", "make a shipping build", "build for the cloud/GameLift", or asks which build command they need and what config/platform to use. Generic across any UE project with similar Editor/Game/Server target architecture — it derives names from the project, hardcodes none. Knows the compile-vs-cook-vs-package distinction, the target matrix, and the constraints that silently break builds./capture-poseTurn a human-framed editor viewport into a reproducible, automated IN-GAME screenshot. The human positions the level-editor camera on whatever they want to see; this records that exact pose (location/rotation/FOV/aspect) and reproduces it inside the running game (PIE) through the real game render path — no character driving, no camera flying — saving the shot so any later run can re-capture the identical view with zero human input. This is the sanctioned way to build the "fixed capture rig" that agent-observed testing doctrine requires (docs/TESTING.md in the harness repo) before any screenshot-based visual validation. Use when someone says "capture this view", "record my camera", "snapshot this framing in-game", "set up a repeatable shot of X", "make a capture rig for this", or "I framed it — grab it in the game". Pairs with /visual-critique for judging the captured frame (against a reference image or a written spec).
/docsBuild and maintain a game project's architecture-documentation system — a bidirectionally-navigable, code-synced knowledge base genericized from a production UE reference project's two-taxonomy model. One namespace, three modes. `/docs taxonomy` builds the FORWARD taxonomy (the file-by-file source atlas TAXONOMY.md + doc router INDEX.md, for top-down navigation). `/docs reverse` builds the REVERSE taxonomy (backward-reference CLAUDE.md files that point a leaf folder up to its owning doc + an ANNOTATE.md backlog of undocumented systems). `/docs audit` is the SYNC loop (verify each doc against the code, one per pass, with a resumable ledger). Use for "build a taxonomy / index the codebase / source atlas", "add folder pointers / annotate the source tree / stop agents drifting off-architecture", "audit the docs / check docs against code / find stale docs". Markdown-only — no source edits, no editor mutation. Generic across any UE project (C++-first, Blueprint-first, or with a TS backend); derives source roots from the project, hardcodes none. The doc *bodies* themselves are written by the sibling `/architect` skill.npx claudepluginhub oliver-io/unreal-harness --plugin unreal-skills