hira1010/2nd-brain/uloop-screenshot

Claude Code and agent skill by hira1010/2nd-brain

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Capture Unity Editor windows or Game View rendering as PNG. Use for visual checks, debugging, documentation, or annotated UI element coordinates.

Install

npx vskill@latest install hira1010/2nd-brain/uloop-screenshot

SKILL.md

The same SKILL.md was published earlier as styly-dev/styly-netsync/uloop-screenshot.

npx --yes uloop-cli@2.2.0 screenshot

Take a screenshot of any Unity EditorWindow by name and save as PNG.

Usage

bash
npx --yes uloop-cli@2.2.0 screenshot [--window-name <name>] [--resolution-scale <scale>] [--match-mode <mode>] [--capture-mode <mode>] [--annotate-elements] [--elements-only] [--output-directory <path>]

Parameters

ParameterTypeDefaultDescription
--window-namestringGameWindow name to capture. Ignored when --capture-mode rendering.
--resolution-scalenumber1.0Resolution scale (0.1 to 1.0)
--match-modeenumexactWindow name matching mode: exact, prefix, or contains. Ignored when --capture-mode rendering.
--capture-modeenumwindowwindow=capture EditorWindow including toolbar, rendering=capture game rendering only (PlayMode required, coordinates match simulate-mouse)
--output-directorystring""Output directory path for saving screenshots. When empty, uses default path (.uloop/outputs/Screenshots/). Accepts absolute paths.
--annotate-elementsbooleanfalseAnnotate interactive UI elements with index labels and interaction hints (A / CLICK, B / DRAG, ...). Only works with --capture-mode rendering in PlayMode.
--elements-onlybooleanfalseReturn only annotated element JSON without capturing a screenshot image. Requires --annotate-elements and --capture-mode rendering in PlayMode.

Match Modes

ModeDescriptionExample
exactWindow name must match exactly (case-insensitive)"Project" matches "Project" only
prefixWindow name must start with the input"Project" matches "Project" and "Project Settings"
containsWindow name must contain the input anywhere"set" matches "Project Settings"

Window Name

The window name is the text displayed in the window's title bar (tab). Common names: Game, Scene, Console, Inspector, Project, Hierarchy, Animation, Animator, Profiler. Custom EditorWindow titles are also supported.

Global Options

OptionDescription
--project-path <path>Optional. Use only when the target Unity project is not the current directory.

Examples

bash
# Take a screenshot of Game View (default)
npx --yes uloop-cli@2.2.0 screenshot
# Capture game rendering (coordinates match simulate-mouse, PlayMode required)
npx --yes uloop-cli@2.2.0 screenshot --capture-mode rendering
# Annotate interactive UI elements with index labels (for simulate-mouse workflow)
npx --yes uloop-cli@2.2.0 screenshot --capture-mode rendering --annotate-elements
# Get UI element coordinates without capturing an image (fastest)
npx --yes uloop-cli@2.2.0 screenshot --capture-mode rendering --annotate-elements --elements-only
# Take a screenshot of Scene View
npx --yes uloop-cli@2.2.0 screenshot --window-name Scene
# Capture all windows starting with "Project" (prefix match)
npx --yes uloop-cli@2.2.0 screenshot --window-name Project --match-mode prefix
# Save screenshot to a specific directory
npx --yes uloop-cli@2.2.0 screenshot --output-directory /tmp/screenshots
# Combine options
npx --yes uloop-cli@2.2.0 screenshot --window-name Scene --resolution-scale 0.5 --output-directory /tmp/screenshots

Output

Returns JSON with:

  • ScreenshotCount: Number of windows captured
  • Screenshots: Array of screenshot info, each containing:
  • ImagePath: Absolute path to the saved PNG file. Empty when --elements-only is used because no image file is written.
  • FileSizeBytes: Size of the saved file in bytes
  • Width: Captured image width in pixels
  • Height: Captured image height in pixels
  • CoordinateSystem: "gameView" or "window"
  • ResolutionScale: Resolution scale used for capture
  • YOffset: Y offset used for gameView coordinate conversion
  • AnnotatedElements: Array of annotated UI element metadata. Empty unless --annotate-elements is used.

For AnnotatedElements fields and gameView coordinate conversion, read references/annotated-elements.md before using screenshot coordinates with mouse simulation tools.

When multiple windows match (e.g., multiple Inspector windows or when using contains mode), all matching windows are captured with numbered filenames (e.g., Inspector_1_*.png, Inspector_2_*.png).

Notes

  • Use npx --yes uloop-cli@2.2.0 focus-window first if needed
  • Target window must be open in Unity Editor
  • Window name matching is always case-insensitive

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hira1010/2nd-brain/uloop-screenshot/badge)](https://verified-skill.com/skills/hira1010/2nd-brain/uloop-screenshot)

Something wrong with this skill or its page? Tell us.