PleasePrompto/google-ai-mode-skill

Claude Code skill for free Google AI Mode search with citations. Zero-config setup, persistent browser profile, query optimization. Token-efficient web research.

License:UnknownLanguage:Python587
ai-searchbrowser-automationcitationsclaude-codeclaude-skillgoogle-ai-modepatchrightPythonweb-research

Deep Analysis

Integrates Google AI Mode search through browser automation, providing AI-synthesized research answers with cited sources

Recommended

Core Features

Integrates Google AI Mode search directly into local Claude Code

No API keys or external services needed, uses public Google search

After first CAPTCHA verification, subsequent searches run uninterrupted

Results include inline citations showing information sources

Google AI Mode synthesizes info from multiple sources, saving tokens

Technical Implementation

Architecture:Python-based browser automation skill using Patchright library to launch browser instances accessing Google AI Mode
Execution Flow:

Key Components:
Python
Patchright
Google AI Mode
Persistent Browser Config
Highlights
  • Free Google AI Mode web research
  • Auto-creates isolated Python virtual environment
  • Results include detailed source citations for verification
  • More token-efficient than Claude reading multiple web pages directly
  • MCP server version available for other AI editors
Use Cases
  • Programming guidance and code example queries
  • Technical solution comparison research
  • Regulatory policy research
  • Product reviews and comparisons
Limitations
  • Only supports local Claude Code installation
  • First use requires manual CAPTCHA completion
  • Depends on Google AI Mode availability
  • Requires local browser environment support
Tech Stack
PythonPatchrightGitθ™šζ‹ŸηŽ―ε’ƒιš”η¦»

Google AI Mode Skill

Supercharge Claude Code's Web Research with Google AI Mode

For: Claude Code CLI users only

Transform your LLM's online research capabilities by connecting Claude Code directly to Google's AI Modeβ€”getting AI-synthesized answers from 100+ sources instead of scattered search results.

Python
Claude Code Skill
Based on

Why This Matters

Most built-in web research is mediocre. This skill gives Claude Code professional-grade research by tapping into Google's AI Modeβ€”the same technology that synthesizes information from dozens of websites into one cited answer.

Example Use Cases:

"Next.js 15 App Router best practices 2026 with server components examples"
β†’ AI-synthesized coding guide with inline citations [1][2][3]

"Compare PostgreSQL vs MySQL JSON performance 2026, include benchmarks"
β†’ Technical comparison table with real-world data

"Find the latest EU AI regulations 2026 and their impact on startups"
β†’ Legal overview with official government sources

"Best noise-cancelling headphones under €300, compare Sony vs Bose"
β†’ Product comparison with reviews and specs

"Intermittent fasting protocols 2026, include recent scientific studies"
β†’ Health guide with medical research citations

Result: Research on ANY topicβ€”coding, tech comparisons, regulations, product reviews, health, finance, travel. Curated answers with sources. Saves tokens. Superior to generic web search.

Installation β€’ Quick Start β€’ How It Works β€’ MCP Alternative


πŸ“‹ Last Updates (2026-01-08)

v2.0 - Multi-Language & Detection Overhaul

βœ… 4-Stage Completion Detection - SVG thumbs-up β†’ aria-label β†’ text β†’ 40s timeout
βœ… Multi-Language Support - Works in DE/EN/NL/ES/FR/IT browser locales
βœ… 87% Faster - Average 4s detection (was 30s+)
βœ… AI Mode Availability Check - Detects region restrictions with proxy suggestion
βœ… 17 Citation Selectors - Language-agnostic fallback chain
βœ… 15 Cutoff Markers - Cleaner content extraction across languages

πŸ“– Show previous updates

v1.5 - Persistent browser profile, CAPTCHA elimination
v1.0 - Initial release with basic Google AI Mode integration


⚠️ Important: Local Claude Code Only

This skill works ONLY with local Claude Code installations, NOT in the web UI.

The web UI runs skills in a sandbox without network access, which this skill requires for browser automation. You must use Claude Code locally on your machine.


What This Is

