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, 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.

3,891 stars

Best use case

enable-chrome-gemini is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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.

Teams using enable-chrome-gemini should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/enable-chrome-gemini/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/at386369-ai/enable-chrome-gemini/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/enable-chrome-gemini/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How enable-chrome-gemini Compares

Feature / Agentenable-chrome-geminiStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# 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.

Related Skills

PDF OCR using Gemini LLM

3891
from openclaw/skills

Extract text from PDFs using Google Gemini OCR. Use when extracting text from PDFs, performing OCR on scanned documents, or processing image-based PDFs.

connect-chrome

3891
from openclaw/skills

Launch real Chrome controlled by the agent with a Side Panel extension. Watch every action in real time in a visible browser window. Use when: "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", "control my browser", "watch it work".

gemini-deep-research

3891
from openclaw/skills

Perform complex, long-running research tasks using Gemini Deep Research Agent. Use when asked to research topics requiring multi-source synthesis, competitive analysis, market research, or comprehensive technical investigations that benefit from systematic web search and analysis.

gemini-stt

3891
from openclaw/skills

Transcribe audio files using Google's Gemini API or Vertex AI

chromecast-with-google-tv

3891
from openclaw/skills

Cast YouTube videos, Tubi TV show episodes, and TV show episodes from other video streaming apps via ADB to Chromecast with Android TV (Chromecast 4K supported, Google TV Streamer support is unknown)

wsl-chrome-cdp - WSL2 访问 Windows Chrome 浏览器

3891
from openclaw/skills

**版本:** 1.0.0

chrome-devtools-mcp-manager

3891
from openclaw/skills

Manage chrome-devtools-mcp service and OpenClaw's built-in Chrome browser for MCP-based browser automation. Use when user needs to use chrome-devtools-mcp functionality, ensure the browser is ready for MCP operations, or manage the browser/MCP lifecycle.

gemini-computer-use

3891
from openclaw/skills

Build and run Gemini 2.5 Computer Use browser-control agents with Playwright. Use when a user wants to automate web browser tasks via the Gemini Computer Use model, needs an agent loop (screenshot → function_call → action → function_response), or asks to integrate safety confirmation for risky UI actions.

gemini-voice-assistant

3891
from openclaw/skills

Voice-to-voice AI assistant using Gemini Live API. Speak to the AI and get spoken responses. Use when you want to have natural voice conversations with an AI assistant powered by Google's Gemini models.

gemini-assistant

3891
from openclaw/skills

General-purpose AI assistant using Gemini API with voice and text support. Use when you need a smart AI assistant that can answer questions, have conversations, or help with general tasks using Google's Gemini models with audio/text capabilities.

chrome-devtools-mcp

3891
from openclaw/skills

Chrome DevTools MCP — Google's official browser automation and testing server. Control Chrome via Puppeteer through MCP protocol: click, fill forms, navigate, screenshot, performance traces, network inspection, console debugging. Use for browser testing, web automation, performance analysis, UI testing, form filling, and visual regression.

gemini-video-analyzer

3891
from openclaw/skills

Native video analysis using Google Gemini API. Upload and analyze video files — describe scenes, extract text/UI, answer questions about content, transcribe speech, identify objects and actions. Use when: (1) User sends a video file and wants it analyzed, (2) Video summarization or description needed, (3) Extracting text, UI elements, or information from screen recordings, (4) Answering questions about video content, (5) Comparing multiple videos, (6) Analyzing tutorials, demos, or walkthroughs.