input-simulation

input-simulation is a skill for Claude Code, Codex from AlexeyPerov/Unity-Open-MCP. It costs 0 tokens per session (2,770 once invoked), scanned A, original, MIT.

A connector that lets an AI agent test a game in the Unity Editor by simulating clicks, drags, swipes, key presses, and touches.

In plain words
What is it for?
Checking menus, controls, touch interactions, and other gameplay responses through simulated input.
Why use it?
It helps test player interactions without physically using a mouse, keyboard, or touchscreen for every action. Most simulations require Unity play mode.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/alexeyperov/unity-open-mcp/input-simulation
Any agent
npx skills add AlexeyPerov/Unity-Open-MCP --skill input-simulation
Clone the repo
git clone --depth 1 https://github.com/AlexeyPerov/Unity-Open-MCP

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 input-simulation

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexeyperov/unity-open-mcp/input-simulation.svg)](https://agentmods.dev/skills/alexeyperov/unity-open-mcp/input-simulation)
Your own site
<a href="https://agentmods.dev/skills/alexeyperov/unity-open-mcp/input-simulation"><img src="https://agentmods.dev/badge/skills/alexeyperov/unity-open-mcp/input-simulation.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,770 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.02770
Opus 5 $0.00000 $0.01385
Sonnet 5 $0.00000 $0.00554
Haiku 4.5 $0.00000 $0.00277

Measured 4d ago against content hash d5ef3009e67e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

input-simulation 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 4d 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.

skills/extensions/input-simulation/SKILL.md · 191 lines

How it starts

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

Unity Open MCP — Input Simulation Extension

Skill for AI agents testing a game in the Unity Editor by simulating input — clicks, drags, swipes, key presses, and touches — through the unity-open-mcp MCP server.

This domain is embedded in the bridge and opt-in. Its tool group is hidden from ListTools until the connected session activates it. The uGUI tools (pointer, step, probe, pointer3d) compile when com.unity.ugui is present; the keyboard/touch tools compile when com.unity.inputsystem is present. Call capabilities to see which half is live.

Preconditions

  • Unity Editor is open with the target project.
  • unity_open_mcp_ping returns connected: true.
  • The input-simulation tool group is activated: unity_open_mcp_manage_tools(action: "activate", group: "input-simulation"). Or use intent activation: unity_open_mcp_manage_tools(action: "activate_for", intent: "click and drag UI to test the game").
  • Most tools need play mode (pointer, key, touch, step, pointer3d). Enter it first: unity_open_mcp_editor_set_state(state: "play"). probe is read-only and works in edit mode too — use it to build a click plan before entering play mode.

Tools

Tool Reach Play mode?
inputsim_pointer uGUI (EventSystem + ExecuteEvents) — click/drag/hover/submit on a named GameObject, object_id, or screen point yes
inputsim_pointer3d 3D / legacy — Physics.Raycast + OnMouseDown/OnMouseUp/OnMouseDrag SendMessage yes
inputsim_key Input System keyboard device events (Keyboard.current) yes
inputsim_touch Input System touch / swipe (Touchscreen.current) yes
inputsim_step Advance N play-mode frames (EditorApplication.Step) yes
inputsim_probe List active uGUI interactables (paths, ids, rects, interactable, occluded) no (works in edit mode)

All six are gate-free (IsMutating=false — input writes no assets).

Read the full file on GitHub · 191 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. 4d ago First seen · 191 lines · 0 tokens per session scan A d5ef3009e67e

Subscribe to this mod's changes

input-simulation is a skill published in the GitHub repository AlexeyPerov/Unity-Open-MCP (11 stars, last pushed 7d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,770 tokens. 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

develop-web-game

Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with rendergametotext.

netease-youdao/LobsterAI · 64 tokens

game-playtesting

Test a game end to end like a player across boot, controls, gameplay loops, UI, save state, failure recovery, rendering, audio, performance, and platform behavior. Use after game implementation or for regression investigation.

metaspartan/cybara · 48 tokens

develop-web-game

Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with rendergametotext.

seaworld008/Commonly-used-high-value-skills · 64 tokens

smoke-test

End-to-end smoke test skill for DeerFlow. Guides through: 1) Pulling latest code, 2) Docker OR Local installation and deployment (user preference, default to Local if Docker network issues), 3) Service availability verification, 4) Health check, 5) Final test report. Use when the user says "run smoke test", "smoke…

bytedance/deer-flow · 0 tokens

local-frontend-check

Smoke-test or verify UI behaviour on the local Jarvis Registry frontend running at http://localhost/gateway. Use for manual regression checks, bug-fix verification, and end-to-end confirmation of specific flows without running the automated test suite.

ascending-llc/jarvis-registry · 52 tokens

mobile-automation

Control Android and iOS devices, emulators and simulators — launch apps, tap, swipe, type, take screenshots, read the accessibility tree. Use when a task involves a mobile device or app, mobile UI testing, or reproducing a bug on a phone.

mobile-next/mobile-mcp · 58 tokens