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/setup.sh
View on GitHub#!/bin/bash
# Setup agent-browser for Chrome automation
# Usage: ./setup.sh [install_directory]
set -e
INSTALL_DIR="${1:-/Users/jyxc-dz-0100272/Documents/agent-browser}"
echo "🚀 Setting up agent-browser at: $INSTALL_DIR"
# Check if directory exists
if [ ! -d "$INSTALL_DIR" ]; then
echo "❌ Directory not found: $INSTALL_DIR"
echo "Please clone agent-browser first:"
echo " git clone https://github.com/vercel-labs/agent-browser.git $INSTALL_DIR"
exit 1
fi
cd "$INSTALL_DIR"
# Step 1: Install dependencies
echo "📦 Installing dependencies..."
if command -v pnpm &> /dev/null; then
pnpm install
elif command -v npm &> /dev/null; then
npm install
else
echo "❌ Neither pnpm nor npm found. Please install Node.js first."
exit 1
fi
# Step 2: Install Chromium
echo "🌐 Installing Chromium browser..."
npx playwright install chromium
# Step 3: Build TypeScript
echo "🔨 Building TypeScript code..."
npm run build
# Step 4: Verify installation
echo "✅ Verifying installation..."
if [ -f "$INSTALL_DIR/bin/agent-browser" ]; then
echo "✓ Binary found"
else
echo "❌ Binary not found"
exit 1
fi
if [ -d "$INSTALL_DIR/node_modules" ]; then
echo "✓ Dependencies installed"
else
echo "❌ Dependencies missing"
exit 1
fi
if [ -d "$INSTALL_DIR/dist" ]; then
echo "✓ TypeScript compiled"
else
echo "❌ TypeScript not compiled"
exit 1
fi
echo ""
echo "✅ Setup complete!"
echo ""
echo "Environment variable to set:"
echo " export AGENT_BROWSER_HOME=$INSTALL_DIR"
echo ""
echo "Test with:"
echo " cd $INSTALL_DIR"
echo " AGENT_BROWSER_HOME=$INSTALL_DIR ./bin/agent-browser --help"
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 |