hand

Execute keyboard and mouse input actions for web games via Chrome DevTools Protocol.

4|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/LilMGenius/AFK --skill hand
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hand
Source: https://github.com/LilMGenius/AFK/tree/main/.cursor/skills/hand
Command: npx skills add https://github.com/LilMGenius/AFK --skill hand

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the need for manual input when an AI agent is autonomously playing web games in AFK play mode, enabling precise, reliable control of game actions via the browser's developer tools protocol.

Core Features & Use Cases

  • CDP-based Input Execution: Sends keyboard presses and mouse clicks directly to web game elements using Chrome DevTools Protocol.
  • Game-Specific Script Support: Runs pre-defined control scripts for individual games to enable more accurate, context-aware inputs than generic key presses.
  • Play Mode Exclusive: Only operates during AFK's autonomous play mode, and is never used in read-only coach mode. Use case: When AFK is autonomously playing 2048, this Skill executes the correct arrow key presses to move tiles based on board state readings from the Eye skill.

Quick Start

Invoke the hand skill automatically by running the afk:play command with your target web game, and it will handle all required input actions for autonomous gameplay.

Frequently Asked Questions about hand

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate keyboard and mouse input for web games using Chrome DevTools Protocol?

Automate keyboard and mouse input for web games using Chrome DevTools Protocol by sending precise key presses and clicks directly to browser elements. This enables reliable, context-aware game control for AI agents during autonomous play sessions without manual intervention.

Can I execute game-specific control scripts for browser automation?

Yes, you can execute game-specific control scripts for browser automation. The system runs pre-defined scripts for individual web games to deliver more accurate, context-aware inputs than generic key presses based on the current game state.

How do I set up AFK play mode to autonomously control a web game?

Set up AFK play mode by invoking the autonomous play command with your target web game. The system automatically handles all required input actions, reading the DOM state and executing precise inputs to play the game without manual interaction.

Does browser automation input simulation work in read-only coach mode?

No, browser automation input simulation does not work in read-only coach mode. The input execution functionality operates exclusively during AFK autonomous play mode and is never activated when the system is in a read-only coaching state.

What is the best way to simulate AI agent inputs for browser-based gaming?

The best way to simulate AI agent inputs for browser-based gaming is via Chrome DevTools Protocol. It applies reliable, context-aware game input execution by sending targeted keyboard presses and mouse clicks directly to the web game elements.