启用Gemini

enable-chrome-gemini

by at386369-ai

Set up or repair Gemini in Chrome (Glic) on Windows, macOS, or Linux when enabling it for the first time outside the US or when the sidebar, floating panel, Alt+G shortcut, or top-bar entry disappears. Back up and patch Chrome Local State, restore region/eligibility fields, and check the required Glic flags and Chrome language.

4.2kAI 与智能体未扫描2026年3月23日

安装

claude skill add --url github.com/openclaw/skills/tree/main/skills/at386369-ai/enable-chrome-gemini

文档

Enable Chrome Gemini

Overview

Use this skill to set up Gemini in Chrome on Windows, macOS, or Linux for the first time in non-US regions, or to bring it back when it was previously working and the sidebar or floating panel no longer opens.

Workflow

1. Close Chrome

  • Close every Chrome window.
  • If Chrome is still running, stop here before editing profile data.

2. Patch Local State

  • Run scripts/repair_chrome_gemini.py.
  • The script backs up Local State and patches the Gemini eligibility fields.
  • It sets the variation country to us, marks Glic eligibility true, keeps the glic@1 and glic-side-panel@1 experiments, and normalizes the Chrome UI language to en-US.

3. Relaunch and verify

  • Open Chrome again.
  • Test Alt + G.
  • If Gemini appears, the setup is complete.

4. Finish the native setup if needed

  • If Gemini still does not appear, open chrome://flags and verify Glic and Glic side panel.
  • Only use the manual flags step if the underlying profile state did not take effect.
  • On macOS, the Chrome profile lives under ~/Library/Application Support/Google/Chrome.

5. Confirm the result

  • Use Alt + G one more time.
  • Check that the Gemini sidebar or floating panel opens on the active Chrome profile.

What The Script Changes

  • Set Chrome variation country fields to us.
  • Set glic.is_glic_eligible = true.
  • Keep existing Glic experiments and ensure glic@1 and glic-side-panel@1 are present.
  • Set intl.app_locale, intl.selected_languages, and intl.accept_languages to English values.
  • Write a timestamped backup next to Local State.

When To Use It

  • First-time Gemini in Chrome setup outside the US.
  • A fresh Chrome profile needs Gemini enabled.
  • Gemini in Chrome worked before and stopped opening.
  • The sidebar, floating panel, or Alt + G shortcut no longer appears.
  • Chrome has the right version, but the entry is hidden or eligibility seems missing.
  • A browser state from a prior tutorial or profile needs to be normalized into the native Gemini setup.

What This Skill Covers

  • Native Chrome Gemini / Glic setup.
  • Windows, macOS, and Linux profile locations.
  • Local State patching for region and eligibility.
  • Flag and language checks that unblock the native UI.

What This Skill Does Not Cover

  • Third-party Gemini extensions.
  • Non-Chrome browsers.
  • Enterprise policy administration beyond detecting that policy may block the setup.

Guardrails

  • Only edit Local State.
  • Do not touch unrelated Chrome profile files.
  • If Chrome is still running, stop and ask the user to close it unless --force is requested.
  • If the profile is managed by policy, stop and report that the fix may be blocked.

Script Usage

powershell
python scripts/repair_chrome_gemini.py --user-data-dir "%LOCALAPPDATA%\Google\Chrome\User Data"
bash
python scripts/repair_chrome_gemini.py

Use --dry-run to preview changes, --force if Chrome is already open and you want to override the safety check, and --language "" to skip language normalization.

On macOS or Linux, the script defaults to the standard Chrome profile location, so the --user-data-dir flag is optional unless you use a custom profile path.

相关 Skills

Claude接口

by anthropics

Universal
热门

面向接入 Claude API、Anthropic SDK 或 Agent SDK 的开发场景,自动识别项目语言并给出对应示例与默认配置,快速搭建 LLM 应用。

想把Claude能力接进应用或智能体,用claude-api上手快、兼容Anthropic与Agent SDK,集成路径清晰又省心

AI 与智能体
未扫描119.1k

RAG架构师

by alirezarezvani

Universal
热门

聚焦生产级RAG系统设计与优化,覆盖文档切块、检索链路、索引构建、召回评估等关键环节,适合搭建可扩展、高准确率的知识库问答与检索增强应用。

面向RAG落地,把知识库、向量检索和生成链路系统串联起来,做架构设计时更清晰,也更少踩坑。

AI 与智能体
未扫描11.5k

智能体流程设计

by alirezarezvani

Universal
热门

面向生产级多 Agent 编排,梳理顺序、并行、分层、事件驱动、共识五种工作流设计,覆盖 handoff、状态管理、容错重试、上下文预算与成本优化,适合搭建复杂 AI 协作系统。

帮你把多智能体流程设计、编排和自动化统一起来,复杂工作流也能更稳地落地,适合追求强控制力的团队。

AI 与智能体
未扫描11.5k

相关 MCP 服务

知识图谱记忆

编辑精选

by Anthropic

热门

Memory 是一个基于本地知识图谱的持久化记忆系统,让 AI 记住长期上下文。

帮 AI 和智能体补上“记不住”的短板,用本地知识图谱沉淀长期上下文,连续对话更聪明,数据也更可控。

AI 与智能体
83.9k

顺序思维

编辑精选

by Anthropic

热门

Sequential Thinking 是让 AI 通过动态思维链解决复杂问题的参考服务器。

这个服务器展示了如何让 Claude 像人类一样逐步推理,适合开发者学习 MCP 的思维链实现。但注意它只是个参考示例,别指望直接用在生产环境里。

AI 与智能体
83.9k

PraisonAI

编辑精选

by mervinpraison

热门

PraisonAI 是一个支持自反思和多 LLM 的低代码 AI 智能体框架。

如果你需要快速搭建一个能 24/7 运行的 AI 智能体团队来处理复杂任务(比如自动研究或代码生成),PraisonAI 的低代码设计和多平台集成(如 Telegram)让它上手极快。但作为非官方项目,它的生态成熟度可能不如 LangChain 等主流框架,适合愿意尝鲜的开发者。

AI 与智能体
6.9k

评论