# browser-automation

browser-automation is a Claude Code and Codex skill that scaffolds rate-limited Python requests scrapers and form scripts, then audits automation code for server overload and blocking risks.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 111 installs · ★ 1183 repo stars
- Author: borghei
- License: LicenseRef-MIT-Commons-Clause · policy=link-only · description only; the file stays with the author
- Source: https://github.com/borghei/Claude-Skills/tree/HEAD/engineering/browser-automation/SKILL.md
- Updated: 2026-11-08
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/borghei-browser-automation

## What it does

Works across Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode. It writes lightweight extraction scripts using Python `requests` without loading a headless browser engine. Three utility scripts form the toolset: `scraping_toolkit.py` builds crawl routines with delays and page limits, `form_automation_builder.py` inspects form tags in saved markup, and `anti_detection_checker.py` evaluates code safety.

Generated scripts handle plain server-rendered HTML only. Because `requests` cannot execute JavaScript, running these scripts against single-page web applications produces empty HTML templates. The form builder also demands an offline HTML file rather than fetching endpoints on its own.

The audit tool flags evasion tactics such as webdriver masking, fingerprint forgery, and sub-second loops without jitter. The generators deliberately omit CAPTCHA solving, login bypassing, and proxy rotation, targeting authorized crawling that identifies itself through a transparent User-Agent header.

## Install

### Claude Code (native platform)

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

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill browser-automation -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill browser-automation -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install borghei/Claude-Skills engineering/browser-automation/SKILL.md
```

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

### Gemini CLI

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

2. **Platform CLI**
```bash
gemini skills install https://github.com/borghei/Claude-Skills --path engineering/browser-automation
```

### Windsurf (Devin Desktop)

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

### OpenCode

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

## When to use it
- scaffold a polite web scraper with delay controls and robots.txt checks
- generate a form submission script from a saved HTML document
- audit automation code for aggressive request loops and evasion signatures
- apply exponential backoff and request ceilings to data extractors

## Example prompts
- Generate a polite crawler template for `https://example.com/catalog` using `scraping_toolkit.py`.
- Build a form posting script from `assets/sample_contact_form.html` with target `https://example.com`.
- Run `anti_detection_checker.py` against `scraper.py` to identify overload vulnerabilities.

## Similar
- [Browser Automation](https://affpapa.org/en/nevibecode/skills/claude-office-skills-browser-automation.md) — skill · 5400 installs
- [nodriver — Chrome browser automation](https://affpapa.org/en/nevibecode/mcp/nodriver-chrome-browser-automation.md) — MCP server · ★ 8 repo stars
- [agent-browser-automation](https://affpapa.org/en/nevibecode/skills/agent-browser-automation.md) — skill · 2100 installs
- [camoufox-mcp](https://affpapa.org/en/nevibecode/mcp/camoufox-mcp.md) — MCP server · ★ 7 repo stars
- [agent-browser](https://affpapa.org/en/nevibecode/skills/nanocoai-agent-browser.md) — skill · ★ 31137 repo stars
- [browser](https://affpapa.org/en/nevibecode/skills/browser.md) — skill · 6100 installs

## Other versions with the same name
- [browser-automation · sickn33](https://affpapa.org/en/nevibecode/skills/sickn33-browser-automation.md) — 6700 installs
- [browser-automation · web-infra-dev](https://affpapa.org/en/nevibecode/skills/web-infra-dev-browser-automation.md) — 5900 installs
- [browser-automation · alirezarezvani](https://affpapa.org/en/nevibecode/skills/browser-automation.md) — 636 installs
- [browser-automation · martinholovsky](https://affpapa.org/en/nevibecode/skills/martinholovsky-browser-automation.md) — 235 installs
- [browser-automation · civitai](https://affpapa.org/en/nevibecode/skills/civitai-browser-automation.md) — ★ 7327 repo stars

From the same set: [borghei/claude-skills](https://affpapa.org/en/nevibecode/by/borghei/claude-skills.md) — 120 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
