capture
Browser automation and UI validation via the capture CLI. Interact with pages using accessibility-driven click, type, screenshot, a11y tree, JS exec, and HAR…
от crouton-labs★ 25 звёзд на GitHub
Установить capture в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Capture — Browser Automation Skill
Browser automation via CDP for UI validation. For the full command reference, see cli-reference.md.
Session Basics
capture session start --url <url>— open a tab and start recording- Interact:
screenshot,click,type,a11y,exec,navigate capture session stop <id>— bundle artifacts;capture session view <id>to inspect
Session context auto-fills --target and --har — no manual flag threading needed.
Target selection: If the user hasn't specified which app or browser to target, ask before starting. Don't assume Chrome, a specific port, or a running tab — run capture detect to see what's available and confirm with the user when ambiguous.
Validation Pattern
When validating a UI feature:
- Start a session targeting the page under test
- Use
a11y --interactiveto understand what's on the page - Interact via
clickandtypeusing accessible names (not selectors) - Take screenshots at key states
- Use
execto check DOM or JS state when a11y isn't sufficient - Use
har readto verify network requests if relevant (supports--filter-url,--filter-status,--filter-method,--limit; ID optional in an active session) - Stop the session and report pass/fail with evidence
HAR caveat: the session HAR is populated by the commands that run — most reliably navigate. click/type capture the traffic that fires inside their settle window, but cross-navigation traffic after the frame changes is lossy. For continuous "click around" capture, run capture record --duration N in parallel.
Interaction Tips
- Always prefer
click "Name"overexecwith selectors — a11y names are stable - If
clickreports multiple matches, add--roleto disambiguate - Run
a11y --interactivebefore interacting to see available elements type --into "Field Name"clicks the field first, then types — no separate click needed- After interactions, screenshot to capture the resulting state
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash(capture:*) - 02
Read - 03
Glob - 04
Grep
Вложенные файлы
- cli-reference.md
FAQ
Что делает скилл capture?
Browser automation and UI validation via the capture CLI. Interact with pages using accessibility-driven click, type, screenshot, a11y tree, JS exec, and HAR recording over CDP. Use when validating UI state, testing features in the browser, or manipulating a running web app.
Как установить скилл capture?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл capture запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…