Fix your frontend code right from DevTools.
Pick a component, write your prompt, and send it directly to Claude Code—without leaving the page.
npm install -g @alexstrnik/claude-devtoolsOption A: Download latest release (Easiest)
- Go to Releases
- Download
claude-devtools-chrome-vX.X.X.zip - Open Chrome → Extensions → Enable Developer mode
- Drag and drop the zip file directly onto the Extensions page
Option B: Clone from source
- Clone this repo:
git clone https://github.com/AlexStrNik/claude-devtools - Open Chrome → Extensions → Enable Developer mode
- Click Load unpacked → select
chrome-extensionfolder
In your project directory:
claude-devtoolsThe claude-devtools command works just like the regular claude CLI. It starts an interactive Claude Code session and accepts all the same arguments (except --version), which are passed directly to the underlying Claude process.
- Open DevTools → Claude DevTools tab
- Click Pick Element → select a component on the page
- Write your prompt or question
- Hit Send to Claude (or Cmd/Ctrl+Enter)
Your element's context is sent directly to Claude, including:
- Component name, props, and hierarchy paths
- DOM structure and computed styles
- Screenshot (macOS only)
- React support: Full component detection with props and source locations (React <19 and React 19+)
- Preact support: Component hierarchy detection via Preact DevTools (requires Preact DevTools extension)
- Angular support: Complete component hierarchy (tested on Angular 17)
- Vue support: Component detection for Vue 2 and Vue 3
- Svelte support: Component hierarchy with source locations
- Screenshots: Automatic element capture for visual context (macOS only)
- Customizable context: Toggle what data to include before sending
# Clone repository
git clone https://github.com/AlexStrNik/claude-devtools
# Install host dependencies
cd claude-devtools
pnpm install
# Start server
pnpm startLoad the extension from the chrome-extension folder in Chrome DevTools.
- Screenshot support for Linux/Windows
- Additional framework support
MIT
