# mini-browser

This skill hands your agent a browser through the mb CLI: open pages, grab screenshots, pull text, fill forms, record screencasts.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 2400 installs · ★ 184
- Author: runablehq
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/runablehq/mini-browser/tree/HEAD/skill/SKILL.md
- Updated: 2026-05-30
- HTML: https://affpapa.org/en/nevibecode/skills/mini-browser

## What it does

\`mb` is a browser CLI built from small Unix-style commands. It drives Chrome over CDP on port 9222 using puppeteer-core. Your agent runs `mb go`, `mb snap`, `mb click`, `mb fill`, `mb text`, `mb shot`, `mb record`, `mb audit`, and reads the result in the terminal or as JSON with `--json`.

Two things have to be true before anything works: `mb` is on the machine, and Chrome is listening on the CDP port. Missing pieces are fixed with `npm install -g @runablehq/mini-browser` and `mb-start-chrome`. The latter starts Chrome with `--remote-debugging-port=9222`, a fresh profile and a 1024×768 window, and does nothing if Chrome already runs.

That 1024×768 viewport is where things get annoying. `mb snap` lists only elements inside the current viewport, so scroll and snap again to see the rest. `mb text` returns the first querySelector match, which makes `mb text "main"` a better bet than `mb text "p"`. On heavy SPAs `mb go` stops at networkidle and that may be too early — follow it with `mb wait ".selector"`.

## Requirements
- Works with: Chrome

## Install

### Claude Code (native platform)

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

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

### Codex

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

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

### Cursor

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

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install runablehq/mini-browser skill
```

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

### Gemini CLI

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

2. **Platform CLI**
```bash
gemini skills install https://github.com/runablehq/mini-browser --path skill
```

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add runablehq/mini-browser --skill skill -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/runablehq/mini-browser/tree/HEAD/skill/SKILL.md

## When to use it
- open a page and pull its visible text
- fill a form by field labels and submit it
- capture a page as a PNG screenshot
- record an interaction as an mp4 or gif screencast
- run a design audit covering palette, typography, contrast, a11y and SEO

## Example prompts
- Open `https://example.com`, snapshot the interactive elements and click the sign-in button
- Fill the login form and wait until the URL hits `/dashboard`
- Record a screencast to `demo.mp4` and run the design audit with JSON output

## Similar
- [agent-browser](https://affpapa.org/en/nevibecode/skills/vercel-labs-agent-browser.md) — skill · 1200000 installs
- [webapp-testing](https://affpapa.org/en/nevibecode/skills/webapp-testing.md) — skill · 186758 installs
- [computer-use](https://affpapa.org/en/nevibecode/skills/computer-use.md) — skill · 239400 installs
- [browser-use](https://affpapa.org/en/nevibecode/skills/browser-use.md) — skill · 98200 installs
- [playwright-cli](https://affpapa.org/en/nevibecode/skills/playwright-cli.md) — skill · 195700 installs
- [last30days](https://affpapa.org/en/nevibecode/skills/last30days.md) — skill · 53000 installs

---
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
