A visual context clipboard for AI coding agents.
Drag-select any UI area, describe the issue, and paste a screenshot + structured prompt directly into Cursor, ChatGPT, or Claude.
Building UI locally means constantly noticing small visual issues — spacing, overflow, wrong colours, broken cards. The usual workflow is painful: screenshot → crop → copy → paste → type context → repeat.
ContextClip replaces that with one keyboard shortcut:
- Press Alt+Shift+C on any page
- Drag a rectangle around the broken area
- Type what needs fixing
- Click Copy for Cursor — screenshot is saved to your chosen folder, prompt is copied to clipboard
- Paste into Cursor (or any AI tool) and attach the image by path
Install from the Chrome Web Store
- Clone this repo:
git clone https://github.com/abhay-lal/ContextClip - Open Chrome →
chrome://extensions - Enable Developer mode (top right)
- Click Load unpacked → select the repo folder
- The ContextClip icon appears in your toolbar
| Shortcut | Action |
|---|---|
Alt+Shift+C |
Start capture immediately (no popup) |
Alt+Shift+F |
Open popup |
Esc |
Cancel capture |
Customize shortcuts: chrome://extensions/shortcuts
- Press
Alt+Shift+Cor click the toolbar icon → Start Capture - A dark overlay appears with crosshair guides
- Drag to select the broken UI area
- The comment modal appears with a preview of your selection
- Describe the issue in the textarea
- Click Copy for Cursor
By default screenshots go to ~/Downloads/contextclip/. To save directly into your project:
- Click the toolbar icon → ⚙ settings
- Click Choose folder… and pick your project directory
- From then on all screenshots land in that folder
The copied prompt includes the exact file path — paste it into Cursor and attach the image with /add or drag it in.
Screenshots fall back to ~/Downloads/contextclip/<filename>.png. The prompt tells you the filename so you can drag it into the chat.
UI FIX REQUEST
==============
Page: http://localhost:3000/dashboard
Viewport: 1512x861
Timestamp: 2026-05-08T15:17:21.994Z
Screenshot: my-app/contextclip-2026-05-08_08-17-21.png
Selected area:
x=425, y=353, width=580, height=154
User comment:
The card overflows on mobile, padding looks wrong
Instruction:
Use the attached screenshot and this context to identify the UI issue
and update the relevant frontend component/CSS. Preserve the existing
design system, spacing scale, and responsive behavior.
contextclip/
├── manifest.json Chrome extension manifest (MV3)
├── background.js Service worker — screenshot relay, file saving, shortcut handler
├── contentScript.js Injected into pages — overlay, drag, crop, modal, clipboard
├── overlay.css Injected styles for the overlay and modal
├── popup.html Toolbar popup UI
├── popup.js Popup logic — settings, folder picker, capture activation
├── contextclip-server.js Optional companion server — saves screenshots to workspace
├── icons/ Extension icons (16, 48, 128 px) + logo.png
├── store-assets/ Chrome Web Store listing materials
│ ├── contextclip-logo.png Full logo for store listing
│ ├── description.md Store listing copy
│ ├── privacy-policy.md Privacy policy
│ └── screenshots/ Store screenshots (1280×800 or 640×400)
├── package.json npm scripts for companion server
└── LICENSE MIT
Pull requests are welcome. For major changes please open an issue first.
- Fork the repo
- Create a feature branch:
git checkout -b feat/my-feature - Load unpacked in Chrome to test
- Open a PR against
main
MIT — see LICENSE
