anbeime/skill / skills/chrome-automation/chrome-automation
chrome-automation
Flagged网页开发工程师与运营专员在需要自动化现有 Chrome 浏览器时必用!通过 CDP 协议无缝接管当前浏览器,自动配置环境并实时可视化执行任务。完美保留登录状态,一键完成复杂网页自动化流程,让繁琐操作自动化。
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 21.0 KB |
| references/commands.md | markdown | 11.5 KB |
| references/setup-mac.md | markdown | 6.2 KB |
| references/setup-windows.md | markdown | 9.5 KB |
| references/troubleshooting.md | markdown | 10.2 KB |
| scripts/README.md | markdown | 3.0 KB |
| scripts/auto-install-mac.sh | script | 2.5 KB |
| scripts/auto-install-windows.ps1 | script | 3.8 KB |
| scripts/connect_chrome.sh | script | 1.5 KB |
| scripts/install-scripts.md | markdown | 9.2 KB |
| scripts/setup.sh | script | 1.6 KB |
| scripts/start-chrome-mac.sh | script | 3.4 KB |
| scripts/start-chrome-windows.ps1 | script | 5.0 KB |
scripts/README.md
View on GitHub# Auto-Installation Scripts
This directory contains automatic installation scripts for agent-browser that handle all dependencies without user confirmation.
## Scripts
### `auto-install-mac.sh`
Automatic installation script for macOS that:
- Checks if agent-browser is already installed and working
- Clones repository if needed
- Installs pnpm if missing
- Installs Playwright Chromium
- Checks and installs Rust toolchain (cargo, rustup)
- Sets up stable Rust toolchain
- Builds native binary
- Verifies installation
**Usage:**
```bash
bash ~/.claude/skills/chrome-automation/scripts/auto-install-mac.sh
```
### `auto-install-windows.ps1`
Automatic installation script for Windows (PowerShell) that:
- Checks if agent-browser is already installed and working
- Clones repository if needed
- Installs pnpm if missing
- Installs Playwright Chromium
- Downloads and installs Rust toolchain if needed
- Sets up stable Rust toolchain
- Builds native binary
- Verifies installation
**Usage:**
```powershell
powershell -ExecutionPolicy Bypass -File "$HOME\.claude\skills\chrome-automation\scripts\auto-install-windows.ps1"
```
## Requirements
### macOS
- Node.js (script will notify if missing)
- Git
- Internet connection
### Windows
- Node.js (script will notify if missing - download from https://nodejs.org/)
- Git
- Internet connection
- PowerShell (built-in)
## What Gets Installed
Both scripts automatically install these dependencies if missing:
1. **pnpm** - Fast, disk space efficient package manager
2. **Playwright Chromium** - Browser automation library
3. **Rust toolchain** - Required for building native binary
- rustup (Rust installer)
- cargo (Rust package manager)
- stable toolchain
4. **agent-browser** - Native binary compiled from source
## Installation Location
- Repository: `~/Documents/agent-browser` (Mac) or `$HOME\Documents\agent-browser` (Windows)
- Binary: `~/Documents/agent-browser/bin/agent-browser` (Mac) or `$HOME\Documents\agent-browser\bin\agent-browser.cmd` (Windows)
- Rust: `~/.cargo/` (Mac) or `$HOME\.cargo\` (Windows)
## Troubleshooting
If installation fails:
1. **Check Node.js**: Ensure Node.js is installed
- Mac: `node --version`
- Windows: `node --version`
- Download from: https://nodejs.org/
2. **Check Git**: Ensure Git is installed
- Mac: `git --version`
- Windows: `git --version`
- Download from: https://git-scm.com/
3. **Re-run script**: The script is idempotent and can be run multiple times safely
4. **Check logs**: Script outputs detailed progress - review error messages
5. **Manual installation**: See main SKILL.md for manual installation steps
## Script Features
- ✅ Idempotent - safe to run multiple times
- ✅ Checks existing installation before proceeding
- ✅ Installs only missing dependencies
- ✅ Verifies installation success
- ✅ Provides detailed progress output
- ✅ Handles Rust PATH configuration automatically
- ✅ Sets up stable Rust toolchain
- ✅ No user confirmation required (fully automatic)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |