browser-annotations
v1.6.4
Published
Annotate elements and send them to your agents right from your Chrome DevTools.
Readme
Browser Annotations
Browser Annotations is a DevTools extension to send feedback to your agent.
Select an element, add feedback, and send it to your pi or Claude Code session.

Install
Install the Chrome extension
npx browser-annotations@latestUsage
- (Optional) Set up your agent to work on your feedback
- pi — run
/browser-annotationsin your pi session - Claude Code — start with
claude --dangerously-load-development-channels plugin:claude@browser-annotations
- pi — run
- Select an element in the Chrome DevTools
- Add your feedback in the Feedback tab (drag this tab to the left so it's easily accessible)
- Use to batch annotations. Annotations persist per website, so your feedback can span multiple pages
- Hit to send to your agent, or to copy as markdown
[!TIP] ⌘ X / ⌘ ⇧ X copies your feedback to clipboard. Handy for quick sharing.
Features
- Annotate elements – Select any element and write your feedback
- Live agent collaboration – Send feedback directly to your pi or Claude Code session
- Complete context – Includes an element's selector, position, size, viewport, device info, and a screenshot
- Source mapping – Links elements to React and Svelte source code during development
- Batch annotations – Combine feedback across multiple elements and pages
- Works everywhere – Lives in your DevTools, works on any website
- Clipboard mode – Copy feedback as markdown for any workflow
Keyboard shortcuts
| Action | Shortcut | | --------------- | ----------------------------------------------------- | | Inspect element | ⌘ ⌥ C | | Add | ⌘ Enter | | Submit | ⌘ ⇧ Enter | | Copy current | ⌘ X | | Copy all | ⌘ ⇧ X | | Clear current | ⌘ K | | Clear all | ⌘ ⇧ K | | Cancel / Reset | Esc |
Example output
# Feedback
Please refine the homepage
## 1. `div:nth-of-type(4) > h2.section-title`
Title should be 24px

- **Page:** [http://localhost:5173/](http://localhost:5173/)
- **Device:** `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36`
- **Viewport:** 1497×879
- **Device pixel ratio:** 2
- **Position:** X 407, Y 206
- **Size:** 684×36
- **Source:** [`pages/index.tsx:42`](pages/index.tsx)
## 2. `p.docs-button > a[href="/packages"]`
This should open the sidepanel with packages

- **Page:** [http://localhost:5173/](http://localhost:5173/)
- **Device:** `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36`
- **Viewport:** 1497×879
- **Device pixel ratio:** 2
- **Position:** X 407, Y 616
- **Size:** 159×48
- **Source:** [`components/DocsButton.tsx:8`](components/DocsButton.tsx)