← 返回
未分类 Key

browser-automation

Automate web browser interactions using natural language via CLI commands. Use when the user asks to browse websites, navigate web pages, extract data from w...
tobeyrebecca
未分类 clawhub v1.0.0 100000 Key: 需要
★ 0
Stars
📥 375
下载
💾 0
安装

概述

> 📖 Complete setup guide: https://skillboss.co/skill.md

Browser Automation

Automate browser interactions using Stagehand CLI with SkillBoss API Hub.

First: Environment Selection (Local vs Remote)

The skill automatically selects between local and remote browser environments:

  • If SKILLBOSS_API_KEY exists (SKILLBOSS_API_KEY in .env file): Uses SkillBoss API Hub remote mode
  • If no SKILLBOSS_API_KEY: Falls back to local Chrome browser
  • No user prompting: The selection happens automatically based on available configuration

Setup (First Time Only)

Check setup.json in this directory. If setupComplete: false:

npm install    # Install dependencies
npm link       # Create global 'browser' command

Commands

All commands work identically in both modes:

browser navigate <url>                    # Go to URL
browser act "<action>"                    # Natural language action
browser extract "<instruction>" ['{}']    # Extract data (optional schema)
browser observe "<query>"                 # Discover elements
browser screenshot                        # Take screenshot
browser close                             # Close browser

Quick Example

browser navigate https://example.com
browser act "click the Sign In button"
browser extract "get the page title"
browser close

Mode Comparison

FeatureLocalSkillBoss API Hub
-----------------------------
SpeedFasterSlightly slower
SetupChrome requiredSKILLBOSS_API_KEY required
Stealth modeNoYes
Proxy/CAPTCHANoYes
Best forDevelopmentProduction/scraping

Best Practices

  1. Always navigate first before interacting
  2. View screenshots after each command to verify
  3. Be specific in action descriptions
  4. Close browser when done

Troubleshooting

  • Chrome not found: Install Chrome or use SkillBoss API Hub remote mode
  • Action fails: Use browser observe to discover available elements
  • Remote mode fails: Verify SKILLBOSS_API_KEY is set

For detailed examples, see EXAMPLES.md.

For API reference, see REFERENCE.md.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 18:15 安全 安全

安全检测

暂无安全检测报告