browser
БесплатноЗапускает вложенные скриптыНе проверенBrowser automation via the `agent-browser` CLI: drive websites or Electron apps (forms, clicks, screenshots, scraping, web-app/UI tests, the dashboard…
от BlackBeltTechnology★ 357 звёзд на GitHubОб этом скилле
browser
Composite skill that gives the agent eyes and hands for any browser-driven
task — web pages or Electron desktop apps — via the agent-browser CLI.
Three recipes:
- Web automation — generic web pages plus Pi Dashboard-specific helpers
(dashboard URL detection, responsive testing, console-error hunting).
Reference:
references/web.md. - Electron automation — drive any Chromium-based Electron app, including
a worked example for the Pi Dashboard's own shell via
--debug-cdp. Reference:references/electron.md. - The user's own logged-in browser — reach SSO/2FA-gated sites using the
user's real cookies. Two paths:
- Pi Dashboard browser (preferred when the pi session runs on the
dashboard host) —
browser_connecthands back a loopback CDP URL for the dedicated profile or a Chrome profile (Playwright Chrome Extension). Reference:references/dashboard-relay.md. - Panerelay extension bridge (legacy) — a native-messaging host for when
there is no loopback dashboard. Reference:
references/own-browser.md.
- Pi Dashboard browser (preferred when the pi session runs on the
dashboard host) —
Native desktop apps (Finder, Calculator, any non-web UI — "control my
desktop") are out of scope for agent-browser: use agent-desktop and read
references/desktop.md first — install, and the
macOS Accessibility/Screen Recording trap (permission belongs to
pi-dashboard.app, which must be code-signed).
Step 0a — Preflight: agent-browser CLI must be installed
The skill does not bundle the CLI. Verify it through the dashboard tool
registry — recommend-only, nothing installs without an explicit --install:
pi-dashboard-ensure <extension-package-root>/package.json
<extension-package-root> is the package that ships this skill — three levels
above this SKILL.md's .pi/skills/browser/ directory (in a global install:
$(npm root -g)/@blackbelt-technology/pi-dashboard/node_modules/@blackbelt-technology/pi-dashboard-extension).
The manifest (pi.tools) declares agent-browser (resolve) and chromium
(pw-browser); the registry answers present / recommended / blocked per
tool.
agent-browser: present→ continue to Step 0b.agent-browser: recommendedorblocked→ halt and tell the user:The
agent-browserCLI is not installed. Install it as a pi extension so thebrowsertool is registered in your pi session too:pi install npm:pi-agent-browserThen re-invoke the skill.
chromiummissing → mention the registry's Install hint (npx [email protected] install chromium) only when the chosen recipe needs a CDP browser; the dropdown on the Settings → Tools row carries it.
Do not attempt npm install, pi install, or any other install command
on the user's behalf — they should make that choice explicitly.
Step 0b — Auto-detect: route to the right recipe
After the preflight, decide which recipe applies. Run this 2-line probe:
if command -v lsof >/dev/null 2>&1; then
CDP_LIVE=$(lsof -ti :9222 >/dev/null 2>&1 && echo yes || echo no)
else
CDP_LIVE=$(nc -z 127.0.0.1 9222 2>/dev/null && echo yes || echo no)
fi
PD_RUNNING=$(pgrep -f "Pi Dashboard|pi-dashboard" >/dev/null 2>&1 && echo yes || echo no)
# Browser relay: the dashboard's own capability probe (see dashboard-relay.md).
RELAY=$(pi-dashboard api GET /api/browser/status 2>/dev/null || echo unavailable)
echo "CDP_LIVE=$CDP_LIVE PD_RUNNING=$PD_RUNNING RELAY=$RELAY"
Routing rule:
CDP_LIVE |
PD_RUNNING |
Route to | Why |
|---|---|---|---|
| yes | yes | references/electron.md |
Pi Dashboard Electron shell is attachable |
| no | yes | references/electron.md |
Pi Dashboard is up but CDP off — electron.md shows the --debug-cdp launch instruction |
| any | no | references/web.md |
No Electron target running; default to web |
Override: if the user's request is explicitly about a website (URL,
HTTPS host, "the dashboard at localhost:8000", etc.), route to
references/web.md regardless of what's running. Intent wins over capability.
Override: if the user's request is explicitly about an Electron app
that isn't Pi Dashboard (Slack, VS Code, Figma, …), route to
references/electron.md even when PD_RUNNING=no — that recipe covers
launching any Electron app with --remote-debugging-port.
Override (login state): if the target needs the user's existing session — "use my browser", "I'm already logged in", SSO/2FA, an internal tool the agent cannot sign into — route to a login-state recipe regardless of the probe. Pick by capability, in this order:
references/dashboard-relay.mdwhen the pi session runs on the
Установить browser в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(agent-browser:*)Bash(npx agent-browser:*)Bash(npx @panerelay/setup:*)Bash(curl:*)Bash(pi-dashboard:*)Вложенные файлы
FAQ
Что делает скилл browser?
Browser automation via the `agent-browser` CLI: drive websites or Electron apps (forms, clicks, screenshots, scraping, web-app/UI tests, the dashboard Electron shell) or the user's own logged-in Chrome via browser relay/Panerelay (SSO/2FA); native desktop apps route to agent-desktop. Triggers: "open a website", "take a screenshot", "test this web app", "use my own browser", "control my desktop".
Как установить скилл browser?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл browser запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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