unity-cli-loop: Skill for Claude Code

.agents/skills/uloop-control-play-mode/SKILL.md

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

A command for starting, stopping, or pausing Unity Editor Play Mode. PlayMode is the editor state in which a Unity game is running.

In plain words
What is it for?
Starting a game for runtime checks, pausing it for frame inspection, and returning to Unity's edit mode.
Why use it?
It gives automated workflows control over when the game runs and when its state should be paused or inspected.

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-control-play-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-control-play-mode

README.md
[![agentmods](https://agentmods.dev/badge/skills/hatayama/unity-cli-loop/uloop-control-play-mode/github.svg)](https://agentmods.dev/skills/hatayama/unity-cli-loop/uloop-control-play-mode)
Your own site
<a href="https://agentmods.dev/skills/hatayama/unity-cli-loop/uloop-control-play-mode"><img src="https://agentmods.dev/badge/skills/hatayama/unity-cli-loop/uloop-control-play-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-control-play-mode

Your own site · 80×15
<a href="https://agentmods.dev/skills/hatayama/unity-cli-loop/uloop-control-play-mode"><img src="https://agentmods.dev/badge/skills/hatayama/unity-cli-loop/uloop-control-play-mode.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,461 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00046 $0.01461
Opus 5.5 $0.00018 $0.00584
Sonnet 5.5 $0.00009 $0.00292
Haiku 4.5 $0.00005 $0.00146

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

Security

Grade A, and why

uloop-control-play-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 28d 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-control-play-mode/SKILL.md · 54 lines

How it starts

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

uloop control-play-mode

Control Unity Editor play mode (play/stop/pause/step) or query its state without side effects (status).

Usage

uloop control-play-mode [options]

Parameters

Parameter Type Default Description
--action string Play Play - start Play Mode, Stop - stop Play Mode, Pause - pause Play Mode, Step - advance one frame while paused, Status - report current state without changing anything, Resume - alias of Play in every state, including starting Play Mode when stopped
--timeout-seconds integer 180 Maximum seconds to wait for the requested play mode state
--unsaved-changes string keep How Play from Edit Mode handles unsaved Scene/Prefab Stage changes: keep enters Play Mode without saving (like the Editor's Play button); save writes them first; fail stops if any exist

Output

Returns JSON with the current play mode state:

  • IsPlaying: Whether Unity is currently in play mode
  • IsPaused: Whether play mode is paused
  • Changed: Whether the requested action changed the current play mode state
  • WasAlreadyStopped: Whether Stop was requested while Play Mode was already stopped
  • ResumedFromPause: Whether Play resumed a paused Play Mode session instead of starting a new one
  • Message: Description of the action performed
  • Warning (string, optional): Set when the action carries a caveat. With --unsaved-changes save it starts by listing every Scene and Prefab Stage it saved. A fresh Play start always notes that the session started from Edit-time scene state; additionally, when active hot-reload patches or enabled pause points exist and Domain Reload is enabled, it reports how many of them the Play-entry domain reload will discard. Pause points enabled with --persist are counted separately: they are re-armed after the reload, and the warning points at pause-point-status for the re-arm result. Status also reports when Play Mode is running while the Unity Editor is unfocused, because progress may be throttled; run uloop focus-window, or use the pause-point --await/--trigger flow instead of polling for progress.
  • StoppedBy (string, optional): Why Play Mode last stopped: cli-control-play-mode, cli-compile-stop-setting, cli-run-tests-cancel, script-compilation, or unknown. Present on Stop when Play Mode was already stopped, and on Status when Play Mode is not running. Omitted when this Editor session has no confirmed stop.
  • StoppedAt (string, optional): UTC ISO 8601 timestamp of that stop. Omitted together with StoppedBy when no stop is recorded.
  • ActiveScenario (string, optional): Name of the active non-default Play Mode configuration (for example a Multiplayer Play Mode scenario). Omitted when the default configuration is active.

Read the full file on GitHub · 54 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 28d ago Changed · +2 lines 4dea7e9bb711
  2. 1mo ago Changed · +2 lines 3adbc23723e9
  3. 1mo ago Changed 7484459da68f
  4. 1mo ago Changed 05cdeb73e863
  5. 1mo ago Changed · -6 lines · +16 tokens per session 900b37bb60a4
  6. 2mo ago First seen · 56 lines · 30 tokens per session scan A 99959a22d7cd

Subscribe to this mod's changes

uloop-control-play-mode is a skill published in the GitHub repository hatayama/unity-cli-loop (586 stars, last pushed 2d ago), licensed MIT. It adds 46 tokens to every session and 1,461 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-08-30.