← Back to posts

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.

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

Full instructions to setup for Claude are here