/ucp-surfaces:ucp-visual-feedbackfrom ucp-surfaces
Captures Unity scene visuals from the terminal: screenshots, framed/isolated/orbit views, and video recordings with slowdown for vision-model analysis of appearance, layout, and motion.
Ships in ucp-surfaces. 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.
Hierarchy dumps and logs tell you what exists; they do not tell you whether the crate floats, whether the camera overshoots, or whether the character's feet slide. Capture, look, decide.
view capture --path/--name/--id and view isolate frame a specific object from its bounds.--max-edge 768 is plenty for a decision, and
composites (isolate, orbit) put several angles into one image.--slowdown when a model, not a person, will watch it.-o path.png); without -o, images land under .ucp/captures/ and
recordings under .ucp/recordings/, and the command prints the path. Base64 on stdout is
opt-in (--base64) and costs hundreds of thousands of tokens: never use it in an agent loop.ucp screenshot -o game.png # Game view (Camera.main), 1920x1080 default
ucp screenshot --view scene -o scene.png # the Scene view as currently framed
ucp screenshot --width 1280 --height 720 -o small.png
ucp scene focus --id 46894 --axis 1 0 0 && ucp screenshot --view scene -o side.png
scene focus aims the Scene view camera at an object (optionally along an axis), which makes
Scene-view screenshots repeatable across a before/after pair.
ucp view capture -o main.png # main camera, the whole scene
ucp view capture --name Crate --max-edge 768 -o crate.png # temporary camera framed on the object, scene still visible
ucp view capture --camera 47010 -o cinematic.png # render from a specific camera object
ucp view isolate --id 46894 -o crate-grid.png # Front/Right/Back/Top composite, object alone
ucp view isolate --name Crate --views front,right --max-edge 512 -o crate.png # writes crate-front.png, crate-right.png
ucp view isolate --path "Level/Props/Crate" --background transparent -o crate.png
ucp view orbit --id 46894 --count 8 --elevation 25 --max-edge 384 -o orbit.png
isolate renders one object in isolation, auto-framed from its bounds; the composite grid is
the fastest way for a vision model to read 3D shape from one image.orbit renders a ring of evenly spaced angles (1 to 12) as one grid.--background transparent produces an alpha PNG for compositing.ucp record capture --duration 5 -o clip.mp4 # block until the file is final
ucp record capture --view scene --duration 8 --max-edge 640 -o scene.webm
ucp record capture --duration 6 --slowdown 6 -o for-the-model.mp4
ucp record capture --duration 8 --width 1920 --height 1080 --fps 30 -o hq.mp4 # bitrate scales with size; --bitrate-kbps overrides
ucp record start --duration 30 -o session.mp4 --max-duration 120 # detached; survives this CLI call
ucp play && ucp stop
ucp record stop # finalize (or cancel an armed trigger)
ucp record status
ucp record arm --on play-enter --duration 6 -o enter.mp4 # event-driven
ucp record arm --on 'log:Level loaded' --duration 4 -o loaded.mp4 --wait-timeout 120
ucp record arm --on signal:checkpoint --duration 3 -o cp.mp4 && ucp record signal checkpoint
ucp exec run demo-autopilot --record run.mp4 --record-lead 0.5 --record-tail 1
--format webm). No objects or scripts are injected into the scene.--view game records Camera.main, not the Game view's camera stack. --view scene records
a fixed vantage that does not follow the player, which is often what you want for judging
motion.capture blocks and returns the finalized path. start/stop bracket a sequence of commands
that do not reload the domain (a recompile ends the recording). arm waits for play-enter,
play-exit, a log:<regex> match, or a named signal, then records for --duration.exec run --record wraps a script run with lead and tail seconds so a model sees the before
and after.--slowdown, and why it existsVideo-understanding models do not watch a file; they sample it, typically at about one frame per
second regardless of its frame rate. A six-second clip reaches the model as roughly six frames,
and everything between samples (foot sliding, a camera settling, a one-frame pop) is invisible.
Raising --fps does not help because the sampler ignores it. --slowdown N keeps every captured
frame and divides only the container's declared playback rate, so one gameplay second becomes N
seconds of file and the sampler receives about N frames of it. Use it when the judgment is about
contact, timing, smoothness, or settling. Leave it at 1 for clips a person will watch.
scene focus + --view scene, or the same view capture --path), then ask which is correct
and why.Verify a placement:
ucp transform move --name Crate --to 2 3 0
ucp spatial ground --name Crate
ucp view capture --name Crate --max-edge 768 -o crate.png
Judge a camera-follow tweak:
ucp record capture --view scene --duration 6 --slowdown 4 -o before.mp4
ucp object set-property --id 47010 --component CinemachineThirdPersonFollow --property Damping --value [0.1,0.25,0.3]
ucp record capture --view scene --duration 6 --slowdown 4 -o after.mp4
Capture a scripted moment without babysitting the timing:
ucp record arm --on 'log:Boss spawned' --duration 5 -o boss.mp4 --wait-timeout 300
ucp play
ucp record status
record status and record after the reload instead.--view game needs a Camera.main (tagged MainCamera); an empty scene records black.view capture --camera to render from another camera.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub mflrevan/unity-control-protocol --plugin ucp-surfaces8 skills in this plugin
/ucp-assetsWork with a Unity project's assets and files through the editor with `ucp asset`, `ucp files`, `ucp material`, `ucp references`, `ucp shader`, and `ucp script`: search and inspect assets, read and write ScriptableObject and material fields, move or rename assets without breaking GUID references, edit importer settings instead of .meta files, find every reference to an asset, and check shader and project-file health. Use when the task touches files under Assets/ or Packages/. For scene objects use ucp-scene-authoring; for UXML/USS use ucp-ui-toolkit./ucp-editor-lifecycleBring a Unity project under control with the `ucp` CLI: install the bridge, open or adopt the editor, read the `[editor]` state line every command prints, recompile or hot-reload method bodies without a domain reload, enter and leave play mode, and recover from modal dialogs. Use when a task starts (is Unity running? is the console red? is the scene dirty?), when a command reports COMPILE ERRORS or a MODAL, or when the editor must be opened, restarted, or closed. For scene content, assets, UI, capture, debugging, or project configuration, use the matching ucp-* skill or the unity-control-protocol omni skill./ucp-project-configConfigure a Unity project from the terminal with `ucp packages`, `ucp settings`, and `ucp build`: search, add, and remove UPM packages, manage scoped registries and manifest dependencies, inspect and selectively import .unitypackage archives, read and set player, quality, physics, and lighting settings, tags and layers, and drive the build pipeline (targets, scenes, scripting defines, builds). Use for project setup, dependency work, and release configuration. For scene content use ucp-scene-authoring; for assets use ucp-assets./ucp-runtime-debuggingFind out what the running Unity project is doing and why with `ucp logs`, `ucp run-tests`, `ucp exec`, `ucp profiler`, `ucp profile`, and `ucp frame capture`: read and follow console logs with filters, run edit-mode or play-mode tests by name pattern, execute registered editor scripts with parameters, hot-reload edited method bodies into a running game with `ucp hot-reload`, profile frames and read hierarchies sorted by self time, and export structured captures. Use for playtesting loops, failure triage, test runs, and performance work. For compile errors and editor state use ucp-editor-lifecycle./ucp-scene-authoringBuild and inspect scene content in the live Unity Editor with `ucp scene`, `ucp object`, `ucp transform`, `ucp spatial`, and `ucp prefab`: snapshot and query the hierarchy, create visible primitives, add components, set serialized properties, move/rotate/scale/look-at objects, raycast and ground them, and turn hierarchies into prefabs. Use when the user wants something placed, arranged, wired, or measured in a scene. For assets on disk use ucp-assets; for what the scene looks like use ucp-visual-feedback./ucp-ui-toolkitAuthor and verify Unity UI Toolkit interfaces (UXML, USS, TSS) with `ucp ui`: discover documents and scenarios, lint with Unity's own importers, instantiate a document in an isolated editor panel, inspect its resolved layout and bindings, populate lists and repeaters from JSON scenarios, and capture deterministic PNGs. Use after editing UXML/USS or when the user wants a UI checked or screenshotted without loading a scene. Requires Unity 6 or newer.2 plugins in one repository ship this exact skill · first indexed Oct 15, 2026
Other plugins' skills for the same job