What problem does it solve?
This Skill automates browser-based game playing using agent-browser. It enables automated demos and streaming of accessible HTML/JS games via a reproducible, scriptable workflow.
Core Features & Use Cases
- Scripted play: Drive local or online HTML/JS games (e.g., Sokoban, Othello, Gomoku) using the agent-browser CLI.
- Local server & browser automation: Spin up a simple HTTP server and render the game in a headed browser for audience visibility.
- Demonstrations & tutorials: Create repeatable game play sequences for tutorials, tests, or live streams.
Quick Start
Install agent-browser globally, enable execute permissions, run a local HTTP server in your game directory, and open the game with agent-browser --headed open http://127.0.0.1:8888/index.html. Then use agent-browser eval "game.move('right')" or "game.handleCellClick(row, col)" to drive the game with a measured pace.