A Claude Code skill that connects your agent to Google AI Modeβ€”Google's AI-powered search that synthesizes information from dozens of web sources into a single, cited answer.

Instead of Claude reading page after page, Google does the heavy lifting. Claude gets one clean, structured response with inline citations.

The advantage: Free, token-efficient research with grounded sources. No API keys needed.


How It Works

Claude asks a question
         ↓
Skill launches stealth browser
         ↓
Google AI Mode searches & synthesizes dozens of sources
         ↓
Skill extracts AI answer + citations
         ↓
Converts to clean Markdown with [1][2][3] references
         ↓
Claude receives final answer

The key difference:

Traditional web research:

  • Claude searches Google β†’ gets 10 links
  • Claude reads 5-10 full pages β†’ thousands of tokens consumed
  • Claude synthesizes manually β†’ risks missing details or hallucinating
  • You pay for all those tokens

With this skill:

  • Google AI Mode searches + synthesizes β†’ one request
  • Claude receives one clean, cited answer β†’ minimal tokens
  • Google's sources are preserved β†’ verifiable, grounded
  • It's free (uses public Google Search)

Why This Matters

Google AI Mode (the udm=50 parameter) makes Google search work like a research assistant. It:

  • Reads and analyzes dozens of websites automatically
  • Synthesizes findings into structured answers
  • Cites every claim with source links
  • Handles follow-up context across queries

Claude gets the benefits without doing the workβ€”or burning the tokens.


Installation

The simplest installation ever:

# 1. Create skills directory (if it doesn't exist)
mkdir -p ~/.claude/skills

# 2. Clone this repository
cd ~/.claude/skills
git clone https://github.com/PleasePrompto/google-ai-mode-skill google-ai-mode

# 3. That's it! Open Claude Code and say:
"What are my skills?"

When you first use the skill, it automatically:

  • Creates an isolated Python environment (.venv)
  • Installs all dependencies including Google Chrome
  • Sets up browser automation with persistent profile
  • Everything stays contained in the skill folder

Note: The setup uses real Chrome (not Chromium) for cross-platform reliability, consistent browser fingerprinting, and better anti-detection with Google services.


Quick Start

1. Check your skills

Say in Claude Code:

"What skills do I have?"

Claude will list your available skills including Google AI Mode.

2. Start researching

"Search Google AI Mode for: Next.js 15 App Router best practices"
"What are the new features in Astro 4.0?"
"Research React Server Components"

Claude will automatically use the skill to query Google AI Mode and return a clean, cited answer.

3. Get better results

Be specific with your queries:

Instead of: "React hooks"
Try: "React hooks best practices 2026 (useState, useEffect, custom hooks). Include code examples."

Instead of: "PostgreSQL features"
Try: "PostgreSQL 16 JSON features and performance improvements 2026"


First Run: CAPTCHA Handling

On your first query, Google may show a CAPTCHA to verify you're human. This is normal when the browser profile is created.

If Claude reports a CAPTCHA error:

  1. Tell Claude: "Run that search with visible browser"
  2. The browser will open visibly
  3. Solve the CAPTCHA manually
  4. The skill continues automatically
  5. Next queries will work smoothly without CAPTCHAs

After the first CAPTCHA, searches typically run smoothly. The skill uses a persistent browser profile to eliminate future CAPTCHAs.


How the Skill Works

This is a Claude Code Skillβ€”a local folder containing instructions and scripts that Claude Code can use when needed. Unlike the MCP server version, this runs directly in Claude Code without needing a separate server.

Key Differences from MCP Server

Feature This Skill MCP Server
Protocol Claude Skills Model Context Protocol
Installation Clone to ~/.claude/skills claude mcp add ...
Compatibility Claude Code only (local) Claude Code, Codex, Cursor, Cline, etc.
Language Python TypeScript
Browser Profile Persistent (eliminates CAPTCHAs) Per-request context
Distribution Git clone npm package

Architecture

