Install
openclaw skills install osm-ai-bridgeOSM AI Bridge - OpenClaw多AI协作桥接器。通过CDP连接浏览器,支持自动启动、反检测脚本注入、Cookie/LocalStorage访问。实现Ask/Discuss/Verify三种协作模式。
openclaw skills install osm-ai-bridgepython scripts/osm_ai_bridge.py "你的问题"
edge --remote-debugging-port=9222# 检查CDP端口,如不可用则自动启动Edge
if not await self._check_cdp_available():
await self._start_browser_with_debugging()
// 隐藏webdriver
Object.defineProperty(navigator, 'webdriver', { get: () => undefined });
// 模拟插件
Object.defineProperty(navigator, 'plugins', { get: () => [...] });
cookies = await self.context.cookies()
local_storage = await self.page.evaluate('() => { ... }')
日志文件位置:~/.openclaw/ai_bridge/ai_bridge.log
pip install playwright aiohttppip install playwright aiohttp