/unreal-skills:visual-critiquefrom Unreal Harness Skills
Compares a render against a reference image or text spec using Gemini, scoring element-by-element match and suggesting fixes. Use for art-direction comparison or adversarial spec-conformance.
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.
A second set of eyes that is not invested in liking the result. Self-assessment of renders is unreliable — a 1600px frame downscaled to a thumbnail, plus bloom, hides crushed blacks, flat materials, missing/occluded elements, and wrong palettes, and the temptation is to call it "close." This skill refuses to. It judges a render against whatever you can describe the target as:
Exactly one of --reference (image) or --desired (text) is given, and that choice selects the mode.
--reference; a description → --desired./video-critique — this skill judges a single frame.# IMAGE mode — render vs a reference image
bun ${CLAUDE_SKILL_DIR}/critique.ts \
--reference projects/<game>/assets/concept/<art>.png \
--render projects/<game>/Saved/Screenshots/<frame>.png \
[--focus "floor material, panel occlusion"] [--context "ignore the debug overlay"] [--json] [--gate 85]
# SPEC mode — render vs a written desired state
bun ${CLAUDE_SKILL_DIR}/critique.ts \
--desired "a crimson, square, centered button with a thin gold border" \
--render projects/<game>/Saved/Screenshots/<frame>.png \
[--focus "color, centering"] [--json] [--gate 90]
# long specs: read the desired state from a file instead of inline
bun ${CLAUDE_SKILL_DIR}/critique.ts --desired-file spec.txt --render shot.png --json
--reference <img> (IMAGE mode) or --desired "<text>" /
--desired-file <path> (SPEC mode). --render <img> is always required.--json → machine-readable output. The schema is mode-specific:
{match_score, verdict, matches[], blocking_failures[], elements{}, prioritized_fixes[], requires_for_90[]}.{conformance_score, verdict, attributes[], violations[], passes[], requires_for_pass[]} — each attributes[] entry is {attribute, desired, observed, verdict, severity, fix}.--gate N → process exits 3 when the score is < N (works in both modes and both output formats). Keep a loop running until the target is met.--focus "<areas>" — areas/attributes to scrutinize hardest. --context "<text>" — scene ground truth that is NOT penalized and NOT listed as a difference/violation (e.g. "the debug text is expected").gemini-3.5-flash (fast, accurate), falling back to gemini-3.1-pro-preview; override with --model. (The older gemini-2.5-* models are stale — don't use them.) Each run logs [model] … · mode=… · … to stderr so you can verify the model, mode, and the exact images/spec sent.GOOGLE_STUDIO_API_KEY in the repo .env (Bun auto-loads it). Never printed.Both modes are rigorous AND grounded — calibrated to what is actually visible, never confabulated:
matches +
blocking_failures + prioritized_fixes as the work list.desired vs observed with a pass/fail verdict and a severity. The stance
is adversarial but grounded: an attribute passes only if the render clearly satisfies it
(borderline → fail, with the deviation named), yet every cited fail must be genuinely visible. Use
violations + requires_for_pass as the work list.A hard-won lesson behind both: an earlier prompt that ordered the model to "assume the render is wrong and cap the score" produced confabulated, contradictory criticism (e.g. calling translucent panels "opaque boxes"). Don't reintroduce that. It is a second opinion, not an oracle — cross-check its claims against your own eyes.
/capture-pose).--json --gate <N>. Read blocking_failures (IMAGE) / violations (SPEC) top-down.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub oliver-io/unreal-harness --plugin unreal-skills22 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.