unity-cli-loop: Skill for Claude Code

.agents/skills/uloop-pause-point/SKILL.md

uloop-pause-point is a skill for Claude Code, Codex from hatayama/unity-cli-loop. It costs 56 tokens per session (1,835 once invoked), scanned A, original, MIT.

A Unity debugging skill that pauses a running game at a chosen source-file line and records local variables, parameters, and object fields at that moment.

In plain words
What is it for?
Use it to investigate bugs, verify Play Mode or end-to-end behavior, inspect branch conditions, and confirm that a code path ran.
Why use it?
It shows what the program actually contained at a specific frame, avoiding guesswork from delays or values read after the event has passed.

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-pause-point/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-pause-point

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hatayama/unity-cli-loop/uloop-pause-point"><img src="https://agentmods.dev/badge/skills/hatayama/unity-cli-loop/uloop-pause-point.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,835 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.00056 $0.01835
Opus 5.5 $0.00022 $0.00734
Sonnet 5.5 $0.00011 $0.00367
Haiku 4.5 $0.00006 $0.00184

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

Security

Grade A, and why

uloop-pause-point 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 7d 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-pause-point/SKILL.md · 111 lines

How it starts

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

uloop pause-point

A pause point captures locals at an exact frame without a source edit. Prefer it over sleeps or after-the-fact reads when input delivery, event ordering, or transition-frame fidelity matters.

Quick Check

  1. Enter PlayMode. If the game progresses on its own, pause it with control-play-mode --action Pause, arrange the scenario while paused, and add --resume-play in step 2.
  2. Arm the marker, fire the input, and wait for the hit in one foreground command:
uloop enable-pause-point --file Assets/Scripts/Enemy.cs --line 42 --timeout-seconds 60 --await --trigger "simulate-keyboard --action Press --key Space"
# paused the game in step 1? add --resume-play, or the input never lands
  1. Read CapturedVariables in the hit response first, then gather extra evidence while still paused (execute-dynamic-code, one screenshot).
  2. A single-shot marker (the default) disarms after the hit; clear other modes with uloop clear-pause-point.

Only CapturedVariables is evidence of the values at the patched line. Before deviating, read references/quick-check-template.md.

Parameters

Tables list Unity-accepted parameters plus clear's CLI-only --file/--line; other CLI-only flags (--await, --trigger, --resume-play, --expect, capture filters) are in the references.

enable-pause-point

Enable a pause point so Unity pauses when that code path is reached, either by a named UloopPausePoint.Pause marker (Id) or by resolving a source file and line (File+Line)

Parameter Type Default Description
--id string - Named pause point id passed to UloopPausePoint.Pause. Mutually exclusive with File/Line
--file string - Source file to patch a pause point into: Assets/..., Packages/<package-id>/..., a package folder path, or an absolute path. Requires Line; mutually exclusive with Id
--line integer - 1-based source line to resolve within File. Requires File; mutually exclusive with Id
--timeout-seconds integer 30 Seconds before the enable request expires and stops pausing late hits
--mode enum single-shot Capture mode: single-shot pauses once, continuous pauses on every hit, trace records hits without pausing
--hit-when string - Conditional capture expression (<name> <op> <literal>). Only matching hits are captured; requires File and Line
--max-history integer 20 Maximum number of captured hit frames to retain (1-100)
--max-preview-elements integer 10 Maximum elements in a captured collection's preview (1-1000). Also caps previews in later pause-point-status responses; status cannot change it.
--max-caller-frames integer 2 Maximum caller stack frames recorded per hit (0-8). 0 disables capture. Also caps later pause-point-status responses; status cannot change it.
--method string - Optional method simple name or Type.Method. When set, --line resolves only inside matching methods
--snapshot-timing enum pre-line pre-line captures before the resolved line runs; post-line captures after that line's statement finished, without arming the next line
--persist flag - Re-arm after a domain reload (compile, Play entry); re-arm result is reported in pause-point-status

Read the full file on GitHub · 111 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. 7d ago Changed · -2 lines · +10 tokens per session 95714996245b
  2. 21d ago Changed 722dfbbbd79c
  3. 28d ago Changed · -23 tokens per session 0cc7163354b5
  4. 1mo ago Changed 3488cb6b6f0f
  5. 1mo ago Changed · -1 lines b621af028014
  6. 1mo ago Changed · +2 lines 47fda4ec9c6a
  7. 1mo ago Changed · +1 lines ebe7754b9a28
  8. 1mo ago Changed · +1 lines 91ccf3cf3c12
  9. 1mo ago First seen · 110 lines · 69 tokens per session scan A 5ac13fd41116

Subscribe to this mod's changes

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

Related

Other skills, from other repositories

unity-debug

A workflow for investigating runtime errors in the Unity game-development editor, including null references and console messages.

bigdra50/unity-cli · 51 tokens

aibridge-code-index

Optional read-only AIBridge Code Index lightweight lookup for Unity C# declaration names. Use only when Root Rule declares Code Index enabled and this Skill is installed. Map declaration names to files or positions. Do not use for references, callers, implementations, derived types, diagnostics, comments, strings, or…

liyingsong99/AIBridge · 70 tokens

aibridge-development-workflow

A development workflow guide for projects built with Unity, a game and interactive-app engine. It routes coding, asset changes, debugging, reviews, and validation through project-specific rules and checks.

liyingsong99/AIBridge · 86 tokens

fix-bug

Diagnoses and fixes bugs using a test-first workflow (reproduce, diagnose, fix). Use this skill whenever the user reports a bug, describes unexpected behavior, or asks to investigate or fix a defect. Even if the user says "something's broken", "this isn't working", "fix this bug", or "why does X happen", load this…

nowsprinting/unity-coding-skills · 86 tokens

resolve-diagnostics

Resolves IDE diagnostics (inspections and analyzer findings) at the warning or higher severity level for a given set of files. Use this skill when a workflow's refactoring step calls for resolving diagnostics, or when the user asks to fix warnings, inspections, or static analysis findings in specific files.

nowsprinting/unity-coding-skills · 65 tokens

unity-ui

A Unity user-interface development and testing workflow for UI Toolkit and uGUI, Unity's two main UI systems.

bigdra50/unity-cli · 81 tokens