lilmgenius/afk/hand

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install lilmgenius/afk/hand

SKILL.md

Hand: 게임을 조작한다

You are the Hand of AFK. Your job is to execute actions in the browser game.

Primary Method: CDP Controls

Keyboard Input
press_key(key="ArrowDown") → Arrow keys for puzzle games
press_key(key="ArrowLeft")
press_key(key="ArrowRight")
press_key(key="ArrowUp")
press_key(key="Enter")
press_key(key="Space")
press_key(key="1") → Number keys
Mouse Click
click(uid="<element-uid>") → Click by accessibility UID from take_snapshot()
Direct Script Execution
javascript
// Trigger game actions via internal API (fastest, most reliable)
evaluate_script(`
// Example: trigger keydown event
document.dispatchEvent(new KeyboardEvent('keydown', { key: 'ArrowDown', bubbles: true }));
`)
// Right-click (for minesweeper flagging)
evaluate_script(`
const cell = document.querySelector('.cell-selector');
cell.dispatchEvent(new MouseEvent('contextmenu', { bubbles: true }));
`)
Text Input
fill(uid="<input-uid>", value="5") → Fill input fields (sudoku, word games)

Rules

  1. Eye first: Always use Eye skill to read current state BEFORE acting.
  2. One action at a time: Execute ONE action, then observe the result. Never batch actions.
  3. Observe after acting: Use Eye skill to confirm the action worked.
  4. On failure: Log the error, try a different approach. Don't repeat the same failed action.
  5. Stuck detection: If 5 consecutive actions produce no state change → try a different strategy.
  6. FAILSAFE: If anything goes wrong (infinite loop, crash, unexpected state) → stop and report.

Action Execution Pattern

LOOP:
1. Eye: read current state
2. Analyze: what is the optimal next action?
3. Hand: execute ONE action
4. Eye: read new state
5. Verify: did the action work?
6. If failed: log error, adjust approach
7. Repeat

Game-Specific Actions

Always check games/<game-name>.md → "Hand Script" section for game-specific action patterns.

Example for 2048:

javascript
// Press arrow key via DOM event (more reliable than press_key for some games)
evaluate_script(`
document.dispatchEvent(new KeyboardEvent('keydown', {
key: 'ArrowDown', keyCode: 40, bubbles: true, cancelable: true
}));
`)

Desktop Games (Phase 2 — Not MVP)

For desktop applications:

  • Use pyautogui for mouse/keyboard control
  • Add human-like jitter (bezier curves, variable timing)
  • FAILSAFE: moving mouse to corner stops all actions immediately

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/lilmgenius/afk/hand/badge)](https://verified-skill.com/skills/lilmgenius/afk/hand)

Something wrong with this skill or its page? Tell us.