AnthraCode_Selector helps developers select a React UI element and copy clean, AI-ready context for AnthraCode or another coding agent.
- You activate the selector from Chrome.
- AnthraCode_Selector injects a local inspection bridge into the current page.
- You click the exact UI element you want to explain.
- The extension reads local React and DOM context from that element.
- A concise context block is copied to your clipboard.
- You paste that context into AnthraCode or another coding agent.
Nothing is sent to a remote server by the extension.
- Open
chrome://extensions. - Enable
Developer mode. - Click
Load unpacked. - Select the AnthraCode_Selector folder that contains
manifest.json. - Pin
AnthraCode_Selectorfrom the Chrome extensions menu if you want quick access.
If you are installing from dist/AnthraCode_Selector-1.1.0.zip, extract the ZIP first, then use Load unpacked on the extracted folder.
- Open a React app in Chrome.
- Press
Alt+S, or open Chrome DevTools and select theAnthraCode_Selectorpanel. - Hover the page until the target element is highlighted.
- Click the exact UI element you want your agent to understand.
- Paste the copied context into AnthraCode or another coding agent.
- Press
Escbefore clicking if you want to cancel selection.
You can change the selector highlight color from the DevTools panel Color menu. Available colors are Green, Red, Yellow, White, and Black.
The copied context can include:
- visible text;
- DOM tag, path, id, and classes;
- accessibility details such as
roleandaria-label; - React owner/component hints when available;
- source location when React exposes debug metadata;
- useful props, hooks, and state summaries when available.
Here is the selected element context. Fix the spacing bug in this CTA and keep the existing design system.- If
Alt+Sdoes not start selection, reload the inspected page once after installing or reloading the extension. If it still fails, another shortcut may be using it. Open Chrome extension shortcuts and reassign the AnthraCode_Selector command. - If React owner or source location is missing, the page's production build may not expose that metadata. The extension still copies DOM, text, role, and path context.
- If clipboard copy fails, start selection again and click an element directly.