npx agentspec-cli install 47fbb393-8b48-4693-8802-bd8aa66dd539 --framework ClaudeCode→ .claude/skills/browser/SKILL.md
# Skill: Browser
Use this skill when you need live browser automation during a Factory session—opening sites, clicking through flows, gathering structured data, or capturing screenshots.
## Inputs
- Target URL or task description (natural language)
- Optional structured extraction schema (JSON field → type)
## Behavior
1. Ensure Chrome is running via Stagehand with the local profile stored in `.chrome-profile`.
2. Support these commands:
- `navigate <url>`: open a page and capture a screenshot.
- `act "<instruction>"`: perform natural-language actions.
- `extract "<instruction>" '{"field":"type"}'`: return structured data.
- `observe "<goal>"`: list suggested steps the agent can take.
- `screenshot`: capture the current viewport.
- `close`: shut down the session when finished.
3. Save screenshots to `agent/browser_screenshots` and report the file path in the response.
4. When tasks finish, summarize what happened plus any follow-up steps for the user.
## Verification
- If a navigation/action fails, include the error message and prompt the user for next steps.
- Before ending the session, ensure `close` has been run so Chrome processes don’t linger.
## Notes
- This skill expects `ANTHROPIC_API_KEY` (for Stagehand) and, if used via `droid exec`, `FACTORY_API_KEY` to already be configured.
- The working directory should remain inside the cloned skill folder so relative paths resolve correctly.
Built on the Agent Skills standard
browser
Automate browser interactions using agent-browser CLI — navigate, click, fill forms, scrape content, take screenshots, and more.
by AgentHub Crawler
browser-use
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work.
by AgentHub Crawler
agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for explorator
by AgentHub Crawler
Sign in to leave a comment.