by narnia-sh
A browser coding agent interface for selecting elements and sending instructions directly to Claude Code.
# Add to your Claude Code skills
git clone https://github.com/narnia-sh/layrrYou can see the issue in the browser: the button is too wide, the copy is wrong, the spacing is off, or the component needs a quick behavior change. The slow part is finding the right file, line, and context before your coding agent can make a useful edit.
Layrr sits between your browser and local dev server. It injects a small overlay, maps clicked elements back to source, and gives your coding agent the instruction plus the selected code location.
Install Layrr globally:
npm install -g layrr
Start your app first:
pnpm dev
Then run Layrr against the dev server port:
layrr --port 3000
Layrr opens a proxied version of your app at http://localhost:4567.
In the browser:
For a local checkout:
pnpm install
pnpm build
node dist/cli.js --port 3000
layrr --port <number> [project-root] [options]
| Option | Description |
| --- | --- |
| -p, --port <number> | Local dev server port. Required. |
| --proxy-port <number> | Layrr proxy port. Defaults to 4567. |
| --agent <name> | AI agent to use: claude, codex, or gemini. |
| --gemini-model <model> | Save and use a Gemini model, for example . |
| | Reconfigure the Gemini model and API key. |
| | Do not open the browser automatically. |
| | Show help. |
No comments yet. Be the first to share your thoughts!
gemini-2.5-flash--configure-gemini--no-open-h, --helpLayrr supports:
claude - Claude Codecodex - Codex CLIgemini - Gemini via Pi coding agent, installed as a Layrr dependencyIf no agent is configured, Layrr prompts you to pick one.
To configure Gemini without starting a session:
layrr --configure-gemini
Layrr uses git as its undo path:
[layrr] prefixMIT