← 返回 Skills 市场
at386369-ai

Enable Chrome Gemini

作者 at386369-ai · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
160
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install enable-chrome-gemini
功能描述
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,...
使用说明 (SKILL.md)

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

python scripts/repair_chrome_gemini.py --user-data-dir "%LOCALAPPDATA%\Google\Chrome\User Data"
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.

安全使用建议
This skill is coherent with its stated purpose, but exercise caution before running it: 1) Ensure you run a dry run first (use --dry-run) and review the planned changes. 2) Make sure Chrome is fully closed (or understand the risk if using --force). 3) Inspect the timestamped backup created next to Local State before restoring or sharing it. 4) Confirm you are running the script against the intended Chrome profile path. 5) The tool requires a Python interpreter on your system (not declared in metadata) — run it only if you trust the included script; review its source (it is short and contains no network/exfiltration calls). 6) Be aware that forcing region/language changes may violate product terms or cause unexpected behavior in Chrome; proceed only if you understand these consequences.
功能分析
Type: OpenClaw Skill Name: enable-chrome-gemini Version: 1.0.0 The skill is designed to enable the Gemini (Glic) feature in Google Chrome by modifying the 'Local State' configuration file to bypass regional restrictions. The script `scripts/repair_chrome_gemini.py` performs targeted updates to eligibility flags and language settings, includes safety checks to ensure Chrome is closed, and creates backups before making changes. No evidence of data exfiltration, malicious execution, or unauthorized persistence was found.
能力评估
Purpose & Capability
Name/description, SKILL.md, and the included Python script all align: they read and patch Chrome's Local State to enable Glic/Gemini eligibility, set country/language fields, and back up the file. There are no unrelated capabilities requested.
Instruction Scope
Runtime instructions limit actions to closing Chrome, running the provided script, optionally checking chrome://flags, and only editing the Local State file. The script enforces safety checks (detects running Chrome unless --force) and creates a timestamped backup before replacing Local State.
Install Mechanism
No install spec (instruction-only) and the Python script is included in the bundle — no external downloads or arbitrary code fetches. Minor mismatch: the registry metadata lists no required binaries, but running the script requires a Python interpreter on PATH; the skill does not declare that dependency explicitly.
Credentials
The skill requests no environment variables, credentials, or config paths beyond the user-supplied Chrome profile path. The script only reads/writes Local State in the specified user data directory.
Persistence & Privilege
The skill does not request permanent/always-on privileges, does not modify other skills or global agent settings, and only writes local profile files (plus a backup) as its described purpose requires.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install enable-chrome-gemini
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /enable-chrome-gemini 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial public release for Chrome Gemini setup and repair
元数据
Slug enable-chrome-gemini
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Enable Chrome Gemini 是什么?

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,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 160 次。

如何安装 Enable Chrome Gemini?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install enable-chrome-gemini」即可一键安装,无需额外配置。

Enable Chrome Gemini 是免费的吗?

是的,Enable Chrome Gemini 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Enable Chrome Gemini 支持哪些平台?

Enable Chrome Gemini 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Enable Chrome Gemini?

由 at386369-ai(@at386369-ai)开发并维护,当前版本 v1.0.0。

💬 留言讨论