browser-automation
Use as the DEFAULT before any browser-automation run on this box. Mandatory three-way profile choice (live / agent-persistent / agent-ephemeral), dedicated persistent agent profiles, chrome-bridge extension (chrome.debugger CDP) for Chrome/Edge, Playwright BiDi for Firefox, on-demand Tor. No OS keystroke injection, no window-focus requirement, never kill the owner's browsers.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- browser-automation
- description
- Use as the DEFAULT before any browser-automation run on this box. Mandatory three-way profile choice (live / agent-persistent / agent-ephemeral), dedicated persistent agent profiles, chrome-bridge extension (chrome.debugger CDP) for Chrome/Edge, Playwright BiDi for Firefox, on-demand Tor. No OS keystroke injection, no window-focus requirement, never kill the owner's browsers.
02 资源文件 73
- 其他.gitignore59 B
- 参考文档AUDIT.md3.7 KB
- 其他chrome-bridge-mcp/.gitignore107 B
- 资产文件chrome-bridge-mcp/assets/banner.png63.6 KB
- 资产文件chrome-bridge-mcp/assets/banner.svg3.1 KB
- 资产文件chrome-bridge-mcp/assets/icon-512.png21.2 KB
- 资产文件chrome-bridge-mcp/assets/icon.svg1.3 KB
- 脚本chrome-bridge-mcp/extension/background.js21.3 KB
- 脚本chrome-bridge-mcp/extension/cdp-allowlist.js2.3 KB
- 资产文件chrome-bridge-mcp/extension/icons/icon-128.png4.5 KB
- 资产文件chrome-bridge-mcp/extension/icons/icon-16.png578 B
- 资产文件chrome-bridge-mcp/extension/icons/icon-32.png1.2 KB
- 资产文件chrome-bridge-mcp/extension/icons/icon-48.png1.8 KB
- 参考文档chrome-bridge-mcp/extension/manifest.json933 B
- 参考文档chrome-bridge-mcp/extension/popup.html1.5 KB
- 脚本chrome-bridge-mcp/extension/popup.js941 B
- 许可证chrome-bridge-mcp/LICENSE1.0 KB
- 参考文档chrome-bridge-mcp/package-lock.json54.6 KB
- 参考文档chrome-bridge-mcp/package.json1.8 KB
- 参考文档chrome-bridge-mcp/README.md26.9 KB
- 脚本chrome-bridge-mcp/src/cdp-allowlist.ts2.9 KB
- 脚本chrome-bridge-mcp/src/hub.ts13.8 KB
- 脚本chrome-bridge-mcp/src/index.ts5.6 KB
- 脚本chrome-bridge-mcp/src/pagescript.ts14.4 KB
- 脚本chrome-bridge-mcp/src/setup.ts12.6 KB
- 脚本chrome-bridge-mcp/src/tools.ts42.7 KB
- 脚本chrome-bridge-mcp/test/e2e.mjs45.1 KB
- 脚本chrome-bridge-mcp/test/multi-client.mjs4.6 KB
- 脚本chrome-bridge-mcp/test/security.mjs6.6 KB
- 脚本chrome-bridge-mcp/test/smoke.mjs6.0 KB
- 脚本chrome-bridge-mcp/test/two-extensions.mjs4.5 KB
- 参考文档chrome-bridge-mcp/tsconfig.json384 B
- 脚本extension-agent/background.js21.3 KB
- 脚本extension-agent/cdp-allowlist.js2.3 KB
- 资产文件extension-agent/icons/icon-128.png4.5 KB
- 资产文件extension-agent/icons/icon-16.png578 B
- 资产文件extension-agent/icons/icon-32.png1.2 KB
- 资产文件extension-agent/icons/icon-48.png1.8 KB
- 参考文档extension-agent/manifest.json897 B
- 参考文档extension-agent/popup.html1.8 KB
- 脚本extension-agent/popup.js948 B
- 脚本extension-live/background.js21.3 KB
- 脚本extension-live/cdp-allowlist.js2.3 KB
- 其他extension-live/EXTENSION_ID33 B
- 资产文件extension-live/icons/icon-128.png4.5 KB
- 资产文件extension-live/icons/icon-16.png578 B
- 资产文件extension-live/icons/icon-32.png1.2 KB
- 资产文件extension-live/icons/icon-48.png1.8 KB
- 参考文档extension-live/manifest.json1.3 KB
- 参考文档extension-live/popup.html1.8 KB
- 脚本extension-live/popup.js946 B
- 脚本lib/BridgeAuth.ps13.6 KB
- 脚本lib/ensure_bridge_auth.py3.0 KB
- 脚本lib/fork-extension-live.mjs3.1 KB
- 脚本lib/inspect-cdp.mjs1.7 KB
- 脚本lib/launch-agent.py9.7 KB
- 脚本lib/load-bridge-auth.mjs1.0 KB
- 脚本lib/load-unpacked.mjs2.5 KB
- 脚本lib/probe-hub-auth.mjs2.0 KB
- 脚本lib/Snapshot-Foreground.ps11.4 KB
- 参考文档PROFILE-CHOICE.md5.0 KB
- 脚本ProfileChoice.ps13.4 KB
- 脚本proof/proof/results/decoy.ps1498 B
- 脚本proof/prove-chromedge.mjs4.7 KB
- 脚本proof/prove-firefox.py4.3 KB
- 脚本proof/prove-hardening.mjs5.2 KB
- 脚本proof/Run-FocusProof.ps14.2 KB
- 参考文档README.md1.1 KB
- 脚本Start-AgentBrowser.ps110.4 KB
- 脚本Start-FirefoxAgent.ps11.8 KB
- 脚本Start-Hub.ps14.2 KB
- 脚本Start-TorLane.ps11.7 KB
- 参考文档Tor-Lane.md1.6 KB
03 SKILL.md 正文
Browser automation (estate)
Read ~\.agents\browser-bridge\PROFILE-CHOICE.md before driving any browser.
Mandatory profile choice (every run)
Ask the owner which profile to use. Do not assume silently.
- (a)
live— owner's real Chrome/Edge. Explicit G-90 override for this run only. Do not relaunch or kill their windows. Requiresextension-livealready loaded in that profile (port 8790 baked in). Never loadextension-agentinto the human profile. Chrome 136+ ignores--remote-debugging-porton the default user-data-dir, so LIVE is extension-only. - (b)
agent-persistent— default.~\.agents\browser-profiles\{chrome,edge,firefox}-agent. Logins persist. Never wipe. - (c)
agent-ephemeral— throwaway underbrowser-profiles\ephemeral\; wipe after the run.
Non-interactive: pass -Profile. Missing it is a fail.
How to run (agent-persistent)
pwsh -File ~\.agents\browser-bridge\Start-Hub.ps1 -Mode agent
pwsh -File ~\.agents\browser-bridge\Start-AgentBrowser.ps1 -Browser chrome -Profile agent-persistent
pwsh -File ~\.agents\browser-bridge\Start-AgentBrowser.ps1 -Browser edge -Profile agent-persistent
pwsh -File ~\.agents\browser-bridge\Start-FirefoxAgent.ps1 -Profile agent-persistent
Hub: ws://127.0.0.1:8770 (not 8787 — occupied). LIVE hub: 127.0.0.1:8790. Token is required (~\.agents\local.json chromeBridge.agentToken / liveToken; never printed, never committed). Agent extension id is pinned to bdccimcedobipcmhcikcnakjdemiechj.
Drive Chrome/Edge through chrome-bridge MCP / hub (chrome.debugger → CDP Input.*). Drive Firefox with Playwright launch_persistent_context on the firefox-agent dir. Tor is on-demand only (Start-TorLane.ps1, no second tor.exe).
Hard rules
- Dedicated profiles only unless the owner picked
livethis run. Launchers refuse the default Chrome/EdgeUser Datapath. - Hub token is mandatory. Unauthenticated
/clientconnections are rejected. Do not start--hub-onlywithout a token and--extension-id. - CDP is allowlisted. Never call
Network.getAllCookies/Storage.getCookies/document.cookie/localStorage— the bridge refuses those. Prefer snapshot/click/type. - No OS keystroke injection. No focusing the owner's windows to type.
- Do not restart/kill existing owner Chrome/Edge (grok.com logins).
- Bind 127.0.0.1 only. Do not use ports 8765, 8812, 8317, 24680, 8787.
- Agent profiles do not inherit grok.com / site logins. The owner signs into the agent profile once for login-bound work.
04 同仓库更多 Skills
clarify-requirements
Resolve genuine pre-execution ambiguity by scanning repo context, generating 1-6 grounded options, and asking 1-3 focused questions via AskUserQuestion. NOT for mid-task use (injection risk); NOT when the goal is already unambiguous; use to disambiguate vague prompts before any file edits.
openmm-md
Run FREE, open-source, Windows-native GPU molecular dynamics via the openmm-md MCP (OpenMM + CUDA on the local NVIDIA GPU). Use for protein / protein-ligand MD when you want a free stack or are on Windows without a Schrodinger license. Covers the full workflow (prepare, solvate, minimize, equilibrate, production, analyze, mmgbsa) AND an honest decision guide vs Schrodinger Desmond, including how to run Desmond legitimately on Linux or a cloud GPU with a real license. This is a deliberately LESSER free alternative and does NOT replace the schrodinger MCP tools. Do NOT use it to pick a free tool when a validated FEP+, WaterMap, IFD-MD, or Prime MM-GBSA result is actually required.
visual-review
Take screenshots of web pages and UI using Playwright for visual review and iteration
status
Diagnostic status report — shows metaswarm installation state, project setup, and potential issues
start
Use when starting work on any task, when the user mentions metaswarm, or when the user wants to begin tracked development work
setup
Interactive project setup — detects your project, configures metaswarm, writes project-local files