Files
wehub-resource-sync 542cfa195c
CI / Frontend build (push) Failing after 9m6s
CI / Plugin validate (push) Failing after 9m27s
CI / Python lint (push) Failing after 16m1s
CI / Tests (push) Successful in 18m0s
Deploy / deploy (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:33:27 +08:00

12 lines
564 B
Markdown

---
name: screenshot
description: Screenshot a URL or document and read it visually
allowed-tools: "Bash, Read"
---
1. Run: `pixelshot $ARGUMENTS --output /tmp/pixelbrowse --tile-height 1568`
2. The output tile is at `/tmp/pixelbrowse/<domain>.png.tiles/tile_0000.jpg` — read it directly with the Read tool. Do not ls.
3. If text is too small to read, crop with Pillow (always available — it's a pixelshot dependency):
`python3 -c "from PIL import Image; Image.open('<tile>').crop((x1,y1,x2,y2)).save('/tmp/pixelbrowse/crop.png')"`
4. Report what you see.