unity-cli-loop: Skill for Claude Code

.agents/skills/uloop-simulate-keyboard/SKILL.md

uloop-simulate-keyboard is a skill for Claude Code, Codex from hatayama/unity-cli-loop. It costs 62 tokens per session (1,802 once invoked), scanned A, original, MIT.

A Unity PlayMode tool for sending keyboard presses, holds, and releases through Unity's Input System. PlayMode is Unity's mode for running a game inside the editor.

In plain words
What is it for?
Triggering taps such as jumping, holding movement or sprint keys, and releasing keys such as W, A, S, D, Space, Shift, or Enter.
Why use it?
It lets automated checks and reproductions control game actions without a person pressing keys. Separate key-down and key-up actions also allow controls to remain held for a chosen period.

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-simulate-keyboard/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-simulate-keyboard

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hatayama/unity-cli-loop/uloop-simulate-keyboard"><img src="https://agentmods.dev/badge/skills/hatayama/unity-cli-loop/uloop-simulate-keyboard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,802 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.00062 $0.01802
Opus 5.5 $0.00025 $0.00721
Sonnet 5.5 $0.00012 $0.00360
Haiku 4.5 $0.00006 $0.00180

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

Security

Grade A, and why

uloop-simulate-keyboard 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 1mo 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-simulate-keyboard/SKILL.md · 104 lines

How it starts

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

Task

Simulate keyboard input on Unity PlayMode.

Workflow

  1. Ensure Unity is in PlayMode (use uloop control-play-mode --action Play if not)
  2. Execute the needed uloop simulate-keyboard commands
  3. Inspect the result with the lightest useful evidence: runtime state, logs, or a screenshot
  4. If exact-frame proof would reduce uncertainty, treat Pause Point inspection as an optional follow-up using the section below
  5. Report what happened and which evidence was used

Tool Reference

uloop simulate-keyboard --action <Press|KeyDown|KeyUp> --key <key> [options]
uloop simulate-keyboard --action ReleaseAll

Parameters

Parameter Type Default Description
--action enum Press Press - one-shot key tap (Down then Up), KeyDown - hold key down, KeyUp - release held key, ReleaseAll - force-release every tracked and device-pressed key (allowed while PlayMode is paused; use after a pause-point interruption leaves key state inconsistent)
--key string (required except ReleaseAll) Key name matching Input System Key enum (e.g. W, Space, LeftShift, A, Enter). Case-insensitive. Digit keys use Digit0-Digit9 or Numpad0-Numpad9, not bare 0-9. Not used by ReleaseAll.
--duration number 0 Hold duration in seconds for Press action (0 = one-shot tap, max 30). Ignored by KeyDown/KeyUp/ReleaseAll.

Actions

Action Behavior Use Case
Press KeyDown → wait → KeyUp One-shot tap (jump, use item)
KeyDown KeyDown only (held until KeyUp) Start continuous movement, hold sprint
KeyUp KeyUp only (release held key) Stop movement, release sprint
ReleaseAll Injects a release for every tracked and device-pressed key and resets the hold tracker; confirm the device via ReleasedKeyStates Recover a clean keyboard state after a pause-point interruption

There is no separate hold action: to hold a key, use Press --duration <seconds> (fixed-time hold) or KeyDown followed later by KeyUp (open-ended hold).

Read the full file on GitHub · 104 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. 1mo ago Changed · +1 lines 8a70e9524f54
  2. 1mo ago Changed 784183dd8612
  3. 1mo ago Changed · +15 lines · +23 tokens per session cf91db1335af
  4. 2mo ago First seen · 88 lines · 39 tokens per session scan A 5eff0ce277cc

Subscribe to this mod's changes

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