Skip to content
Back to skills

Uloop Replay Input

ASecurity

Replay recorded PlayMode keyboard and mouse input. Use for exact gameplay reproduction, E2E runs, or consistent demos from JSON recordings.

  • 576 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 12, 2026
toolsbash

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 12, 2026

npx -y skills add hatayama/unity-cli-loop --skill uloop-replay-input --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Uloop Replay Input?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Uloop Replay Input
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hatayama-uloop-replay-input/badge)](https://www.skillsdirectory.com/skills/hatayama-uloop-replay-input)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: uloop-replay-input
toolName: replay-input
description: "Replay recorded PlayMode keyboard and mouse input. Use for exact gameplay reproduction, E2E runs, or consistent demos from JSON recordings."
---

# uloop replay-input

Replay recorded keyboard and mouse input during PlayMode. Loads a JSON recording and injects input frame-by-frame via Input System with zero CLI overhead. Supports looping and progress monitoring.

Create recording JSON files in the Unity Editor from **Window > Unity CLI Loop > Recordings** with **Start Recording** and **Stop Recording**. There is no CLI command for recording input.

## Usage

```bash
# Start replay (auto-detect latest recording)
uloop replay-input --action start

# Start replay with specific file
uloop replay-input --action start --input-path scripts/my-play.json

# Start replay with looping
uloop replay-input --action start --loop

# Check replay progress
uloop replay-input --action status

# Stop replay
uloop replay-input --action stop
```

## Parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `--action` | enum | `start` | `start` - begin replaying, `stop` - stop mid-way, `status` - check progress |
| `--input-path` | string | auto | Path to the recording JSON. When empty, auto-detects the latest recording in `.uloop/outputs/InputRecordings/` |
| `--no-show-overlay` | flag | - | Hide replay progress overlay |
| `--loop` | flag | - | Loop continuously |

## Deterministic Replay

Replay injects the exact same input frame-by-frame, but the game must also be deterministic to produce identical results. If replay output must be compared across runs, read [references/deterministic-replay.md](references/deterministic-replay.md) before interpreting failures.

## Prerequisites

- Unity must be in **PlayMode**
- **Input System package** (`com.unity.inputsystem`) must be installed; this tool only works with the New Input System.

## Output

Returns JSON with:

- `Success`: Whether the operation succeeded
- `Message`: Status message
- `Action`: Echoes which action was executed (`start`, `stop`, or `status`)
- `InputPath`: Path to recording file (nullable string; populated on `start` only)
- `CurrentFrame`: Current replay frame index (nullable int)
- `TotalFrames`: Total frames in the recording (nullable int)
- `Progress`: Replay progress (nullable float in 0.0 – 1.0)
- `IsReplaying`: Whether replay is currently active (nullable bool)

Files in this skill

  • SKILL.md2.4 KB
  • references/deterministic-replay.md1.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.