Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
bighardperson avatar

Stagehand Browser Cli

  • 8 installs
  • 33 repo stars
  • Updated April 26, 2026
  • bighardperson/computer-science-skills-collection

Stagehand-browser-cli is a skill that automates web browser interactions via the Stagehand CLI using natural language, on local Chrome or remote Browserbase.

About

Stagehand-browser-cli is a skill that automates browser interactions using the Stagehand CLI with natural-language commands. A developer uses it to navigate pages, perform actions, extract data, observe elements, and take screenshots. It automatically runs against local Chrome when no keys are present, or a remote Browserbase environment when BROWSERBASE_API_KEY and project ID are set.

  • Automates browser interactions via Stagehand CLI and natural language
  • Auto-selects local Chrome or remote Browserbase based on API keys
  • navigate, act, extract, observe, and screenshot commands

Stagehand Browser Cli by the numbers

  • 8 all-time installs (skills.sh)
  • Ranked #1,522 of 2,719 Automation & Workflows skills by installs in the Skillselion catalog
  • Data as of Jul 30, 2026 (Skillselion catalog sync)
At a glance

stagehand-browser-cli capabilities & compatibility

Local Chrome mode is free; remote mode requires BROWSERBASE_API_KEY and BROWSERBASE_PROJECT_ID.

Capabilities
web scraping · web search · testing
Works with
chrome
Use cases
web scraping · web search · testing
Runs
Local or remote
Pricing
Bring your own API key
From the docs

What stagehand-browser-cli says it does

Automate web browser interactions using natural language via CLI commands.
SKILL.md
If Browserbase API keys exist** (BROWSERBASE_API_KEY and BROWSERBASE_PROJECT_ID in .env file): Uses remote Browserbase environment
SKILL.md
npx skills add https://github.com/bighardperson/computer-science-skills-collection --skill stagehand-browser-cli

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs8
repo stars33
Last updatedApril 26, 2026
Repositorybighardperson/computer-science-skills-collection

What it does

Automate browser navigation, actions, and data extraction via natural language, on local Chrome or remote Browserbase.

Who is it for?

Natural-language browser automation and data extraction on local Chrome or a remote Browserbase cloud browser

When should I use this skill?

You need to browse, navigate, extract data, fill forms, or take screenshots of web pages

What you get

Completed browser navigation, actions, extractions, and screenshots driven by natural language.

  • automated browser actions
  • extracted web data
  • screenshots

Files

SKILL.mdMarkdownGitHub ↗

Browser Automation

Automate browser interactions using Stagehand CLI with Claude.

First: Environment Selection (Local vs Remote)

The skill automatically selects between local and remote browser environments:

  • If Browserbase API keys exist (BROWSERBASE_API_KEY and BROWSERBASE_PROJECT_ID in .env file): Uses remote Browserbase environment
  • If no Browserbase API keys: 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

FeatureLocalBrowserbase
SpeedFasterSlightly slower
SetupChrome requiredAPI 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 Browserbase mode
  • Action fails: Use browser observe to discover available elements
  • Browserbase fails: Verify API key and project ID are set

For detailed examples, see EXAMPLES.md. For API reference, see REFERENCE.md.

Related skills

FAQ

How does stagehand-browser-cli choose local vs remote?

It uses remote Browserbase when BROWSERBASE_API_KEY and project ID are set, otherwise it falls back to local Chrome automatically.

What commands does it provide?

navigate, act, extract, observe, screenshot, and close.

Automation & Workflowsautomationagents

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.