hira1010/2nd-brain/uloop-simulate-keyboard
Claude Code and agent skill by hira1010/2nd-brain
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Simulate keyboard input in PlayMode through Unity Input System. Use for key presses, holds, releases, and game controls such as WASD or Space.
Install
npx vskill@latest install hira1010/2nd-brain/uloop-simulate-keyboardSKILL.md
The same SKILL.md was published earlier as styly-dev/styly-netsync/uloop-simulate-keyboard.
Task
Simulate keyboard input on Unity PlayMode: $ARGUMENTS
Workflow
- Ensure Unity is in PlayMode (use
npx --yes uloop-cli@2.2.0 control-play-mode --action Playif not) - Execute the appropriate
npx --yes uloop-cli@2.2.0 simulate-keyboardcommand - Take a screenshot to verify the result:
npx --yes uloop-cli@2.2.0 screenshot --capture-mode rendering - Report what happened
Tool Reference
Parameters
| Parameter | Type | Default | Description | |
|---|---|---|---|---|
--action | enum | Press | Press, KeyDown, KeyUp | |
--key | string | (required) | Key name matching Input System Key enum (e.g. W, Space, LeftShift, A, Enter). Case-insensitive. | |
--duration | number | 0 | Hold duration in seconds for Press action (0 = one-shot tap). Ignored by KeyDown/KeyUp. |
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 |
KeyDown/KeyUp Rules
KeyDownfails if the key is already heldKeyUpfails if the key is not currently held- Multiple keys can be held simultaneously (e.g. W + LeftShift for sprint)
- All held keys are automatically released when PlayMode exits
- To hold a key for a fixed duration, prefer
--action Press --duration <seconds>(one-shot, blocks until release). For multi-key holds (e.g. Shift+W), issue separateKeyDowncalls, thensleep <seconds>between them and theKeyUpcalls.
Global Options
| Option | Description | |
|---|---|---|
--project-path <path> | Optional. Use only when the target Unity project is not the current directory. |
Examples
Output
Returns JSON with:
Success(boolean): Whether the action succeeded (e.g.KeyDownon a not-yet-held key,KeyUpon a currently-held key, orPressround-trip)Message(string): Description of what happened or why it failedAction(string): The--actionvalue that was applied (Press,KeyDown, orKeyUp)KeyName(string, nullable): The key that was acted on; may benullwhen the action could not resolve a key
Prerequisites
- Unity must be in PlayMode
- Input System package must be installed (
com.unity.inputsystem) - Use this only when the project already uses the New Input System.
- Game code must read input via Input System API (e.g.
Keyboard.current[Key.W].isPressed), not legacyInput.GetKey()
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking13_Unity/.codex/skills/uloop-simulate-keyboard/SKILL.md
Popularity
- Repository stars
- 1
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hira1010/2nd-brain/uloop-simulate-keyboard)