# Screenshot

> Take and analyze a screenshot of the current game state

- Skill: `majiayu000/screenshot-4` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/screenshot-4`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/screenshot-4/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/screenshot-4

---


# Screenshot Game State

Capture and analyze the current state of GridRacer.

## Steps

### 1. Find Simulator Window
```bash
# Check if simulator is running
xcrun simctl list devices booted
```

### 2. Focus Simulator
Use `mcp__automation__windowControl` to bring Simulator to front.

### 3. Capture Screenshot
Use `mcp__automation__screenshot` with mode "window" for Simulator.

### 4. Analyze

Describe what you see:
- **Track layout**: Shape, obstacles, boundaries
- **Racer position**: Grid coordinates
- **Velocity**: Current direction/speed indicators
- **Move markers**: 9 options, which are green/red
- **HUD**: Lives, laps, turn indicator
- **Game phase**: Setup, playing, ended

### 5. Report

```
Current State:
- Position: (X, Y)
- Velocity: (dX, dY)
- Lives: N
- Lap: M/Total

Valid Moves: N green markers
Crash Moves: M red markers

Observations:
- [Any issues or notable state]
```

