One CLI command
Fast, agent-intuitive, no context bloat, no browser windows. One command in, one PNG out.
One CLI command gives Claude Code, Codex, or any other coding agent precise section screenshots of what they're building. Live or localhosted websites. Works fast without opening the browser.
The blind spot
AI coding agents write hundreds of lines of CSS, build entire pages, refactor whole component trees. But they don't see the pixels. They write the UI blind and then ask you the same question: "Does it look right?"
Current workarounds
Browser MCP | Manual screenshots | agentscreenshots | |
|---|---|---|---|
Approach | Spawn browser, agent navigates and screenshots step-by-step. | Open Chrome yourself, capture, paste the PNG in chat. | One CLI call. Local headless browser. PNG on disk in ~2s. |
Speed | 30–120s per check (browser ops + reasoning) | You're the bottleneck | ~2s, single call |
Context bloat | Nav events + DOM leaks + multiple noisy screenshots flood agent's context | Only what you snip | One scoped PNG, on demand |
Visual accuracy | Sees pixels, but wide-angle and noisy | You crop what matters | Real pixels, scoped to the section |
Setup complexity | Install + configure MCP server | Nothing, but on you forever | One npm install |
The feedback loop
Not a full-page dump. Not DOM text. A clean capture of exactly the component your agent is editing — in two seconds.
Agent edits the component.
Precise selector capture. The star of the loop.
Agent sees the rendered result.
Features
Not a screenshot API. Not a scraping tool. A local-first CLI purpose-built for the AI coding agent feedback loop.
Fast, agent-intuitive, no context bloat, no browser windows. One command in, one PNG out.
The browser runs locally. Your dev server at localhost:5173 just works. Private, no tunnel needed.
Full-page screenshots or specific CSS selectors. Your agent captures exactly the section it is editing. Less noise, sharper reasoning.
The --scroll flag simulates scrolling to trigger lazy-loaded images and infinite scroll content before capture.
Ships with a prompt/skill that teaches your agent when and how to use screenshots. Drop it into Claude Code, Codex, or OpenCode.
No seats. No team admin. One key per project or machine. The quota is the boundary.
I used to alt-tab to Chrome after every CSS change. Now my agent just screenshots the exact section I am working on and fixes what is wrong. I have not opened the browser in three days.
MCMiha C.
Founder, Versus Vector Agency
“It is the missing primitive. My Claude Code loop went from 'looks good?' to 'looks good, shipped.' Maybe four extra seconds per turn.”
Priya Anand
Founding eng, Steeplecore
“The agent fixed three Tailwind spacing bugs without me reviewing a single diff. It saw the screenshot, decided it was off, iterated. I just watched.”
Diego Salazar
Indie dev, fountainpen.io
“Plugged it into Codex's agent mode and our marketing site refactor cut from two days to four hours. The 'is it pixel right' loop is finally automated.”
Hana Westergaard
Tech lead, Northrail
“We point it at staging from CI. The agent compares against the Figma export, posts a verdict on the PR. Reviewers stopped checking layout entirely.”
Ren Takahashi
Platform eng, Mishima Group
Pricing
No credit card required for the free tier. Paid plans scale linearly — you pick your tier.
Free
For personal projects and trying it out.
Paid
Most teams10,000 visual checks per month.
Getting started
npm install -g agent-screenshotsOne global npm package. Includes the CLI and a local headless browser.
agentshot auth ags_live_k3x9m2...Paste your license key. Free tier gives you 100 visual checks per month.
Drop the agent instruction skill into your project. Your agent learns when and how to use agentshot — and starts capturing autonomously.
Install the CLI, paste your key, and your coding agent gains visual feedback in under a minute.
$ npm install -g agent-screenshots