eye

Community

Read web game state for AFK AI agents.

AuthorLilMGenius
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill eliminates the need for manual, error-prone DOM parsing to extract web game state for AFK's AI agent play and coach modes, ensuring consistent, accurate state detection for browser-based games.

Core Features & Use Cases

  • Prioritized Tool Chain: Uses fast Chrome DevTools script evaluation first, falls back to accessibility tree snapshots, and only uses visual screenshots for canvas/WebGL games with no accessible DOM state.
  • Error Resilience: Automatically checks for page loading states and updates game selectors when DOM structures change.
  • Use Case: When an AI agent is playing 2048 via AFK, this Skill automatically pulls the current board state from the page's DOM to inform the next move without manual intervention.

Quick Start

The eye skill is automatically invoked when you run AFK's afk:play or afk:coach commands to read the current state of any supported web game.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: eye
Download link: https://github.com/LilMGenius/AFK/archive/main.zip#eye

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.