pratos/clanker-setup/stagehand-browser
Claude Code and agent skill by pratos/clanker-setup
- community
Checking that the SKILL.md file is still in the repository.
Browser automation using Stagehand and AI. Use when you need to interact with websites, fill forms, login to services, extract data from web pages, or automate web workflows. Provides the browser_automate tool.
Install
npx vskill@latest install pratos/clanker-setup/stagehand-browserSKILL.md
The same SKILL.md was published earlier as pratos/clanker-setup/stagehand-browser.
Stagehand Browser Automation
Overview
This skill provides AI-powered browser automation via the browser_automate tool. It uses Stagehand to translate natural language instructions into browser actions.
When to Use
- Login to websites and perform authenticated actions
- Fill out forms with dynamic content
- Extract structured data from web pages
- Navigate complex web applications
- Take screenshots for verification
The browser_automate Tool
Basic Usage
With Credential Lookup
Credentials are loaded from sops-nix:
~/.config/sops-nix/secrets/<site>/(withemail/usernameandpasswordfiles)~/.config/sops-nix/secrets/stagehand/<site>/(alternative location)
With Data Extraction
Debugging Mode (Watch Browser)
Set headless: false to watch the browser perform actions in real-time.
Task Writing Tips
Be Specific
❌ "Login and do stuff" ✅ "Login with username from credentials, click 'My Account' in the top menu, then click 'Order History'"
Break Down Complex Tasks
For multi-step workflows, describe each step:
Handle Dynamic Content
Stagehand understands context:
- "Click the button that says 'Submit'" (text matching)
- "Fill the email field" (semantic understanding)
- "Select the second item in the dropdown" (positional)
Parameters Reference
| Parameter | Type | Default | Description | |
|---|---|---|---|---|
url | string | required | URL to navigate to | |
task | string | required | Natural language task description | |
credentials.site | string | optional | Site identifier for credential lookup | |
extract.instruction | string | optional | What data to extract | |
extract.schema | object | optional | Schema for extracted data | |
screenshot | boolean | true | Take a screenshot when done | |
headless | boolean | true | Run browser without UI (set false to watch) | |
timeout | number | 60000 | Timeout in milliseconds |
Integration with Other Skills
Other skills can reference this tool. Example for an FPL skill:
Limitations
- Each tool call is stateless (browser closes after task)
- No persistent sessions across calls (login required each time)
- Screenshots are PNG files saved to temp directory
- 60-second default timeout (configurable)
Troubleshooting
"No LLM API key found"
Set ANTHROPIC_API_KEY or OPENAI_API_KEY in your environment, or add to sops-nix.
Browser not launching
Run setup: ~/.pi/agent/extensions/stagehand-browser/scripts/setup-local.sh
Timeout errors
Increase timeout: { "timeout": 120000 } (2 minutes)
Site blocking automation
Try with { "headless": false } to see what's happening. Some sites may require additional handling.
Credentials not found
Check that your credentials are at ~/.config/sops-nix/secrets/<site>/ with email (or username) and password files.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/stagehand-browser/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/pratos/clanker-setup/stagehand-browser)