uloop-set-game-view-size

uloop-set-game-view-size is a skill for Claude Code, Codex from hatayama/unity-cli-loop. It costs 18 tokens per session (308 once invoked), scanned A, original, MIT.

A Unity Editor skill for viewing or changing the Game View's custom rendering resolution, measured in pixels.

In plain words
What is it for?
Use it to inspect the current resolution or set a width and height such as 1920 by 1080.
Why use it?
It makes the test or capture resolution explicit, helping developers check how a game behaves at a particular screen size.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/hatayama/unity-cli-loop/uloop-set-game-view-size
Any agent
npx skills add hatayama/unity-cli-loop --skill uloop-set-game-view-size
Clone the repo
git clone --depth 1 https://github.com/hatayama/unity-cli-loop

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for uloop-set-game-view-size

README.md
[![agentmods](https://agentmods.dev/badge/skills/hatayama/unity-cli-loop/uloop-set-game-view-size.svg)](https://agentmods.dev/skills/hatayama/unity-cli-loop/uloop-set-game-view-size)
Your own site
<a href="https://agentmods.dev/skills/hatayama/unity-cli-loop/uloop-set-game-view-size"><img src="https://agentmods.dev/badge/skills/hatayama/unity-cli-loop/uloop-set-game-view-size.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 308 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00018 $0.00308
Opus 5 $0.00009 $0.00154
Sonnet 5 $0.00004 $0.00062
Haiku 4.5 $0.00002 $0.00031

Measured 2d ago against content hash 55596c3e9ef9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

uloop-set-game-view-size scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/uloop-set-game-view-size/SKILL.md · 48 lines

What it actually says

uloop set-game-view-size

Set or inspect the Unity Game View custom rendering resolution.

Usage

uloop set-game-view-size [--width <width> --height <height>]

Parameters

Parameter Type Default Description
--width integer unset Target Game View rendering width in pixels. Provide with --height to change the resolution.
--height integer unset Target Game View rendering height in pixels. Provide with --width to change the resolution.

Output

Returns JSON containing:

  • Success: Whether the request completed.
  • PreviousWidth / PreviousHeight: Resolution before the request.
  • CurrentWidth / CurrentHeight: Resolution after the request.
  • Changed: Whether the resolution changed.
  • Message: Human-readable status.

Examples

# Read the current custom rendering resolution
uloop set-game-view-size

# Set a Full HD custom rendering resolution
uloop set-game-view-size --width 1920 --height 1080

Notes

  • Width and height must be provided together when changing the resolution.
  • The tool uses Unity's public UnityEditor.PlayModeWindow API and does not require reflection.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 48 lines · 18 tokens per session scan A 55596c3e9ef9

Subscribe to this mod's changes

uloop-set-game-view-size is a skill published in the GitHub repository hatayama/unity-cli-loop (522 stars, last pushed 2d ago), licensed MIT. It adds 18 tokens to every session and 308 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

unity

Compile, test, and drive Unity for this repo's C# packages (unity/core, jint, quickjs, clearscript) and the two Unity projects (tests/, kitchen-sink/). Use when a change touches C# under unity/, when Unity test results are needed, when a rendering snapshot has to be checked or regenerated, or when the app has to be…

ReactUnity/core · 108 tokens

test-designing-guide

Provides test design methodology for Unity projects. Use this skill whenever designing test cases from requirements or specifications, including selecting test techniques, deriving test cases, and formatting them. Even for small features, load this skill to ensure test design rigor.

nowsprinting/unity-coding-skills · 52 tokens

test-writing-guide

Provides guidelines for writing test code for Unity projects. Make sure to use this skill whenever writing, creating, editing, or modifying test code files (files under Tests/). This includes implementing new tests, fixing test failures, adding test cases, or any task that results in test code changes. Even for small…

nowsprinting/unity-coding-skills · 81 tokens

unity-pipeline

Drive this repo's running Unity Editor from the shell via the official unity CLI and the com.unity.pipeline package — recompile/test loop, C# eval, console logs, Game/Scene screenshots, the srgate SerializeReference check, and authoring new [CliCommand] commands. Use whenever a task needs to compile, test, inspect, or…

VPDPersonal/Aspid.FastTools · 93 tokens

editor-media-capture

Shoot Unity Editor screenshots and GIFs for this package's documentation without the user touching Unity — floating Inspectors, TypeSelectorWindow dropdowns, prefab-mode states, and ffmpeg GIF assembly. Use when a task asks for docs media (PNG/GIF) of editor UI under Documentation/Images, or when scripting…

VPDPersonal/Aspid.FastTools · 73 tokens

run-tests

Provides guidelines for running Unity tests using the rununitytests tool. Make sure to use this skill whenever running, executing, or re-running tests on the Unity editor. This includes verifying implementations, debugging test failures, running specific test assemblies, or any task that involves the rununitytests…

nowsprinting/unity-coding-skills · 130 tokens