dev-browser
БесплатноБез исполняемых скриптовНе проверенDrive a real Chrome with the dev-browser CLI. Use when the user asks to open or click through a site, fill a form, log in, take a screenshot, or test a web…
от ivanrvpereira★ 19 звёзд на GitHubОб этом скилле
dev-browser
CLI for controlling a real Chrome with short Puppeteer scripts. One warm daemon; named pages persist between runs.
npm install -g [email protected]
dev-browser --version
dev-browser install # only if the first run says "No Chrome found"
Use the pinned 1.0 release candidate for this Puppeteer API. The unqualified npm package currently installs 0.2.9, which uses Playwright. Scripts run with the daemon's permissions. The script runtime is not a security sandbox.
Run dev-browser --help (full guide; dev-browser help <topic> for one section) before non-trivial work. Quick start:
dev-browser <<'EOF'
const page = await browser.getPage("main"); // named page persists across runs
await page.goto("https://example.com"); // default waitUntil: domcontentloaded
await page.snapshot({ interactive: true }) // ARIA tree with refs; last expression is printed
EOF
dev-browser -e 'const p = await browser.getPage("main"); await p.click("ref/e6"); await p.waitForLoad(); p.url()'
Gotchas: end lines with semicolons (a line starting with ( continues the previous one); return an object as
({ a, b }); page.click never waits (use waitForSelector first); page names are per browser (--headless and
headed are separate Chromes and profiles); refs reset on navigation — re-snapshot; file paths resolve against your cwd
(uploadFile, screenshot/pdf path); do not run parallel dev-browser calls against the same named page.
Reuse browser instances — do not open new ones
Every distinct --browser <NAME> spawns a separate Chromium instance. To avoid window sprawl:
- Before the first script of a session, check what already exists:
If a running instance fits the task (check its named pages), reuse its name withdev-browser browsers--browser <NAME>. - Prefer attaching to an already-open Chrome when one is running with remote debugging enabled: use
dev-browser --connect(auto-discovers). Only fall back to daemon-launched browsers when no debuggable Chrome is available. - Never invent a new
--browsername unless the user explicitly asks for an isolated session/profile. Otherwise stick to the default instance (omit the flag) or an existing name fromdev-browser browsers. - Check project instructions (AGENTS.md) for a project-specific browser name before choosing one — some projects pin a named instance that holds required login sessions.
- Reuse named pages (
browser.getPage("main")) instead of creating new pages for every script.
Установить dev-browser в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл dev-browser?
Drive a real Chrome with the dev-browser CLI. Use when the user asks to open or click through a site, fill a form, log in, take a screenshot, or test a web app in a browser.
Как установить скилл dev-browser?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dev-browser запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic