browser-bridge
它能做什么
这个工具可以让 AI 助手控制并自动化你正在使用的真实浏览器(Chrome 或 Edge)。你可以让 AI 访问网站、填写表单、点击按钮,并从网页中提取信息。
适用场景
- ✓当你希望 AI 帮你填写网上表单时。
- ✓需要自动从多个网页中提取数据时。
- ✓想让 AI 截取页面截图或点击特定链接时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/browser-bridge/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“前往网站 X,找到登录按钮并点击,然后填入我的用户名和密码。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具通过一个浏览器扩展和一个本地程序,将 AI 连接到你的浏览器。它让 AI 能够像你本人一样“看到”页面,并与页面进行交互。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Browser Bridge Automation
Overview
The Browser Bridge skill allows AI coding assistants (including Google Antigravity, Gemini CLI, Cursor, and Claude) to interact with and automate the user's real Microsoft Edge or Google Chrome browser.
Browser Bridge connects to the user's daily browser sessions via a lightweight extension and a local Python loopback daemon (127.0.0.1), preserving logins, cookies, and user preferences.
When to Use This Skill
- Use when you need to inspect active browser tabs or open web pages.
- Use when extracting rendered DOM content or taking webpage screenshots.
- Use when navigating, clicking buttons, filling out web forms, or executing interactive workflows in a real browser session.
- Use when executing raw Chrome DevTools Protocol (CDP) commands (
Page,Runtime,DOM,Input,Network,Storage).
Key Capabilities
- Bilingual Adaptive UI: Automatic browser language detection (English & Chinese) with an instant one-click toggle button (
[English / 中文]) in the popup. - Concurrent Multi-Browser Routing: Simultaneous connection support for both Microsoft Edge and Google Chrome with smart automatic routing to target tabs.
- Native Tab Grouping: Automatically isolates AI-controlled tabs into a distinct purple
[Gemini]tab group for complete visual clarity. - Interactive Snapshot & Control: Provides numbered element snapshots (
#1,#2) to click or fill inputs without manual coordinate guessing. - Self-Healing Background Daemon: Automatically launches the local bridge service in the background if it is not currently active.
- Privacy-First Architecture: Binds strictly to
127.0.0.1; no telemetry, no cloud relays, browser access that can expose authenticated data; loopback binding is not an access-control or privacy guarantee.
Prerequisites and installed paths
AAS distributes this guide only: server/cli.py, the daemon and extension are not bundled. The commands below run from a separately reviewed upstream checkout at v1.4.0 commit 0eb6a6fcc1cb36bcfa0fa0d5d41f9ae6bf229c69, with Python 3.10+ and its reviewed dependencies. Source inspection is not installation or a live client test.
Review that immutable source and dependencies before an authorized installation. Loading the unpacked extension, starting/reviving the daemon, enabling developer mode or registering silent startup changes the host and needs corresponding authorization. Do not silently install or persist a service to satisfy a page-inspection request. The upstream CLI may start the daemon when absent, including during inspection commands; confirm that startup is allowed first. Prefer the host's existing browser tools when available.
Examples use python3; on Windows use the selected Python launcher (for example py). Choose the exact browser and tab from tabs; 123 below is illustrative, not a discovered tab ID. Take a fresh snapshot of that tab before selecting element indices. Do not act on another tab after navigation or stale indices.
Quick Usage Reference
1. Connection Status & Tab Query
python3 server/cli.py status
python3 server/cli.py tabs
2. Navigation & Page Interaction
# Open URL
python3 server/cli.py open "https://github.com"
# Snapshot interactive elements
tab_id=123 # Replace with the authorized tab ID from tabs
python3 server/cli.py snap --tab "$tab_id"
# Click element (#index, text, or selector)
python3 server/cli.py click "#1" --tab "$tab_id"
python3 server/cli.py click "Sign in" --tab "$tab_id"
# Input text into form field
python3 server/cli.py type "#search" "machine learning" --tab "$tab_id"
3. Page Extraction, Evaluation & Raw CDP
# Extract structured content
python3 server/cli.py text --tab "$tab_id"
# Take page screenshot
python3 server/cli.py screenshot "./new-private-page.png" --tab "$tab_id"
# Execute JavaScript expression
python3 server/cli.py eval "document.title" --tab "$tab_id"
# Execute raw Chrome DevTools Protocol (CDP) method
python3 server/cli.py cdp Page.captureScreenshot '{"format": "png"}' --tab "$tab_id"
Source & Repository
…
常见问题
我需要安装什么吗?
需要。你需要在电脑上安装一个浏览器扩展和一个小程序,工具的说明中有具体的安装方法。
在我已登录的账户上使用它安全吗?
工具是在本地连接你的浏览器,但你仍需保持谨慎。它可以访问 cookies 和表单数据等信息,所以请只与可信的 AI 一起使用,并且仅用于经过授权的任务。
AI 能在我的浏览器里做任何事吗?
AI 只会执行你指示的操作,比如点击、输入和提取信息。请尽量给出清晰、具体的指令,以避免不必要的操作。
详情
作者的原始描述
Inspect, control, and automate tasks in your real Microsoft Edge or Google Chrome browser via Chrome DevTools Protocol (CDP) with bilingual UI, native tab grouping, and self-healing daemon.
热度
- GitHub 星标
- 48k
- 排名
- #4067
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。