# Web Game Capture — screenshots in headless Chrome

> Screenshots of a browser game on iPhone, Android, iPad, Chromebook and desktop sizes in muted headless Chrome, waiting on the game's own ready signal. No dependencies beyond Node; also the shared driver for QA and trailers.

Web Game Capture — screenshots in headless Chrome is a free AI agent skill on Agensi by Eslam Negm, in Game Development. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Eslam Negm](https://www.agensi.io/creators/eslam-negm)
- Category: [Game Development](https://www.agensi.io/skills/game-development)
- Version: 1.0
- Last updated: 2026-11-19
- Security: scan passed (2026-11-19); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/web-game-capture-screenshots-in-headless-chrome
- Tags: game-dev, screenshots, headless-chrome, mobile-testing, threejs, browser-games

## About this skill

Ask "how does it look on an iPhone in landscape?" and get a real answer. The skill builds the game, serves the build on a free port, emulates the device (size, pixel ratio, touch, user agent) and takes the shot, then looks at the picture before reporting.

- Devices built in: `iphone`, `android`, `ipad`, `chromebook`, `desktop`; any size with `--size`.
- Waits on a condition (`!!window.__game`), never on a fixed sleep.
- Software renderer by default (same pixels on every machine), `--gpu` for store stills.
- Batch mode: one browser, many pictures from a JSON file.
- Chrome is always muted and always closed, also on a crash.
- Talks to Chrome over the DevTools protocol directly: no Puppeteer, no Playwright, no npm install.

## Requires

- Node 22+
- Google Chrome or Chromium or Microsoft Edge
- vite

On Windows, run the .sh scripts from Git Bash (ships with Git for Windows).

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Web Game Capture — screenshots in headless Chrome skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does Web Game Capture — screenshots in headless Chrome do?

Screenshots of a browser game on iPhone, Android, iPad, Chromebook and desktop sizes in muted headless Chrome, waiting on the game's own ready signal. No dependencies beyond Node; also the shared driver for QA and trailers.

### Which AI agents support Web Game Capture — screenshots in headless Chrome?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Web Game Capture — screenshots in headless Chrome?

Connect your AI agent to Agensi through MCP, then ask it to use Web Game Capture — screenshots in headless Chrome on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
