Agentshot - Screenshot tool for coding agents
I needed a tool that Claude could use while iterating on UI work. A big driver was my TUI projects (like hc-dishwasher-tui), where I needed clean terminal screenshots, but I didn’t want to juggle separate tools for web and terminal capture.
Playwright MCP is the closest match I found for browser UIs, but it felt like overkill for simple screenshots. And while termshot solves the TUI side nicely, it doesn’t cover the web UI side, so I wanted a single, lightweight tool that could handle both without extra ceremony.
For that, I turned a session with Claude into a tiny Go-based screenshot tool that basically any agent can use: agentshot.

The build
The core app came together fast with a few prompts, but it took a bit more back-and-forth to land the right install instructions, a proper Makefile, and solid go checks. It is a simple Go CLI, so any agent can use it.
Why it stuck
- Claude can grab screenshots during UI iterations without extra plumbing or permissions (added it to Claude settings).
- Works for both browser and terminal UIs.
- Simple enough to drop into any VM. Part of my Agents' sandbox bootstrap script.
Full instructions to setup for Claude are here