browser-reset
БесплатноБез исполняемых скриптовНе проверенReconfigure the browser-control wiring. Rotate the Playwright MCP Bridge token, switch the target browser, or fully tear down the AIWG registration and…
от jmagly★ 233 звезды на GitHubОб этом скилле
Browser Reset Skill (DRAFT)
Status: DRAFT — scaffolded from PoC. Implementation pending Inception outputs.
Purpose
Recover from misconfiguration, rotate the per-install token, switch browsers, or fully tear down. Every destructive operation gated by human-authorization.
When This Skill Applies
- User regenerated the token in the extension UI
- User switching from Chrome to Edge (or vice versa)
- User wants to fully uninstall browser-control wiring
browser-doctorreports irrecoverable state
Modes
Mode 1: Rotate token
- Show current setup (browser, token-file path, registry entry — token redacted)
- Confirm intent (
AskUserQuestion) - Walk user through extension regeneration:
- Click extension icon in target browser
- Click "Regenerate token" (UI label may vary by extension version)
- Copy new token
- Capture new token via interactive prompt
- Atomic write to
~/.config/playwright-mcp/token(mode preserved) - Update AIWG MCP registry env block:
aiwg mcp update playwright --env "PLAYWRIGHT_MCP_EXTENSION_TOKEN=<new>" - Re-inject:
aiwg mcp inject --provider <p> --servers playwright - Probe verify; report pass/fail
Mode 2: Switch browser
- Show current browser
- Detect alternatives (same logic as
browser-setup) - Confirm switch (
AskUserQuestion) - Walk user through extension install in new browser (if not already installed there)
- Capture token from the new browser's extension
- Update token file
- Update AIWG MCP registry (no path changes, just env)
- Re-inject
- Probe verify
Note: this mode does not remove the old browser's extension or token. User can do that manually; we don't touch user's other browsers without explicit authorization.
Mode 3: Tear down
- Show what will be removed (registry entry, provider injection, token file path)
- Explicit
human-authorizationgate (destructive) aiwg mcp remove playwright- Provider config: remove
playwrightfrommcpServers(we wrote it, we own removal) - Optionally delete
~/.config/playwright-mcp/token(prompt) - Optionally delete
.aiwg/browser-allowlist.yaml(prompt) - Note: AIWG never uninstalls the browser extension itself — that's a user action in the browser UI
Mode 4: Just re-inject
For when the AIWG MCP registry is correct but the provider config was overwritten by another tool. Single command, no token capture.
Constraints
- Destructive operations (tear-down, token rotation, browser switch) require
human-authorizationper rule - Activity log entry per mode invoked
- Token never echoed; redacted as
<2 chars>…<2 chars>in any human-readable output - Atomic writes for token file (write to
.tmp, rename) to avoid partial-write states
Open implementation questions
- Should "switch browser" preserve the old browser's wiring as a fallback?
- Should "tear down" offer to also delete
~/.config/playwright-mcp/dir if empty? - What's the canonical "reset to factory" command — call this skill, or a separate
aiwg run skill browser-uninstall?
References
.aiwg/architecture/adr-remote-browser-control.mdskills/browser-setup/SKILL.md(this addon)skills/browser-doctor/SKILL.md(this addon)rules/browser-control-safety.md(this addon).claude/rules/human-authorization.md
Установить browser-reset в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл browser-reset?
Reconfigure the browser-control wiring. Rotate the Playwright MCP Bridge token, switch the target browser, or fully tear down the AIWG registration and provider injection. Walks the user through extension UI regeneration where needed; respects human-authorization gates for destructive operations.
Как установить скилл browser-reset?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл browser-reset запускает скрипты?
Нет, скилл состоит только из инструкций (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