---
name: screenshot
description: Pull latest screenshot from Mac desktop via HTTP server
---

# Skill: Pull Latest Screenshot from Mac

Fetches the most recent screenshot from Johan's Mac desktop via HTTP server (Go binary on port 9123).

## Usage

When you need to see what Johan is looking at, or when asked `/screenshot`.

## Instructions

1. Fetch the screenshot:
```bash
curl -s http://192.168.1.14:9123/screenshot -o /tmp/latest_screenshot.png
```

2. Display using the Read tool on `/tmp/latest_screenshot.png`

## Error Handling

- 404: No screenshots on Desktop — take one with Cmd+Shift+4
- Connection refused: Server not running — start with `./screenshot-server` in `~/dev/screenshot-server`
- Health check: `curl http://192.168.1.14:9123/health` → "ok"

## Notes

- Server auto-deletes screenshot after serving (one-time fetch)
- Screenshots: Cmd+Shift+4 (selection) or Cmd+Shift+3 (full screen)
- Server location: `~/dev/screenshot-server` on Mac Mini (.14)
- Port: 9123
