uloop-simulate-mouse-input
Skill by hatayama
Simulates mouse clicks, long-press, movement, and scroll in Unity PlayMode through the Input System. It also offers a dry-run that checks what a Game View point hits in 3D physics. It is for developers testing gameplay mouse input in Unity.
Install uloop-simulate-mouse-input
Built from the published package, never by AI.
git clone --depth 1 https://github.com/hatayama/unity-cli-loop /tmp/unity-cli-loop && mkdir -p ~/.claude/skills && cp -r /tmp/unity-cli-loop/.agents/skills/uloop-simulate-mouse-input ~/.claude/skills/uloop-simulate-mouse-inputRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install uloop-simulate-mouse-input in Claude Code
git clone --depth 1 https://github.com/hatayama/unity-cli-loop /tmp/unity-cli-loop && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/unity-cli-loop/.agents/skills/uloop-simulate-mouse-input ~/.gemini/antigravity-cli/skills/uloop-simulate-mouse-inputAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install uloop-simulate-mouse-input in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill lets an AI assistant inject mouse input into a running Unity game through the uloop simulate-mouse-input command. Supported actions are Click, LongPress, MoveDelta, SmoothDelta, and Scroll. Injected input sets Mouse.current state, so runtime code that reads wasPressedThisFrame or Mouse.current.delta sees it. Coordinates use top-left Game View pixels.
The --dry-run option queries Unity Physics raycasts at a Game View point without injecting input. It works in EditMode and without the Input System package, but it needs an active Camera.main. The source says UI button clicks should use the separate simulate-mouse-ui skill. This skill is for developers and QA workflows that verify gameplay mouse input in Unity.
Written from the project's SKILL.md and checked against it.
What it can do
- simulate-mouse-input ClickInjects a button press and release so runtime logic detects a click.
- simulate-mouse-input LongPressHolds a mouse button for a set number of seconds, then releases it.
- simulate-mouse-input MoveDeltaInjects a one-shot mouse movement delta.
- simulate-mouse-input SmoothDeltaInjects mouse movement smoothly over a duration, such as a camera pan.
- simulate-mouse-input ScrollInjects scroll wheel input with horizontal and vertical deltas.
- simulate-mouse-input --dry-runChecks what a Game View coordinate hits in 3D physics without injecting input.
What you need
- Unity with PlayMode
- Input System package (com.unity.inputsystem)
- Active Input Handling set to Input System Package (New) or Both
- An active Camera.main for dry-run
Try asking
- Left-click at Game View point 400,300 in PlayMode and check the result.
- Dry-run a click at 960,540 to see what physics object it hits.
- Smooth pan the camera right by 300 pixels over 0.5 seconds.
Good to know
- Real input injection requires PlayMode and the Input System package.
- Dry-run does not use UI EventSystem raycasts and does not inject input.
- The --duration option has a maximum of 30 seconds.
- Real device mouse input mixes into the same state, so the physical mouse should not be touched during verification.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/uloop-simulate-mouse-input/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to uloop-simulate-mouse-input
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
uloop-simulate-mouse-input: common questions
Does this skill click UI buttons?
The source says UI buttons should use simulate-mouse-ui instead. This skill is for gameplay mouse input that runtime logic reads through Mouse.current.
Can I test mouse input without entering PlayMode?
Only the --dry-run check works without PlayMode, and it does not inject any input. It needs an active Camera.main.
How are coordinates passed to the tool?
Pass top-left Game View coordinates, such as AnnotatedElements SimX and SimY values. The tool converts them internally, so the caller should not flip the Y axis.
How do I install uloop-simulate-mouse-input?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is uloop-simulate-mouse-input free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is uloop-simulate-mouse-input safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to uloop-simulate-mouse-input?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
