/amplify:browse-sitefrom amplify
Navigates and interacts with websites via the agent-browser CLI: clicking elements, filling forms, taking screenshots, extracting content, and automating multi-step browser workflows.
Ships in amplify. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Browse and interact with websites using the agent-browser CLI.
Before first use, verify agent-browser is available:
agent-browser --version
If the command is not found, install it:
npm install -g agent-browser
agent-browser install # Download Chromium
If installation fails, stop and report the error to the user. Do not proceed.
Navigate — open the target URL:
agent-browser open <url>
If the command exits with a non-zero code or outputs an error, report it and stop.
Snapshot — get interactive elements with stable refs:
agent-browser snapshot -i -c --json
The JSON output contains an elements array. Each element has a ref field (e.g., "@e2") and a role/name describing it. Use these refs for all subsequent interactions.
Interact — act on elements using refs from the latest snapshot:
agent-browser click @e2
agent-browser fill @e5 "search term"
agent-browser type @e7 "typed text"
Re-snapshot — after any interaction that changes the page, take a new snapshot before acting again. Refs from a previous snapshot are stale after page changes.
Repeat until the task is complete, then close the browser:
agent-browser close
| Action | Command |
|---|---|
| Navigate | agent-browser open <url> |
| Get elements | agent-browser snapshot -i -c --json |
| Click | agent-browser click @e<n> |
| Type text | agent-browser type @e<n> "text" |
| Fill field | agent-browser fill @e<n> "text" |
| Screenshot | agent-browser screenshot <path> |
| Get element text | agent-browser get text @e<n> |
| Get page title | agent-browser get title |
| Get current URL | agent-browser get url |
| Wait (milliseconds) | agent-browser wait 2000 |
| Wait (element) | agent-browser wait "#submit-button" |
| Close browser | agent-browser close |
Always provide a path for screenshots (e.g., agent-browser screenshot /tmp/page.png). The command may fail silently without one.
Use --session <name> to persist browser state (cookies, local storage) across commands:
agent-browser open https://example.com --session mysite
agent-browser snapshot -i -c --json --session mysite
agent-browser click @e3 --session mysite
agent-browser close --session mysite
Use sessions for login flows so authenticated state is preserved between steps.
| Option | Description |
|---|---|
-i, --interactive | Only interactive elements (buttons, links, inputs) |
-c, --compact | Remove empty structural elements |
-d, --depth <n> | Limit tree depth |
-s, --selector <sel> | Scope to CSS selector |
--json | Machine-readable output with refs |
Combine options: agent-browser snapshot -i -c -d 5 --json
| Situation | Action |
|---|---|
agent-browser not found | Install it (see Installation Check), then retry. |
open fails (bad URL, network error) | Report the error and URL to the user. Stop. |
| Snapshot returns empty elements | The page may require a wait; run agent-browser wait 2000 then re-snapshot. |
| Login blocked by captcha or MFA | Stop and ask the user to complete the manual step, then continue. |
| Ref not found (stale ref) | Re-snapshot the page; refs change after DOM updates. |
| Screenshot path missing | Always supply an explicit output path to avoid silent failures. |
--headed on any command to watch the browser visually during debugging: agent-browser open <url> --headed--session for any workflow that requires login-i -c on snapshots to keep output small and refs easy to readWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
28 skills in this plugin
/ask-questions-if-underspecifiedPauses to ask focused clarifying questions when a request lacks enough information to execute correctly. Use when the task is vague, has multiple plausible interpretations, is missing acceptance criteria, or when wrong assumptions would produce significant wasted work. Don't use when the request is already well-specified, when requirements were clarified earlier in the same conversation, when the task is trivially unambiguous (e.g., fix a specific typo), or when general clarification techniques are being discussed rather than applied to a specific task./code-simplifierRefines existing code for clarity, readability, and maintainability without changing behavior, interfaces, or outputs. Use when asked to "simplify", "clean up", "refactor for readability", "reduce complexity", or polish code without adding features. Don't use when the request involves changing behavior, adding functionality, migrating to a new pattern or library, renaming public APIs, or any structural change that alters interfaces or outputs./create-planCreates a structured PLAN.md file for a software engineering task by interviewing the user to extract intent, thinking through the approach, and writing an actionable plan with scope, success criteria, and a sequenced checklist. Use when the user asks to "create a plan", "make a plan for [engineering task]", "plan out [feature or change]", "help me plan [implementation]", "write a plan", or when they need a written plan document before starting implementation work. Also use when the user asks to advance to the next phase of an existing plan. Don't use for general brainstorming sessions, architecture diagrams, meeting or project management planning, non-software scheduling, or when the user wants to execute a task immediately without a planning document. Don't use for "make a plan for lunch", team retrospectives, or sprint planning.
Generated from the plugin's indexed repository (wunki/amplify) — no native marketplace selected
npx claudepluginhub p/wunki-amplifyOther plugins' skills for the same job