open-gsd/gsd-browser/npm
Claude Code and agent skill by open-gsd/gsd-browser
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Open GSD native browser automation for AI agents. Use gsd-browser when the user needs real Chrome/Chromium control: navigate pages, inspect localhost, click, type, fill forms, take screenshots, capture stable snapshot refs, run assertions and waits, extract structured data, compare visual diffs, inspect console/network behavior, mock or block requests, emulate devices, save auth state, record evidence bundles, scan for prompt injection, or share a live browser viewer for human handoff. Good prompts include "inspect this URL", "verify this user flow", "debug this page", "capture evidence", "scrape this table", "show me the browser", "pause/step through this", "login to a site", or "run a visual regression test". Learn more at https://opengsd.net/ and https://github.com/open-gsd/gsd-browser.
Install
npx vskill@latest install open-gsd/gsd-browser/npmSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as open-gsd/gsd-browser/npm.
Browser Automation with gsd-browser
Primary path for AI agents in 2026+: Use the MCP server — gsd-browser mcp.
It exposes 50+ tools, live resources (real snapshot/refs/state data), and executable prompts over stdio. All the unique strengths (versioned refs, live viewer + human collaboration/takeover/annotations/recordings, semantic intents, evidence bundles, self-healing action cache, batch execution, vault, visual regression, safety scanning, etc.) are available automatically to Cursor, Claude Desktop, VS Code + Copilot, and any other MCP client.
Quickstart for agents:
Then point your MCP client at it (see ./scripts/mcp-quickstart.sh cursor or claude/vscode for tailored configs).
Essential reading for MCP agents:
docs/mcp.md— Architecture, capabilities, client config examples, quickstart script.docs/AGENT-BEST-PRACTICES.md— Golden rules, recommended workflows (login, audit, human-in-the-loop, evidence, self-healing), "When to Use What" table, response envelope usage, prompt/resource patterns.docs/examples/mcp-client-config.json— Ready example.
The detailed command reference, error recovery, and workflow patterns in this SKILL.md document the exact semantics of the MCP tools (they are a direct 1:1 mapping). Use this as the source of truth when an MCP tool needs deeper clarification.
The installable curated skill pack lives in gsd-browser-skill/ (installed via the main installer or gsd-browser skill install).
Critical Rules (apply to both direct CLI and MCP usage)
- The daemon auto-starts on browser commands.
daemon healthonly reports state; it does not start a session. Usedaemon startonly when you want to pre-warm or verify daemon lifecycle explicitly. - Always re-snapshot after page changes. Refs are versioned (
@v1:e1). After navigation, form submission, or dynamic content loading, old refs are stale. Rungsd-browser snapshot(or read thegsd-browser://latest-snapshotMCP resource) to get fresh refs. - Use `--json` when parsing output. Use text mode when reading output yourself. Use
--jsonwhen you need to extract values programmatically (e.g., checking assertion results, parsing snapshot refs). MCP tools return rich envelopes containing structured_data. - Positional args have no flag prefix. Commands like
click,type,hovertake positional args — do NOT add--selector. See exact syntax in command reference below. (MCP equivalents:browser_click_refetc. takerefas a simple string param.) - Use `batch` for atomic multi-step flows. Batch reduces round trips and keeps pass/fail checks in one call. Use separate commands when you need intermediate output (e.g., snapshot to discover refs). MCP equivalent:
browser_batch. - Use `view` when the user wants to watch or direct the browser. The live viewer is an authenticated local workbench with Control, Annotate, Record, and Sensitive modes. Keep CLI/MCP commands on the same named session. MCP tools:
browser_view,browser_takeover,browser_annotation_request,browser_record_*,browser_goal, etc.
Core Workflow
Every browser automation follows this pattern:
- Navigate:
gsd-browser navigate <url>(orbrowser_navigatevia MCP) - Snapshot:
gsd-browser snapshot(get versioned refs like@v1:e1,@v1:e2) — or read MCP resourcegsd-browser://latest-snapshot - Interact: Use refs to click, fill, hover (or
browser_actsemantic intents first) - Re-snapshot: After navigation or DOM changes, get fresh refs
MCP agents: After any navigation or major action, prefer re-reading gsd-browser://latest-snapshot (or calling browser_snapshot) before using _ref tools.
Command Chaining
Commands can be chained with && in a single shell invocation. Browser state also persists across separate invocations through the background daemon when you stay on the same session.
When to chain: Use && when you don't need intermediate output. Run commands separately when you need to parse output first (e.g., snapshot to discover refs, then interact). For MCP, use browser_batch for atomicity.
Command Reference
Argument syntax: <arg> = required positional, [arg] = optional positional, --flag = named option. Do NOT add -- prefix to positional args.
(MCP tool names are browser_ + kebab-to-snake of the CLI command where applicable. Full authoritative list and schemas are returned live by the MCP server via tools/list. See docs/mcp.md and docs/AGENT-BEST-PRACTICES.md for agent-optimized usage.)
Navigation
Interaction
All selectors are positional — do NOT use --selector.
Snapshot & Refs
Refs are versioned (@v1:e1, @v2:e3). The version increments each snapshot. Old refs become stale after page changes — always re-snapshot.
Snapshot modes (--mode):
| Mode | What it captures | |
|---|---|---|
interactive | Buttons, inputs, links, selects (default) | |
form | Form fields with labels and current values | |
dialog | Elements inside open dialogs/modals | |
navigation | Links and nav elements | |
errors | Error messages, validation warnings | |
headings | Heading elements (h1-h6) for page structure | |
visible_only | All visible elements regardless of interactivity |
Inspection
Assertions
Run explicit pass/fail checks against the current page state. Prefer this over inferring success from output.
Assertion kinds (18): url_contains, title_contains, text_visible, text_hidden, selector_visible, selector_hidden, value_equals, checked, no_console_errors, no_failed_requests, request_url_seen, response_status, console_message_matches, network_count, console_count, element_count, no_console_errors_since, no_failed_requests_since.
Batch Execution
Execute multiple steps in one call to reduce round trips. Stops on first failure by default.
With --summary-only to reduce output
gsd-browser batch --steps '[...]' --summary-only
gsd-browser wait-for --condition selector_visible --value "#content" gsd-browser wait-for --condition selector_hidden --value ".spinner" gsd-browser wait-for --condition url_contains --value "/dashboard" gsd-browser wait-for --condition network_idle gsd-browser wait-for --condition delay --value 2000 gsd-browser wait-for --condition text_visible --value "Success" gsd-browser wait-for --condition text_hidden --value "Loading" gsd-browser wait-for --condition request_completed --value "/api/data" gsd-browser wait-for --condition console_message --value "ready" gsd-browser wait-for --condition element_count --value ".item" --threshold ">=5" gsd-browser wait-for --condition region_stable --value "#content"
Custom timeout (default: 10000ms)
gsd-browser wait-for --condition selector_visible --value "#slow" --timeout 30000
Analyze form structure
gsd-browser analyze-form gsd-browser analyze-form --selector "#signup-form"
This is the start of the file. Read the full SKILL.md on GitHub.
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 repositoryCheckingnpm/SKILL.md
Popularity
- Repository stars
- 51
- Repository forks
- 6
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
configConfiguration overrides
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/open-gsd/gsd-browser/npm)