gsd-browser
Native Rust browser automation CLI for AI agents. Use when the user needs to interact with websites — navigating pages, filling forms, clicking buttons…
от skillmds★ 42 звезды на GitHub
Установить gsd-browser в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Browser Automation with gsd-browser
Critical Rules
- 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 snapshotto get fresh refs. - Use
--jsonwhen 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). - Positional args have no flag prefix. Commands like
click,type,hovertake positional args — do NOT add--selector. See exact syntax in command reference below. - Use
batchfor 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). - Use
viewwhen 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 commands on the same named session.
Core Workflow
Every browser automation follows this pattern:
- Navigate:
gsd-browser navigate <url> - Snapshot:
gsd-browser snapshot(get versioned refs like@v1:e1,@v1:e2) - Interact: Use refs to click, fill, hover
- Re-snapshot: After navigation or DOM changes, get fresh refs
gsd-browser navigate https://example.com/form
gsd-browser snapshot
# Output: @v1:e1 [input type="email"], @v1:e2 [input type="password"], @v1:e3 [button] "Submit"
gsd-browser fill-ref @v1:e1 "[email protected]"
gsd-browser fill-ref @v1:e2 "password123"
gsd-browser click-ref @v1:e3
gsd-browser wait-for --condition network_idle
gsd-browser snapshot # REQUIRED — old refs are now stale
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.
# Chain navigate + wait + snapshot
gsd-browser navigate https://example.com && gsd-browser wait-for --condition network_idle && gsd-browser snapshot
# Chain multiple interactions
gsd-browser fill-ref @v1:e1 "[email protected]" && gsd-browser fill-ref @v1:e2 "password123" && gsd-browser click-ref @v1:e3
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).
Command Reference
Argument syntax: <arg> = required positional, [arg] = optional positional, --flag = named option. Do NOT add -- prefix to positional args.
Navigation
gsd-browser navigate <url> # Navigate to a URL
gsd-browser back # Go back in browser history
gsd-browser forward # Go forward in browser history
gsd-browser reload # Reload the current page
Interaction
All selectors are positional — do NOT use --selector.
# Click
gsd-browser click <selector> # Click by CSS selector
gsd-browser click --x 100 --y 200 # Click by coordinates (no selector)
# Type — positional: <selector> <text>
gsd-browser type <selector> <text> # Atomic fill (replaces content)
gsd-browser type <selector> <text> --slowly # Character-by-character
gsd-browser type <selector> <text> --clear-first # Clear field before typing
gsd-browser type <selector> <text> --submit # Press Enter after typing
# Other interaction — all positional selectors
gsd-browser press <key> # Press key: Enter, Escape, Tab, Meta+A
gsd-browser hover <selector> # Hover over element
gsd-browser scroll --direction down # Scroll down 300px (default)
gsd-browser scroll --direction up --amount 500 # Scroll up 500px
gsd-browser select-option <selector> <option> # Select dropdown by label or value
gsd-browser set-checked <selector> --checked # Check checkbox/radio (omit --checked to uncheck)
gsd-browser drag <source-selector> <target-selector> # Drag-and-drop
gsd-browser upload-file <selector> <file>... # Set files on <input type="file">
gsd-browser set-viewport --preset mobile # Preset: mobile, tablet, desktop, wide
gsd-browser set-viewport --width 1920 --height 1080 # Custom dimensions
Snapshot & Refs
Refs are versioned (@v1:e1, @v2:e3). The version increments each snapshot. Old refs become stale after page changes — always re-snapshot.
# Take snapshot
gsd-browser snapshot # Snapshot interactive elements, assign refs
gsd-browser sna
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash(gsd-browser:*) - 02
Bash(gsd-browser *)
Вложенные файлы
- .gitignore
- AGENTS.md
- Cargo.lock
- Cargo.toml
- LICENSE-APACHE
- LICENSE-MIT
- README.md
- install.sh
FAQ
Что делает скилл gsd-browser?
Native Rust browser automation CLI for AI agents. Use when the user needs to interact with websites — navigating pages, filling forms, clicking buttons, taking screenshots, sharing a live browser view, narrating browser actions, extracting structured data, running assertions, 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", "show me the browser", "share the screen", "pause the browser", "step through this", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", "visual regression test", "check for prompt injection", or any task requiring programmatic web interaction.
Как установить скилл gsd-browser?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл gsd-browser запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…