hatayama/unity-cli-loop/skill
Claude Code and agent skill by hatayama/unity-cli-loop
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Set, inspect, or reset the Unity Game View custom rendering resolution.
Install
npx vskill@latest install hatayama/unity-cli-loop/skillSKILL.md
uloop set-game-view-size
Set, inspect, or reset the Unity Game View custom rendering resolution.
Usage
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. | |
--reset | flag | - | Removes the uloop size entries this tool added from every platform group of the Game View size list, saves the list, and restores the size that was selected before this tool selected its entry. Cannot be combined with --width / --height. |
Output
Returns JSON containing:
Success:falsewhen the Device Simulator (or another non-Game View window) is the Play Mode view and a change or reset was requested, when only one of--width/--heightis given, when a value is not positive, or when--resetis combined with a size. Nothing changes in those cases.View: Play Mode view after the request:GameView,Simulator,None(no Play Mode view open), orOther(a third-party Play Mode view).PreviousWidth/PreviousHeight: Rendering resolution before the request (0when no view was open).CurrentWidth/CurrentHeight: Rendering resolution after the request.Changed: Whether the rendering resolution changed.SelectedSize: Name of the entry selected in the Game View size dropdown after the request, e.g.uloop (1280x720)orFree Aspect. Present when a Game View is showing.Removed: Number ofuloopentries removed. Present with--reset.Message: Human-readable status.Warning: Present after a change; says that theuloopentry persists and how to remove it.
Examples
Notes
- Changing the size adds an entry named
uloop (<width>x<height>)to the Game View size dropdown and selects it; later calls update that one entry, and entries whose name only starts withuloop(such asuloop-phone) are never touched. Unity saves the list to the user-wideGameViewSizes.assetin the Editor preferences folder (macOS:~/Library/Preferences/Unity/Editor-5.x/, Windows:%APPDATA%\Unity\Editor-5.x\Preferences\), so the entry outlives the Editor session and appears in every project. One entry exists per platform group (Standalone, iOS, Android, ...), so it can sit in more than one group after switching the build target. --resetremoves those entries from every group and selects the size that was selected before the first change in the current Editor session. That earlier selection is remembered only within the Editor session (it survives a domain reload, not an Editor restart); when it is unknown or no longer exists, the first entry of the group (Free Aspect) is selected andMessagesays so. A selection you made yourself in the meantime is kept. The selection is restored only for the current platform group (the one of the active build target); in other groups the entry is removed and Unity keeps or clamps the selection on its own.- Under the Device Simulator the Game View size does not apply: a change or
--resetreturnsSuccess: falseand changes nothing. Runuloop game-view-mode --to GameViewfirst, or pick a device withuloop game-view-mode --device <name>to change the simulated screen size. Reading without arguments still works and reports the Simulator's rendering size withView: Simulator. - No Play Mode view open: reading reports
View: Nonewith0x0and opens nothing; a change opens a Game View with the requested size;--resetremoves the entries and has no selection to restore. - Width and height must be provided together and be positive.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingPackages/src/Editor/FirstPartyTools/SetGameViewSize/Skill/SKILL.md
Popularity
- Repository stars
- 520
- Repository forks
- 44
- 7-day trend score
- 31
Stars and forks are for the whole GitHub repository, not this skill alone. 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
[](https://verified-skill.com/skills/hatayama/unity-cli-loop/skill)