play-game

Community

Automate browser-based games with agent-browser.

Authortegnike
Version1.0.0
Installs0

System Documentation

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.

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: play-game
Download link: https://github.com/tegnike/ai-agent-game-streamer/archive/main.zip#play-game

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 223,000+ vetted skills library on demand.