If you have used Claude Code for more than a week, you know the loop: the agent edits a component, then asks you to open Chrome and confirm it looks right. You alt-tab, you check, you paste back what you saw. The agent fixes the next thing, and asks again.
The reason this loop exists is not that the agent does not understand CSS — it does. The reason is that it cannot see the rendered result. AgentScreenshots fixes that with one CLI command.
Install in 30 seconds
npm install -g agentscreenshots
agentshot auth ags_live_k3x9m2... The first command installs the CLI globally. The second pastes your license key. The free tier ships with 100 visual checks per month — enough to wire it into a small project end to end.
Capture a page
agentshot "http://localhost:5173" "home.png" That is the entire surface area. Localhost works because the headless browser runs on your machine — no tunnel, no public URL. Add --scroll to wait for lazy-loaded content, or --selector ".hero" to capture a specific region.
Drop it into Claude Code
The package ships with AGENT-INSTRUCTIONS.md, a copy-paste instruction block for Claude Code, Codex, Cursor, Windsurf, and OpenCode. It teaches the agent when to call agentshot (after meaningful UI edits), what to capture (the changed page, selector, or mobile breakpoint), and how to read the result.
Once it is installed, you stop being the verification step. The agent edits, captures, inspects, and decides whether to ship or fix — without asking you to look.
What changes day-to-day
The first few hours feel strange. The agent is no longer waiting on you between turns. Tasks that used to take a 20-minute back-and-forth (“CTA is overlapping the subtitle on mobile” → fix → re-check → “now the padding is off”) collapse into one quiet 90-second loop.
The honest tradeoff: you lose the moments of oversight where you would have caught the agent shipping something ugly. Pair AgentScreenshots with a manual review at PR time, and you get the speed without the regret.
Try it
Give your agent eyes in 30 seconds.
One CLI command. 100 visual checks free every month. No credit card.