💡 Summary
This skill enables Claude Code to automate browser tasks using natural language commands.
🎯 Target Audience
🤖 AI Roast: “The skill requires an Anthropic API key, which poses a risk if exposed. To mitigate, ensure the key is stored securely and not hard-coded in the source.”
Risk: Critical. Review: shell/CLI command execution; outbound network access (SSRF, data egress); API keys/tokens handling and storage. Run with least privilege and audit before enabling in production.
Browser Automation Skill
A skill for seamlessly enabling Claude Code to interface with a browser using Stagehand (AI browser automation framework). Because Stagehand accepts natural language instructions, it's significantly more context-efficient than native Playwright while providing more features built for automation.
Installation
On Claude Code, to add the marketplace, simply run:
/plugin marketplace add browserbase/agent-browse
Then install the plugin:
/plugin install agent-browse@browserbase
If you prefer the manual interface:
- On Claude Code, type
/plugin - Select option
3. Add marketplace - Enter the marketplace source:
browserbase/agent-browse - Press enter to select the
agent-browseplugin - Hit enter again to
Install now - Restart Claude Code for changes to take effect
Setup
Set your Anthropic API key:
export ANTHROPIC_API_KEY="your-api-key"
Usage
Once installed, just ask Claude to browse:
- "Go to Hacker News, get the top post comments, and summarize them "
- "QA test http://localhost:3000 and fix any bugs you encounter"
- "Order me a pizza, you're already signed in on Doordash"
Claude will handle the rest.
Troubleshooting
Chrome not found
Install Chrome for your platform:
- macOS or Windows: https://www.google.com/chrome/
- Linux:
sudo apt install google-chrome-stable
Profile refresh
To refresh cookies from your main Chrome profile:
rm -rf .chrome-profile
Resources
Pros
- Enables natural language browser automation
- Integrates well with Claude Code
- Supports various automation tasks
- User-friendly setup process
Cons
- Requires Chrome installation
- Dependent on Anthropic API key
- Limited to Claude Code environment
- May need manual cookie management
Related Skills
pytorch
S“It's the Swiss Army knife of deep learning, but good luck figuring out which of the 47 installation methods is the one that won't break your system.”
agno
S“It promises to be the Kubernetes for agents, but let's see if developers have the patience to learn yet another orchestration layer.”
nuxt-skills
S“It's essentially a well-organized cheat sheet that turns your AI assistant into a Nuxt framework parrot.”
Disclaimer: This content is sourced from GitHub open source projects for display and rating purposes only.
Copyright belongs to the original author browserbase.
