is-hp-is-mad

Agent4Chrome — Development skill for Claude Code

Development community

Claude in Chrome for Gateway: 浏览器扩展网关版,摆脱官方账号绑定,支持第三方 API 网关与 Opus 5.5 推理努力程度.

How to install Agent4Chrome

This entry records only its repository, not the path inside it, so there is no exact command to give. Open is-hp-is-mad/Agent4Chrome and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agent4Chrome does

Claude in Chrome for Gateway: 浏览器扩展网关版,摆脱官方账号绑定,支持第三方 API 网关与 Opus 5.5 推理努力程度.

Alternatives in Development

  • Lasso MCP Gateway — Plugin-based gateway that intercepts and sanitizes sensitive information across MCP orchestration 360 ★
  • Claude Code API — OpenAI-compatible API gateway for Claude Code CLI 300 ★
  • Claude Code API Rs — A high-performance Rust implementation of an OpenAI-compatible API gateway for Claude Code CLI 135 ★

README

Claude in Chrome for Gateway

**Claude in Chrome 浏览器插件网关解绑与功能增强开源版** 支持自定义 API 网关 · 自定义模型 · 深度融合设置 · 历史会话 · Opus 5.5 推理努力程度 · 全局免授权 · 简体中文 · 遥测脱敏

[![Manifest V3](https://img.shields.io/badge/Chrome%20Extension-Manifest%20V3-blue.svg)](https://developer.chrome.com/docs/extensions/mv3/) [![Community](https://img.shields.io/badge/Community-LINUX%20DO-orange.svg)](https://linux.do)


💡 项目背景与特色

官方 **Claude in Chrome** 扩展深度绑定了 Anthropic 官方账号与 OAuth 登录,并在扩展内集成了多种远程分析和遥测。

本项目为开箱即用的纯净开源版本,专为配合中转网关、自建反向代理以及本地模型服务而设计,彻底解绑官方账号限制,并针对实际工作流进行了大量原生级增强:

  1. 解绑官方 OAuth 登录:去除官方强制登录与付费墙门禁,直连兼容 Anthropic Messages API(/v1/messages)的任意 API 网关。初次安装零死锁,无需登录即可直接进入网关配置页。
  2. 设置页与历史记录深度融合:网关配置与历史会话无缝内嵌到 Claude in Chrome 原生 Options 设置页,在宽屏标签页中舒适操作,告别拥挤狭窄的侧边小窗口。
  3. 原生历史会话(Chat History)与一键恢复:
    • 自动记录侧边栏多轮对话及上下文。
    • 支持关键词搜索、对话详情展开、一键复制为完整 Markdown 文档、全量 JSON 导出与清理。
    • 支持一键恢复会话:点击「恢复到侧边栏」,过去任意会话即刻无缝加载回侧边栏,支持继续输入接续对话!
    • 原生菜单无缝集成,无任何违和的外部注入图标。
  4. 推理努力程度(Reasoning Effort)全量支持:
    • 紧跟最新模型标准(如 Claude 3.7 / Opus 5.5 自适应思考)。
    • 提供 low(轻量快速)、medium(均衡推荐)、high(深度推理)、xhigh(超强深度)、max(极限思考)预设。
    • 支持自由手动输入自定义数值与推理参数。
  5. 全局网站权限(直接允许所有网站):
    • 在原生权限管理中加入全局免授权开关。
    • 开启后 Claude 在所有网页自动执行浏览、点击、表单输入等操作,免去频繁弹窗授权。
  6. 全量简体中文本地化(zh-CN):
    • 内置超过 900+ 条关键字段的完整简体中文翻译包(zh-CN.json)。
    • 中文系统环境下自动默认激活,界面自然流畅。
  7. 彻底移除官方遥测:
    • 屏蔽 Sentry、Datadog RUM/Profiler、event_logging、GrowthBook、statsig 等一切遥测打点。
    • 纯净运行,零网络隐私泄露。
  8. React 稳定性增强:
    • 彻底修复 useMergedRefs 与 SlotClone 引发的 ref 抖动循环(React #185)。
    • 注入健壮错误边界与诊断日志。

📦 安装方法

本仓库为完全独立、纯净的已编译扩展包,无需安装额外构建依赖:

步骤 1:下载扩展文件

直接克隆或下载本仓库到本地任意目录:

git clone https://github.com/is-hp-is-mad/Agent4Chrome.git

或直接点击 GitHub 的 **Code -> Download ZIP** 下载并解压。

步骤 2:加载到 Chrome 浏览器

  1. 打开 Google Chrome 或基于 Chromium 的浏览器(Edge、Brave 等)。
  2. 在地址栏输入并打开:
    chrome://extensions/
  3. 打开页面右上角的 “开发者模式”(Developer mode)开关。
  4. 点击左上角出现的 “加载已解压的扩展程序”(Load unpacked)按钮。
  5. 选择解压后