--- 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 1. `mcp__chrome_devtools__evaluate_script` — run the Eye Script from `games/.md` (fastest, most accurate) 2. `mcp__chrome_devtools__take_snapshot` — get accessibility tree with element UIDs 3. `mcp__chrome_devtools__take_screenshot` — visual fallback for canvas/WebGL only ## Rules - Always use the Eye Script from `games/.md` first - 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_snapshot` to find actual structure, then update `games/.md` - DOM first. Screenshot only when DOM has no game state (canvas games).