{
  "added_at": "2026-10-18",
  "additional_evidence_urls": [
    "https://github.com/browserbase/claude-code-plugin/blob/b399af34a1b1cc365d1e1c0089823c4fa5e10ea5/README.md",
    "https://github.com/browserbase/claude-code-plugin/blob/b399af34a1b1cc365d1e1c0089823c4fa5e10ea5/browserbase-client.js",
    "https://github.com/browserbase/claude-code-plugin/blob/b399af34a1b1cc365d1e1c0089823c4fa5e10ea5/index.js",
    "https://github.com/browserbase/claude-code-plugin/blob/b399af34a1b1cc365d1e1c0089823c4fa5e10ea5/hooks/hooks.json",
    "https://github.com/browserbase/claude-code-plugin/blob/b399af34a1b1cc365d1e1c0089823c4fa5e10ea5/scripts/session-start.sh",
    "https://github.com/browserbase/claude-code-plugin/blob/b399af34a1b1cc365d1e1c0089823c4fa5e10ea5/package.json",
    "https://github.com/browserbase/claude-code-plugin/blob/b399af34a1b1cc365d1e1c0089823c4fa5e10ea5/.claude-plugin/marketplace.json",
    "https://x.com/pk_iv/status/2005694082627297735",
    "https://x.com/pk_iv/status/2005694088038015106",
    "https://x.com/pk_iv/status/2005694096791523692"
  ],
  "category": "reconstruction-cases",
  "description_en": "Stands in for the Claude in Chrome extension side of Claude Code’s local browser bridge and runs the requested actions in Browserbase cloud browsers. The author’s thread describes the reverse-engineered framing, a 4-byte little-endian length before each JSON tool call, and the plugin maps 17 named tools onto Stagehand/CDP operations. It is an archived interoperability shim with several placeholder tools, not recovered Anthropic code or a verified equivalent of the extension.",
  "description_zh": "在 Claude Code 本地浏览器桥接中替代 Claude in Chrome 扩展一端，把请求的操作交给 Browserbase 云端浏览器执行。作者的帖子串描述了逆向得到的消息格式，即每条 JSON 工具调用前加 4 字节小端长度；插件则将 17 个具名工具映射为 Stagehand／CDP 操作。这是已归档的互操作适配层，部分工具仅为占位实现，并非恢复出的 Anthropic 代码，也未经验证与扩展等价。",
  "entry_url": "https://awesomerea.org/resources/browserbase-claude-chrome-bridge-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/browserbase-claude-chrome-bridge-case/",
  "evidence_url": "https://github.com/browserbase/claude-code-plugin/blob/b399af34a1b1cc365d1e1c0089823c4fa5e10ea5/forwarding-server.js",
  "group": "cases",
  "id": "browserbase-claude-chrome-bridge-case",
  "json_url": "https://awesomerea.org/resources/browserbase-claude-chrome-bridge-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/browserbase-claude-chrome-bridge-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/browserbase-claude-chrome-bridge-case/index.md",
  "name": "Browserbase plugin: re-hosting Claude in Chrome’s browser bridge",
  "name_zh": "Browserbase 插件：将 Claude in Chrome 浏览器桥接转接到云端",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "scope",
    "prerequisites",
    "limits",
    "testing",
    "license"
  ],
  "requirements": [
    "The reviewed main branch is archived, and its commits are dated 2025-12-27. A SessionStart hook launches a Node forwarding server that moves any existing claude-mcp-browser-bridge-<user> socket in the temporary directory aside and listens in its place. Messages carry a 4-byte little-endian length plus JSON; only the execute_tool method is accepted, with 17 named tool handlers and errors for anything else.",
    "Requires Claude Code with plugin support, the Claude in Chrome extension, Node.js 18+, the Browserbase SDK and Stagehand npm packages, and a Browserbase API key and project ID. As written, the start hook looks for the extension only under the macOS Chrome profile directory and stops when it is missing, so other hosts fail that check.",
    "Navigation, input, screenshots, page reading, form filling and JavaScript run through Stagehand on cloud sessions; console and network reads rely on the plugin’s own listeners and page-injected tracking. update_plan only echoes the submitted plan, shortcuts return an empty list or a placeholder, and image upload and GIF export are placeholders. The author’s thread counts 19 extension tools; the reviewed dispatcher names 17.",
    "The protocol account comes from the author’s X thread, not Anthropic documentation, and no captures or comparisons against the real extension are published. package.json declares Node test scripts, but the reviewed tree has no tests directory. The undocumented local interface may change with Claude Code or extension updates.",
    "README states MIT, but the reviewed tree has no LICENSE file and GitHub detects no license. Claude Code, the Claude in Chrome extension and Browserbase services keep their own terms, and browsed pages are processed on Browserbase infrastructure."
  ],
  "requirements_zh": [
    "所审阅的 main 分支已归档，提交日期均为 2025-12-27。SessionStart 钩子会启动 Node 转发服务器：它把临时目录中已有的 claude-mcp-browser-bridge-<用户名> 套接字移到一旁，再在原位置监听。消息由 4 字节小端长度加 JSON 组成；仅接受 execute_tool 方法，含 17 个具名工具处理器，其余请求返回错误。",
    "需要支持插件的 Claude Code、Claude in Chrome 扩展、Node.js 18+、Browserbase SDK 与 Stagehand npm 包，以及 Browserbase API 密钥和项目 ID。按现有写法，启动钩子只在 macOS 的 Chrome 配置目录中查找扩展，找不到即停止，因此其他系统无法通过这项检查。",
    "导航、输入、截图、页面读取、表单填写和 JavaScript 均通过 Stagehand 在云端会话中执行；控制台和网络读取依赖插件自身的监听器及注入页面的跟踪脚本。update_plan 只回显提交的计划，快捷方式工具返回空列表或占位结果，图片上传和 GIF 导出也是占位实现。作者帖子串称扩展有 19 个工具，所审阅的分发代码列出 17 个。",
    "协议说明来自作者的 X 帖子串，而非 Anthropic 文档；未公开与真实扩展的抓包或对照结果。package.json 声明了 Node 测试脚本，但所审阅的代码树中没有 tests 目录。这一未公开的本地接口可能随 Claude Code 或扩展更新而改变。",
    "README 声明 MIT，但所审阅代码树中没有 LICENSE 文件，GitHub 也未识别出许可证。Claude Code、Claude in Chrome 扩展及 Browserbase 服务各自保留条款，浏览的页面会在 Browserbase 基础设施上处理。"
  ],
  "targets": [
    "app",
    "protocol"
  ],
  "url": "https://github.com/browserbase/claude-code-plugin",
  "verification": "source-reviewed",
  "verified_at": "2026-10-18"
}
