unity-cli-loop: Skill for Claude Code

.agents/skills/uloop-game-view-mode/SKILL.md

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

A command for controlling which screen the Game tab shows in uLoop: the game view or a device simulator. It can also select a simulated device by name and list available devices.

In plain words
What is it for?
Use it before playing or inspecting a game when the interface must appear inside a simulated device frame. It switches views, rotates the simulator to match the game view when supported, and reports matching devices.
Why use it?
It avoids checking the game in the wrong view or on the wrong simulated device, including the wrong screen orientation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is hatayama/unity-cli-loop's own configuration. It tells Claude Code and Codex how to work on unity-cli-loop itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything unity-cli-loop configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hatayama/unity-cli-loop. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hatayama/unity-cli-loop/main/.agents/skills/uloop-game-view-mode/SKILL.md
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-game-view-mode

README.md
[![agentmods](https://agentmods.dev/badge/skills/hatayama/unity-cli-loop/uloop-game-view-mode/github.svg)](https://agentmods.dev/skills/hatayama/unity-cli-loop/uloop-game-view-mode)
Your own site
<a href="https://agentmods.dev/skills/hatayama/unity-cli-loop/uloop-game-view-mode"><img src="https://agentmods.dev/badge/skills/hatayama/unity-cli-loop/uloop-game-view-mode/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for uloop-game-view-mode

Your own site · 80×15
<a href="https://agentmods.dev/skills/hatayama/unity-cli-loop/uloop-game-view-mode"><img src="https://agentmods.dev/badge/skills/hatayama/unity-cli-loop/uloop-game-view-mode.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,107 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00061 $0.01107
Opus 5.5 $0.00024 $0.00443
Sonnet 5.5 $0.00012 $0.00221
Haiku 4.5 $0.00006 $0.00111

Measured 8d ago against content hash 6c8ba7dcfce6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

uloop-game-view-mode 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 8d 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-game-view-mode/SKILL.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

uloop game-view-mode

Show which view the Game tab is showing, switch it between the Game view and the Device Simulator (rotating the simulated device to match the Game view's orientation), or pick the simulated device by name.

Usage

uloop game-view-mode [--to <GameView|Simulator>] [--device <name>] [--list-devices]

Parameters

Parameter Type Default Description
--to string unset Simulator switches the current Game view tab to the Device Simulator in place and rotates the device to match the Game view (landscape or portrait) when Player Settings allow that orientation; GameView switches back. Omit to report the current view without changing it.
--device string unset Shows the named device in the Device Simulator and implies --to Simulator when --to is omitted. Case-insensitive: a whole name wins, then a name ending in the given words (iPhone 12 picks Apple iPhone 12, not Apple iPhone 12 mini), then any name containing them. Several matches or none: nothing changes, Success is false, and AvailableDevices lists the candidates or every device.
--list-devices flag - Adds AvailableDevices, the names of every device the Simulator can show, to the response.

Output

Returns JSON containing:

  • Success: false when the Device Simulator is not available, when --device matches several devices or none, or when --device is combined with --to GameView. Nothing changes in those cases.
  • PreviousView: View before the request: GameView, Simulator, None (no Play Mode view open), or Other (a third-party Play Mode view).
  • View: View after the request, same values.
  • Changed: Whether the tab was swapped, a view was opened, or the shown device changed.
  • SimulatorOrientation: Orientation the Simulator renders (Portrait, PortraitUpsideDown, LandscapeLeft, LandscapeRight). Present only when the current view is the Simulator.
  • Device: Name of the device the Simulator shows. Present when the request succeeded and the current view is the Simulator.
  • AvailableDevices: Device names. Present with --list-devices, and when --device matched several devices (the candidates) or none (every device).
  • Message: Human-readable status.
  • Warning: Present when the device was not rotated or the Simulator renders a different orientation than requested.

Read the full file on GitHub · 69 lines

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. 8d ago First seen · 69 lines · 61 tokens per session scan A 6c8ba7dcfce6

Subscribe to this mod's changes

uloop-game-view-mode is a skill published in the GitHub repository hatayama/unity-cli-loop (586 stars, last pushed 2d ago), licensed MIT. It adds 61 tokens to every session and 1,107 once invoked, about $0.0002 per session on Opus 5.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-10-21.