# browser

browser automates Chrome actions via Chrome DevTools Protocol without configuring an MCP server. Useful for taking screenshots, running scripts, and inspecting DOM nodes.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 202 installs · ★ 2756 repo stars
- Author: stellarlinkco
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/stellarlinkco/myclaude/tree/HEAD/skills/browser/SKILL.md
- Updated: 2026-05-04
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/stellarlinkco-browser

## What it does

The skill equips your coding agent with lightweight Node.js utilities that communicate with Google Chrome through CDP. Everything connects directly to `localhost:9222`, bypassing the overhead of standalone MCP infrastructure.

Included scripts handle starting the browser, navigating URLs, evaluating JavaScript, and saving PNG screenshots into a temporary folder. The visual element finder `scripts/pick.js` scans page elements against a text prompt and returns structured JSON with tags, classes, selectors, and bounding boxes. Running `scripts/start.js` with the `--profile` flag retains local cookies and session tokens.

The tool fails unless you install the `ws` package in the skill directory before the first run. All automation stays on your machine, so credentials and session data never leave your local environment.

## Requirements
- Works with: Chrome

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add stellarlinkco/myclaude --skill browser -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/browser/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/browser/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add stellarlinkco/myclaude --skill browser -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/browser/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add stellarlinkco/myclaude --skill browser -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/browser/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install stellarlinkco/myclaude skills/browser
```

2. **Manually: put the files in place**
- File: `.github/skills/browser/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add stellarlinkco/myclaude --skill browser -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/stellarlinkco/myclaude --path skills/browser
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/browser/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add stellarlinkco/myclaude --skill browser -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/stellarlinkco/myclaude/tree/HEAD/skills/browser/SKILL.md

## When to use it
- Start Chrome with remote debugging enabled on port 9222
- Take PNG screenshots of web pages directly to a temporary directory
- Execute custom JavaScript inside an active browser tab
- Retrieve DOM element selectors and coordinates from visual descriptions

## Example prompts
- Launch Chrome with persistent profile and navigate to https://example.com
- Evaluate `document.title` on the active page and display the output
- Locate the form submit button and inspect its bounding box coordinates

## Similar
- [web-browser](https://affpapa.org/en/nevibecode/skills/web-browser.md) — skill · 685 installs
- [remote-browser](https://affpapa.org/en/nevibecode/skills/remote-browser.md) — skill · 5000 installs
- [chrome-cdp-live-browser](https://affpapa.org/en/nevibecode/skills/chrome-cdp-live-browser.md) — skill · 1500 installs
- [agent-webbridge](https://affpapa.org/en/nevibecode/mcp/agent-webbridge.md) — MCP server · ★ 13 repo stars
- [chrome-cdp](https://affpapa.org/en/nevibecode/skills/chrome-cdp.md) — skill · 2200 installs
- [cdp](https://affpapa.org/en/nevibecode/skills/cdp.md) — skill · 719 installs

## Other versions with the same name
- [browser · browserbase](https://affpapa.org/en/nevibecode/skills/browser.md) — 6100 installs
- [browser · ruvnet](https://affpapa.org/en/nevibecode/skills/ruvnet-browser.md) — 674 installs
- [browser · brightdata](https://affpapa.org/en/nevibecode/skills/brightdata-browser.md) — 183 installs

From the same set: [stellarlinkco/myclaude](https://affpapa.org/en/nevibecode/by/stellarlinkco/myclaude.md) — 7 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
