Skip to content
cccskills
FreePublished on GitHub

screenshot-game-view

Capture the Unity Editor's Game View as a PNG image for an AI agent to inspect. The screenshot uses the current Game View resolution and corrects vertical flipping on DirectX and Metal to match the visible orientation.

OriginalShow the original description

Capture a screenshot of the Unity Editor's Game View by reading its internal render texture directly. Image size matches the current Game View resolution; the tool corrects Y-flip on DirectX / Metal so the output is always upright. Requires an open Game View window.

Works withUnity
See how to install

Good for

  • Having an AI inspect the current Game View
  • Capturing an image at the current Game View resolution
  • Checking the game's appearance in Unity Editor
  • Getting upright screenshots on DirectX or Metal

Files included (1)

  • SKILL.md2.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Screenshot / Game View

Captures a screenshot from the Unity Editor Game View and returns it as an image. Reads the Game View's own render texture directly via the Unity Editor API. The image size matches the current Game View resolution. Returns the image directly for visual inspection by the LLM.

Behavior

Locates UnityEditor.GameView, repaints it, then reflects the m_RenderTexture field and reads back via Texture2D.ReadPixels. On graphics APIs whose UV origin is top-left (SystemInfo.graphicsUVStartsAtTop), the read-back pixels are vertically flipped before encoding so the orientation matches what the user sees. Returns a PNG image with the resolution baked into the caption.

How to Call

unity-mcp-cli run-tool screenshot-game-view --input '{
  "nothing": "string_value"
}'

For complex input (multi-line strings, code), save the JSON to a file and use:

unity-mcp-cli run-tool screenshot-game-view --input-file args.json

Or pipe via stdin (recommended):

unity-mcp-cli run-tool screenshot-game-view --input-file - <<'EOF'
{"param": "value"}
EOF

Troubleshooting

If unity-mcp-cli is not found, either install it globally (npm install -g unity-mcp-cli) or use npx unity-mcp-cli instead. Read the /unity-initial-setup skill for detailed installation instructions.

Input

NameTypeRequiredDescription
nothingstringNo

Input JSON Schema

{
  "type": "object",
  "properties": {
    "nothing": {
      "type": "string"
    }
  }
}

Output

This tool does not return structured output.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

build-cli

FreeSummary

Build unity-mcp-cli from its TypeScript source and optionally make the command available across terminals with npm link. Covers dependency installation, compilation, version checks, and reporting errors when a step fails.

  • Build unity-mcp-cli from source for the first time
  • Rebuild the CLI after changing TypeScript files
  • Make the CLI command available across terminals
IvanMurzak/Unity-MCP4.5KUpdated Oct 22, 2026

Save changed scenes and assets, then quit a Unity Editor started by a CLI session. A matching session identifier is required, and editors opened manually are left running. Headless editors are supported.

  • Closing a Unity Editor after CLI work
  • Saving changes before ending a headless session
  • Closing only the editor owned by a CLI session
IvanMurzak/Unity-MCP4.5KUpdated Oct 22, 2026

Review unresolved GitHub pull request comments against the current code, apply minimal fixes for valid issues, and reply to review threads. Comments that need human judgment remain open, while fixed or unnecessary requests are resolved with explanations.

  • Addressing unresolved pull request reviews
  • Checking whether review comments still apply
  • Separating fixes from requests needing human review
IvanMurzak/Unity-MCP4.5KUpdated Oct 22, 2026

package-add

FreeSummary

Add packages to a Unity project from its package registry, a Git URL, or a local path. Choose a compatible version or specify one, and receive the installation result after any required reload.

  • Installing a Unity registry package
  • Adding a package at a specific version
  • Installing from a Git branch or tag
IvanMurzak/Unity-MCP4.5KUpdated Oct 22, 2026

package-list

FreeSummary

List packages installed in a Unity project with their names, versions, sources, and descriptions. Filter by source or keyword, or show only direct dependencies—the packages explicitly listed in the project manifest.

  • Checking installed package versions
  • Listing packages installed from Git
  • Reviewing only direct dependencies
IvanMurzak/Unity-MCP4.5KUpdated Oct 22, 2026

package-remove

FreeSummary

Remove an installed UPM package, a package managed by Unity, from a project. Checks that it exists, updates manifest.json, and delivers the result after any reload. Built-in packages and dependencies of other packages cannot be removed.

  • Remove an unused package from a Unity project
  • Check whether a package is installed before removal
  • Receive removal results after Unity finishes reloading
IvanMurzak/Unity-MCP4.5KUpdated Oct 22, 2026

See all skills by IvanMurzak

Report a problem with this skill