annotate: visual feedback for Claude Code
Draw a box or click an element on any web page, type what should change, and Claude Code gets your prompt with a screenshot of that area, the element's HTML, CSS selector and styles, and, when the site provides them, the file or database record it comes from.
It works on any site you can open in a browser: WordPress, Laravel, static HTML, a JavaScript dev server. It is a single Rust binary that Claude Code runs as an MCP server. No browser extension, no Node.
Claude Code ──MCP (stdio)──▶ annotate (Rust)
│ Chrome DevTools Protocol
▼
Chrome / Edge window, own profile
overlay: drag = area, click = element,
prompt box, pins (open / in progress / done)
│
optional source hints from the site
(data-annotate-* attributes)
Install
From the XVE marketplace, in Claude Code:
/plugin marketplace add XVE-BV/claude-marketplace
/plugin install annotate@xve-claude-marketplace
Needs Google Chrome or Microsoft Edge. Binaries are built for Windows x64, macOS (Apple silicon and Intel) and Linux (x64 and arm64).
Use
Type /annotate:annotate https://my-site.test (plain /annotate https://my-site.test works too when no other command uses that name), or ask in your own words: "open https://my-site.test in annotate and wait for my notes". Without a URL it keeps the page that is already open, or takes the project's local site from its docs. A browser window opens on the page. Then:
| In the window | Does |
|---|
| ✎ Annotate (bottom right) or Alt+A | Start or stop annotating |
| Drag | Select an area |
| Click | Select one element |
| Ctrl+click (repeat; Cmd+click on macOS) | Step through the elements stacked under the cursor |
| Alt+arrows, in the prompt box | Move the selection to the parent, a child or a sibling |
| Ctrl+Enter or ➤ | Send to Claude |
| 🗑 (twice) | Delete all annotations on this page |
| ⟳ | Turn live reload on or off |
| Click a pin | Open its panel: screenshot, request, where it lives in the code, and the conversation with Claude. ← → step through the page's pins |
| ✓ Looks good / ↶ Undo, in the panel | Accept a done change, or ask Claude to revert it |
Pin colours: blue is open, amber means Claude is working on it, purple means Claude asked you something (answer in the panel), green is done and waiting for your check, grey is approved. Pins and an open panel come back after a reload.
Claude picks annotations up as you send them (wait_for_annotation), makes the change, checks it with a screenshot, and marks the pin done. A reply or an Undo from the panel goes back to Claude the same way, with the whole thread.
Live reload: while the window is open, the server watches the project. A change to a stylesheet the page loads with <link> swaps that stylesheet in place; any other change (PHP, Blade, Twig, JS, templates, inlined or @imported CSS) reloads the page. It waits as long as you are typing a prompt or reply, and changes made meanwhile land in one update. Dependency folders, caches, uploads and Laravel's storage/ are ignored.
Undo: when Claude picks a pin up and when it marks it done, the server records the project's files as git trees (in a throwaway index; your staging area and history are untouched). On Undo, Claude gets the exact diff of its change to revert, and reverts database changes itself. Outside a git repository it reverts from its own notes.
Ping: annotate wait exits as soon as an annotation is open (new, a reply or an Undo), or with exit code 2 after --timeout seconds (default 3600). Run in the background, it tells Claude to look. status shows the full command for this session.
Several agents
Several Claude Code sessions (or agents) can work through the same pins. Each session runs its own server on the project's .annotate/ folder, and the folder keeps them apart: