- Created skills/ directory - Moved 272 skills to skills/ subfolder - Kept agents/ at root level - Kept installation scripts and docs at root level Repository structure: - skills/ - All 272 skills from skills.sh - agents/ - Agent definitions - *.sh, *.ps1 - Installation scripts - README.md, etc. - Documentation Co-Authored-By: Claude <noreply@anthropic.com>
61 lines
1.8 KiB
Markdown
61 lines
1.8 KiB
Markdown
# Browser Automation Skill
|
|
|
|
A skill for seamlessly enabling **[Claude Code](https://docs.claude.com/en/docs/claude-code/overview)** to interface with a browser using **[Stagehand](https://github.com/browserbase/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:
|
|
|
|
```bash
|
|
/plugin marketplace add browserbase/agent-browse
|
|
```
|
|
|
|
Then install the plugin:
|
|
|
|
```bash
|
|
/plugin install agent-browse@browserbase
|
|
```
|
|
|
|
If you prefer the manual interface:
|
|
1. On Claude Code, type `/plugin`
|
|
2. Select option `3. Add marketplace`
|
|
3. Enter the marketplace source: `browserbase/agent-browse`
|
|
4. Press enter to select the `agent-browse` plugin
|
|
5. Hit enter again to `Install now`
|
|
6. **Restart Claude Code** for changes to take effect
|
|
|
|
## Setup
|
|
|
|
Set your Anthropic API key:
|
|
```bash
|
|
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:
|
|
```bash
|
|
rm -rf .chrome-profile
|
|
```
|
|
|
|
## Resources
|
|
|
|
- [Stagehand Documentation](https://github.com/browserbase/stagehand)
|
|
- [Claude Code Skills](https://support.claude.com/en/articles/12512176-what-are-skills) |