~/.claude/skills/google-ai-mode/
β”œβ”€β”€ SKILL.md              # Instructions for Claude
β”œβ”€β”€ scripts/              # Python automation scripts
β”‚   β”œβ”€β”€ run.py            # Universal venv wrapper
β”‚   β”œβ”€β”€ search.py         # Main search implementation
β”‚   β”œβ”€β”€ browser_utils.py  # Browser automation
β”‚   └── config.py         # Configuration
β”œβ”€β”€ .venv/                # Isolated Python environment (auto-created)
└── results/              # Saved search results (optional)

When Claude needs web research:

  1. Loads the skill instructions from SKILL.md
  2. Runs the Python search script via run.py wrapper
  3. Opens browser with persistent profile (Chrome)
  4. Extracts AI answer + citations from Google
  5. Returns clean Markdown to Claude
  6. Claude uses that knowledge to help with your task

Core Features

Source-Grounded Responses:
Google AI Mode synthesizes information from dozens of sources with inline citations. Every claim is backed by a source link.

Direct Integration:
No copy-paste between browser and editor. Claude queries and receives answers programmatically.

Persistent Browser Profile:
After solving the first CAPTCHA (if any), the browser profile is saved. Future searches run smoothly without interruption.

Zero Configuration:
Works out of the box. No API keys, no external services, no configuration files needed.

Self-Contained:
Everything runs in the skill folder with an isolated Python environment. No global installations.

Token Efficient:
One query returns one synthesized answer instead of Claude reading 5-10 full pages.


Troubleshooting

Skill not found:

# Make sure it's in the right location
ls ~/.claude/skills/google-ai-mode/
# Should show: SKILL.md, scripts/, requirements.txt, etc.

Repeated CAPTCHAs:

If Google keeps showing CAPTCHAs:

  • Tell Claude: "Use visible browser for this search"
  • Add 10-30 second delays between searches
  • Make sure the persistent profile isn't corrupted

Browser won't launch:

Clear the browser profile:

# Linux/macOS
rm -rf ~/.cache/google-ai-mode-skill/chrome_profile

# Windows
rmdir /s "%LOCALAPPDATA%\google-ai-mode-skill\chrome_profile"

Dependencies issues:

# Manual reinstall if needed
cd ~/.claude/skills/google-ai-mode
rm -rf .venv
python -m venv .venv
source .venv/bin/activate  # or .venv\Scripts\activate on Windows
pip install -r requirements.txt
python -m patchright install chrome

Wrong language results:

The skill fo

Highly Recommended
agents

wshobson/agents

wshobson

Intelligent automation and multi-agent orchestration for Claude Code

The most comprehensive Claude Code plugin ecosystem, covering full-stack development scenarios with a three-tier model strategy balancing performance and cost.

25.6k2.8k3 days ago
Highly Recommended
awesome-claude-skills

ComposioHQ/awesome-claude-skills

ComposioHQ

A curated list of awesome Claude Skills, resources, and tools for customizing Claude AI workflows

The most comprehensive Claude Skills resource list; connect-apps is a killer feature.

19.9k2.0k3 days ago
Recommended
oh-my-opencode

code-yeongyu/oh-my-opencode

code-yeongyu

The Best Agent Harness. Meet Sisyphus: The Batteries-Included Agent that codes like you.

Powerful multi-agent coding tool, but note OAuth limitations.

17.5k1.2k3 days ago
Highly Recommended
ui-ux-pro-max-skill

nextlevelbuilder/ui-ux-pro-max-skill

nextlevelbuilder

An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms

Essential for designers; comprehensive UI/UX knowledge base.

15.3k1.5k3 days ago
Recommended
claude-mem

thedotmack/claude-mem

thedotmack

A Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresses it with AI (using Claude's agent-sdk), and injects relevant context back into future sessions.

A practical solution for Claude's memory issues.

14.0k9143 days ago
Highly Recommended
planning-with-files

OthmanAdi/planning-with-files

OthmanAdi

Claude Code skill implementing Manus-style persistent markdown planning β€” the workflow pattern behind the $2B acquisition.

Context engineering best practices; an open-source implementation of Manus mode.

9.3k8113 days ago