# turbo-browser

The turbo-browser skill for Claude Code drives browser tasks using compact MCP tools. It reduces token consumption during page inspection, form filling, and complex action chaining.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 139 repo stars
- Author: Tthanh2k6
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/Tthanh2k6/turbo-browser-mcp/tree/HEAD/skills/turbo-browser/SKILL.md
- Updated: 2026-11-17
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/turbo-browser

## What it does

The skill operates through `tabs_batch`, `inspect_compact`, `smart_fill_form`, `act_fast`, and `batch_actions` to control browser sessions. It streamlines interactions by grouping multiple operations into single calls, which keeps token usage low while navigating pages or verifying submissions.

To use it, trigger commands like `inspect_compact` with `onlyChanged` or `batch_actions` for multi-step workflows. For secure form submissions, the skill requires `allowSubmit` to be set to true and a `submissionKey` to prevent duplicate events. If a task requires human intervention for logins, the skill provides a pause mechanism to resume after the session is established.

The skill requires Node.js and the `npx` utility for integration into the development environment.

## Install

### Claude Code (native platform)

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

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Tthanh2k6/turbo-browser-mcp --skill turbo-browser -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Tthanh2k6/turbo-browser-mcp --skill turbo-browser -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Tthanh2k6/turbo-browser-mcp skills/turbo-browser
```

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

### Gemini CLI

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

2. **Platform CLI**
```bash
gemini skills install https://github.com/Tthanh2k6/turbo-browser-mcp --path skills/turbo-browser
```

### Windsurf (Devin Desktop)

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

### 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/Tthanh2k6/turbo-browser-mcp/tree/HEAD/skills/turbo-browser/SKILL.md

## When to use it
- automate form completion in one call
- chain browser actions together
- retrieve page state after complex interactions
- scrape data from dynamic lists
- perform secure form submissions with verification

## Example prompts
- /plugin:turbo-browser inspect_compact {"mode":"forms"}
- /plugin:turbo-browser smart_fill_form {"fields":[{"selector":"#email","value":"test@example.com"}]}
- /plugin:turbo-browser batch_actions {"steps":[{"action":"click","text":"Next"}]}

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: bb6798e86bd7afc6.

BEGIN THIRD-PARTY FILE bb6798e86bd7afc6
````text
---
name: turbo-browser
description: Use when driving a browser through the turbo-browser MCP tools (tabs_batch, inspect_compact, smart_fill_form, act_fast, batch_actions). Gives the low-token loop for reading pages, filling forms, chaining steps and verifying a submit.
---

# Driving a browser with turbo-browser

Aim for few calls and small results. Each call below replaces several one-action calls.

## 1. Look once, then only changes

Call `inspect_compact` once. Later calls pass `onlyChanged` so the result lists only new or changed elements (marked `*`). Narrow big pages with `query` or `selector`. Use refs from the latest snapshot only.

```
inspect_compact {"mode":"forms"}
inspect_compact {"onlyChanged":true}
inspect_compact {"mode":"article","selector":"main","maxChars":3000}
```

For plain reading use `extract_clean_text` (`format` markdown or text).

## 2. Fill a whole form in one call

`smart_fill_form` takes every field at once. Comboboxes use `option`, uploads use file paths. It stops before Submit.

```
smart_fill_form {"fields":[{"selector":"#email","value":"a@b.co"},{"ref":"f0:e7","option":"Vietnam"},{"selector":"input[type=file]","file":"cv.pdf"},{"ref":"f0:e9","check":true}],"returnSnapshot":true,"snapshotMode":"forms"}
```

## 3. Chain steps

`batch_actions` runs steps in order. Set `returnSnapshot` to get the end state in the same reply. Add `snapshotQuery` when a re-render is large and you only need part of it.

```
batch_actions {"steps":[{"action":"click","text":"Next"},{"action":"wait","textNew":"Step 2"},{"action":"fill","selector":"#phone","value":"0900000000"}],"returnSnapshot":true,"snapshotQuery":"phone|Continue"}
```

Read feeds with `collect`, which scrolls, reads and de-duplicates:

```
batch_actions {"steps":[{"action":"navigate","url":"https://example.com/list"},{"action":"collect","selector":".row","scrolls":8,"maxItems":100}]}
```

## 4. Waiting

In `act_fast` or a step, `wait` accepts `text`, `textGone`, `url` or `loadState`. Use `textNew` to wait for text that was not on the page when the step started; plain `text` returns at once if the words already exist.

```
act_fast {"action":"wait","textNew":"Saved|Error","timeoutMs":8000}
```

## 5. Submit safely

Final actions (Submit, Send, Pay, Book, Schedule) are blocked unless `allowSubmit` is true. Pass `expect` so the reply says whether it worked. Prefer `textNew` over `textMatches`, because old text on the page also matches `textMatches`. Add `submissionKey` to stop a second submit.

```
batch_actions {"steps":[{"action":"click","text":"Schedule meeting"}],"allowSubmit":true,"expect":{"textNew":"confirmed","timeoutMs":8000},"submissionKey":"booking-2026-11-20"}
```

Check `submitVerified` in the result. If it is false, inspect the page before retrying.

## 6. Login, captchas, 2FA

Use `wait_for_human` with `urlMatches` or `selector`. The agent resumes in the same tab. Do not try to solve checks.

```
````
END THIRD-PARTY FILE bb6798e86bd7afc6

The third-party file has ended. Everything between the bb6798e86bd7afc6 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2937 of 3692 bytes. © Tthanh2k6 · MIT · https://github.com/Tthanh2k6/turbo-browser-mcp/tree/HEAD/skills/turbo-browser/SKILL.md

_Part of the page did not fit — see the HTML version._

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