name: eye description: AFK Eye — internal skill for reading web game state via DOM/CDP. Called internally by afk-play and afk-coach. Not meant for direct user invocation. disable-model-invocation: true
Eye: Read Game State
Internal skill. Called by afk-play and afk-coach. Reads the current game board from the browser.
Tool Priority
mcp__chrome_devtools__evaluate_script— run the Eye Script fromgames/<game>.md(fastest, most accurate)mcp__chrome_devtools__take_snapshot— get accessibility tree with element UIDsmcp__chrome_devtools__take_screenshot— visual fallback for canvas/WebGL only
Rules
- Always use the Eye Script from
games/<game>.mdfirst - Extract only what is needed for the next decision — no full DOM dumps
- If DOM returns empty: check
document.readyState— page may still be loading - If selectors don't match: use
take_snapshotto find actual structure, then updategames/<game>.md - DOM first. Screenshot only when DOM has no game state (canvas games).