What
Canvas apps (Excalidraw, Google Sheets) cannot be verified from the DOM; HANDOFF.md names a screenshot verb as the next gap. docs/assets/screencast.mjs shot <port> <out.png> already does the capture with Page.captureScreenshot, as a standalone script.
Fix
Add agent-hands screenshot [path] that reuses the open connection (cdp.send('Page.captureScreenshot', ...)), writes a PNG, and prints its path and size. Default path: ./agent-hands-<timestamp>.png. --full captures beyond the viewport with a clip from Page.getLayoutMetrics.
Acceptance
- Works on
--cdp, --browser and --session targets.
--json returns { path, width, height }.
- Listed in
USAGE and in skill-data/core/SKILL.md under verification.
What
Canvas apps (Excalidraw, Google Sheets) cannot be verified from the DOM;
HANDOFF.mdnames a screenshot verb as the next gap.docs/assets/screencast.mjs shot <port> <out.png>already does the capture withPage.captureScreenshot, as a standalone script.Fix
Add
agent-hands screenshot [path]that reuses the open connection (cdp.send('Page.captureScreenshot', ...)), writes a PNG, and prints its path and size. Default path:./agent-hands-<timestamp>.png.--fullcaptures beyond the viewport with a clip fromPage.getLayoutMetrics.Acceptance
--cdp,--browserand--sessiontargets.--jsonreturns{ path, width, height }.USAGEand inskill-data/core/SKILL.mdunder verification.