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/connect_chrome.sh
View on GitHub#!/bin/bash
# Connect to or start Chrome with remote debugging
# Usage: ./connect_chrome.sh [port]
PORT="${1:-9222}"
echo "🔍 Checking for Chrome with remote debugging on port $PORT..."
# Check if Chrome already running with debug port
if ps aux | grep -q "[r]emote-debugging-port=$PORT"; then
echo "✅ Chrome already running with remote debugging on port $PORT"
echo ""
echo "Test connection with:"
echo " cd /Users/jyxc-dz-0100272/Documents/agent-browser"
echo " AGENT_BROWSER_HOME=/Users/jyxc-dz-0100272/Documents/agent-browser \\"
echo " ./bin/agent-browser --cdp $PORT get url"
exit 0
fi
echo "🚀 Starting Chrome with remote debugging on port $PORT..."
# Start Chrome with debugging
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
--remote-debugging-port=$PORT \
--user-data-dir=/tmp/chrome-debug-$PORT &
# Wait for Chrome to start
echo "⏳ Waiting for Chrome to start..."
sleep 3
# Open initial page
echo "📄 Opening initial page..."
osascript -e 'tell application "Google Chrome" to activate' \
-e 'tell application "Google Chrome" to open location "https://google.com"' 2>/dev/null
# Wait for page load
sleep 2
echo ""
echo "✅ Chrome started successfully!"
echo ""
echo "Chrome is now running with remote debugging on port $PORT"
echo "You should see a Chrome window open"
echo ""
echo "Test connection with:"
echo " cd /Users/jyxc-dz-0100272/Documents/agent-browser"
echo " AGENT_BROWSER_HOME=/Users/jyxc-dz-0100272/Documents/agent-browser \\"
echo " ./bin/agent-browser --cdp $PORT snapshot -i"
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 |