闲社服务运行正常AI智能体自动化平台
o

OSM AI桥接器

技能标识:osm-ai-bridge

OSM AI Bridge - OpenClaw多AI协作桥接器。通过CDP连接浏览器,支持自动启动、反检测脚本注入、Cookie/LocalStorage访问。实现Ask/Discuss/Verify三种协作模式。

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.4
检测标记
后台标记通过
免费
免费获取
1
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

OSM AI桥接器

OSM AI Bridge

功能

  • - CDP连接 - 通过Chrome DevTools协议连接浏览器
  • 自动启动 - 浏览器未运行时自动启动带调试端口的实例
  • 反检测 - 注入脚本隐藏webdriver特征
  • Storage访问 - 访问Cookie和LocalStorage
  • 生产级日志 - 完整日志记录到 ~/.openclaw/aibridge/aibridge.log

使用方法

bash
python scripts/osmaibridge.py 你的问题

系统要求

  • - Windows (自动启动功能仅支持 Windows + Edge)
  • Linux/Mac 需要手动启动浏览器: edge --remote-debugging-port=9222

技术实现

自动启动浏览器

python

检查CDP端口,如不可用则自动启动Edge


if not await self.checkcdp_available():
await self.startbrowserwithdebugging()

反检测脚本

javascript
// 隐藏webdriver
Object.defineProperty(navigator, webdriver, { get: () => undefined });

// 模拟插件
Object.defineProperty(navigator, plugins, { get: () => [...] });

Cookie/LocalStorage访问

python
cookies = await self.context.cookies()
local_storage = await self.page.evaluate(() => { ... })

日志

日志文件位置:~/.openclaw/aibridge/aibridge.log

限制

  • - Windows 仅 - 自动启动功能仅支持 Windows + Edge
  • 其他系统需手动启动浏览器并开启调试端口
  • 需要 Playwright: pip install playwright aiohttp
  • 首次使用需在浏览器中手动登录
  • 需要依赖: pip install playwright aiohttp

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 osm-ai-bridge-1775887562 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 osm-ai-bridge-1775887562 技能

通过命令行安装

skillhub install osm-ai-bridge-1775887562

下载

⬇ 下载 osm-ai-bridge v1.0.4(免费)

文件大小: 8.37 KB | 发布时间: 2026-4-12 10:53

v1.0.4 最新 2026-4-12 10:53
- Updated usage instructions: script name changed to `osm_ai_bridge.py`.
- Clarified system requirements and limitations: automatic startup supported only on Windows + Edge, other systems require manual browser launch with remote debugging.
- Added dependency requirement for `aiohttp` alongside `playwright`.
- Improved documentation to clearly communicate supported platforms and setup steps.
返回顶部