unity-cli-loop: Skill for Claude Code

.agents/skills/uloop-hot-reload/SKILL.md

uloop-hot-reload is a skill for Claude Code, Codex from hatayama/unity-cli-loop. It costs 44 tokens per session (1,801 once invoked), scanned A, original, MIT.

A Unity development skill that applies many C# code changes directly to the running Editor without restarting or recompiling the whole project. New types and some cross-file changes still require a normal compile.

In plain words
What is it for?
Use it to hot-reload changed C# files, add compatible methods or fields, revert hot-reloaded changes, and identify edits that could not be patched.
Why use it?
It shortens the wait when testing edits to existing methods, so developers can iterate while Unity is in Edit Mode or Play Mode.

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-hot-reload/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-hot-reload

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hatayama/unity-cli-loop/uloop-hot-reload"><img src="https://agentmods.dev/badge/skills/hatayama/unity-cli-loop/uloop-hot-reload.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,801 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.00044 $0.01801
Opus 5.5 $0.00018 $0.00720
Sonnet 5.5 $0.00009 $0.00360
Haiku 4.5 $0.00004 $0.00180

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

Security

Grade A, and why

uloop-hot-reload 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 15d 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-hot-reload/SKILL.md · 112 lines

How it starts

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

uloop hot-reload

Replaces method bodies in the running Editor (EditMode or PlayMode) directly from edited project source files — no domain reload, no attributes, no source markers. Private/internal member access, static methods, return values, async methods, and iterators all work within the limits below, including private access inside async, iterator, lambda, local-function, and LINQ-query bodies. Methods that cannot be patched are reported as Skipped or Failed; one unpatchable method never aborts the rest of the run. Outcome says whether the edit is live (ReplacedByCompile: a fallback compile succeeded, so it is compiled in and no patch is active).

Usage

uloop hot-reload --files Assets/Scripts/Enemy.cs
uloop hot-reload --files Assets/Scripts/Enemy.cs,Assets/Scripts/Boss.cs
uloop hot-reload
uloop hot-reload --files Assets/Scripts/Enemy.cs --compile-on-skip off
uloop hot-reload --revert-all

Multiple files are one comma-separated value (or a JSON array); array options consume exactly one value token.

A script under a brand-new .asmdef cannot be hot-reloaded before its first import: Unity has not created that assembly yet. Run uloop compile once, then iterate with hot reload. A new file under an existing .asmdef can be hot-reloaded, but it is never selected automatically — pass it with --files.

Parameters

Parameter Type Default Description
--files array - Project-relative .cs paths to hot-reload (method bodies, added members, and new top-level types). When omitted or empty on apply, selects compiled snapshot sources only — those whose bytes changed since the last compile snapshot, capped at 50 changed files per assembly with a warning when the cap trims the list; a file that has never been compiled is never selected and must be passed explicitly, except an introduced type's file after Play Mode entry or --revert-all, which is selected again; run uloop compile first when no snapshot exists, or pass explicit paths when no changed source is found
--revert-all flag - Remove every active hot-reload patch and added member and clear the ledger; introduced types stay loaded until the next domain reload. When set, --files is ignored
--status flag - Lists the currently active changes (patched methods, added members, and introduced types) without applying or reverting anything.
--compile-on-skip enum auto When edits stay unapplied (Skipped/Failed methods, Failed types; a re-bound sibling's Skipped rows and uncompared bodyless members aside), run uloop compile in this command: auto only in Edit Mode (never stops a Play session), on always unless Unity holds compiles until Play ends, off never. The response's CompileFallback says which; when the compile ran, Compile carries its result and Success is the compile's.

Read the full file on GitHub · 112 lines

Files

What ships with it

7 files 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. 15d ago Changed 7dee31645804
  2. 21d ago Changed · +2 lines bf3c03792159
  3. 26d ago Changed · +4 lines 85c02d12e72f
  4. 28d ago Changed · -116 tokens per session 4e1db732d7c1
  5. 29d ago Changed 30c1eb49c627
  6. 1mo ago Changed · -1 tokens per session 96b7e02d4ed5
  7. 1mo ago Changed · +1 lines 800dc9144011
  8. 1mo ago Changed 7674504eb644
  9. 1mo ago Changed 7750a80f9bf9
  10. 1mo ago First seen · 105 lines · 161 tokens per session scan A f519bdbb8be2

Subscribe to this mod's changes

uloop-hot-reload is a skill published in the GitHub repository hatayama/unity-cli-loop (586 stars, last pushed 2d ago), licensed MIT. It adds 44 tokens to every session and 1,801 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-31.