oil-oil/selector

Visual element picker bookmarklet — select elements, annotate instructions, copy prompt for AI

What it solves

When you ask an AI coding assistant to modify a webpage, it often lacks precise information about the elements involved. Selector solves this by letting you quickly grab detailed, structured context from any live page — element names, locators, layout details, and more — so the AI can make accurate changes without guesswork.

How it works

You install Selector as a bookmarklet (a small button you drag to your browser bookmarks bar). When you click that button on any open page, it injects a lightweight editor into the page. You can then click elements, shift-click to add more, drag to marquee-select, and use keyboard shortcuts to navigate. When you copy (⌘C), it builds a prompt containing the element's name, a stable selector, its semantic location, and React component info, plus extra context like CSS, layout, or parent details only when useful. For more demanding tasks, Sharingan mode captures a richer report — including document geometry, sanitized DOM, effective styles, fonts, animations, and more. Everything runs entirely in your browser; no data is sent anywhere.

Who it's for

Developers using AI coding assistants like Claude Code, Codex, or Cursor who need to reference specific UI elements with precision. Also useful for anyone who frequently copies web content into AI tools and wants it in a structured, assistant-friendly format.

Highlights

  • Zero setup: one-time bookmark install, then click-and-copy.
  • Rich context: combines element selectors, semantic location, and React details.
  • Works offline after installation — all processing is client-side.
  • Sharingan mode produces high-fidelity replication reports for complex tasks.
  • Supports screenshots with text combined, and long URLs are shortened automatically.
  • MIT licensed and open source.

Related

  • Project
  • Project
  • Project
  • Project