scs0209

Claude Locator — Development skill for Claude Code

Development community

Option+click any element of your dev app to open its source in Claude, Cursor, VS Code, OpenCode or Codex.

How to install Claude Locator

This entry records only its repository, not the path inside it, so there is no exact command to give. Open scs0209/claude-locator and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Locator does

Option+click any element of your dev app to open its source in Claude, Cursor, VS Code, OpenCode or Codex. React, Vue, Svelte, Solid, Preact, Astro, Angular.

Alternatives in Development

  • Agent Of Empires — Manage multiple Claude Code, OpenCode agents from either TUI or Web for easy access on mobile 3.1k ★
  • Astro — Astro 5.x components, routing, collections, i18n, SEO, Tailwind, React islands, transitions 2.6k ★
  • Umadev — UmaDev: A coding agent that works like a real dev team, commanding the Claude Code / Codex / OpenCode you alre 253 ★

README

claude-locator

**Hold ⌥ Option and click anything in your running app. Land on the line that drew it — in any framework, with any coding agent: Claude, Cursor, VS Code, Zed, OpenCode or Codex.**

[![npm](https://img.shields.io/npm/v/vite-plugin-claude-locator?color=d97757)](https://www.npmjs.com/package/vite-plugin-claude-locator) [![CI](https://github.com/scs0209/claude-locator/actions/workflows/ci.yml/badge.svg)](https://github.com/scs0209/claude-locator/actions/workflows/ci.yml) [![license](https://img.shields.io/github/license/scs0209/claude-locator)](LICENSE)

[**Try the demo →**](https://scs0209.github.io/claude-locator/) · [Install](#install) · [Frameworks](#frameworks) · [Where it opens](#where-it-opens) · [How it works](#how-it-works)

Option+hover outlines an element with its file and line; Option+click opens it; Option+right-click lists the components above it

Why

You see the bug on the page; your agent needs the file. claude-locator turns "the price on the second card" into `src/components/ProductCard.tsx:12`, opened where you and your agent work — without the React DevTools extension, and inside the built-in browsers of coding agents, which do not hand `vscode://` or `cursor://` links to your editor.

The name comes from where it started, the Claude desktop app. It is not tied to Claude.

  • ⌥ + hover outlines the element, with its component and file:line, or a muted no source here label when no location is available
  • ⌥ + click opens that line
  • ⌥ + right-click lists the element and every component above it; open any of them
  • React, Vue, Svelte, Solid, Preact, Astro and Angular (React 18 and 19, Astro 5 and 7)
  • Opens in the Claude desktop app's Files pane, your editor, OpenCode's prompt, the clipboard (Codex and any agent), a URL or a function of yours
  • *Development only.