Google Ai Mode Skill logo

Google Ai Mode Skill

Community
aparente
google-ai-mode-skill

Use this skill when the user requests current information, documentation, coding examples, or web research beyond the knowledge cutoff. Queries Google's AI Search mode to retrieve comprehensive AI-generated overviews with source citations from 100+ websites. Returns markdown with inline footnoted references [1][2][3]. You will receive a detailed Markdown file with references and information summarized directly from Google's AI search. Ideal for you to get new information and clues for further research.

Overview

Publisheraparente
Repositoryclaude-skills
Skill namegoogle-ai-mode-skill
Stars
66
Forks
5
Bundled files
9
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 9 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by aparente on GitHub. Read the source before you install it.

Installation

Install the Google Ai Mode Skill AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/aparente/claude-skills/tree/master/skills/google-ai-mode
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aparente/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/skills/google-ai-mode .claude/skills/google-ai-mode-skill
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Google Ai Mode Skill in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Google Ai Mode Skill on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Google Ai Mode Skill is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Google AI Mode Skill

Query Google's AI Search mode to retrieve comprehensive, source-grounded answers from across the web.

When to Use This Skill

Trigger this skill when the user:

  • Requests current information beyond the knowledge cutoff (post-January 2025)
  • Needs documentation or API references for libraries and frameworks
  • Asks for coding examples or implementation patterns
  • Wants technical comparisons or best practices
  • Requires research with citations and sources
  • Mentions "Google AI search", "Google AI mode", or "web research"

CLI Flags

Essential Flags

--debug - Enable comprehensive logging

bash
python scripts/run.py search.py --query "..." --debug
  • Saves detailed logs to logs/search_YYYY-MM-DD_HH-MM-SS.log
  • Logs every step: browser launch, CAPTCHA detection, AI content waiting, citation extraction
  • Essential for troubleshooting CAPTCHA issues or failed searches
  • Log file path printed at completion

--save - Save results to skill folder

bash
python scripts/run.py search.py --query "..." --save
  • Saves markdown to results/YYYY-MM-DD_HH-MM-SS_Query_Name.md
  • Timestamped filename for organized storage
  • Results preserved in skill directory for future reference
  • Use instead of --output for automatic naming

Combined usage (recommended for debugging):

bash
python scripts/run.py search.py --query "..." --debug --save

Other Flags

--show-browser - Show browser window (for CAPTCHA solving)

bash
python scripts/run.py search.py --query "..." --show-browser

--output <path> - Custom output file path

bash
python scripts/run.py search.py --query "..." --output result.md

--json - Include JSON metadata in output

bash
python scripts/run.py search.py --query "..." --output result.md --json

Query Optimization Strategy

CRITICAL: Always optimize user queries before execution. Google AI Mode's quality depends on query precision.

Optimization Template

[Technology/Topic] [Version] [Year] ([Specific Aspect 1], [Aspect 2], [Aspect 3]). [Output format request].

Optimization Rules

  1. Include Current Year (2026) for up-to-date results
  2. Use parentheses to list specific aspects needed
  3. Request structured output (tables, comparisons, categorized lists)
  4. Include version numbers for library/framework queries

Examples

User QueryOptimized Query
"React hooks""React hooks best practices 2026 (useState, useEffect, custom hooks, common pitfalls). Provide code examples."
"What's new in Rust?""Rust 1.75 new features 2026 (async traits, impl Trait improvements, const generics, stabilized APIs). Include migration guide and code examples."
"PostgreSQL vs MySQL performance?""PostgreSQL vs MySQL performance comparison 2026 (query optimization, indexing strategies, concurrent writes, JSON handling, scaling patterns). Provide benchmark data and use case recommendations."
"How to handle errors in Go?""Go error handling patterns 2026 (error wrapping, custom errors, sentinel errors, panic vs error, testing error cases). Provide code examples and best practices comparison."
"Learn FastAPI basics""FastAPI tutorial 2026 (routing, dependency injection, async endpoints, request validation with Pydantic, OpenAPI documentation, testing). Include step-by-step implementation guide."

Note: If user provides an already detailed query with version numbers and requirements, use it as-is.

Workflow

  1. Receive user request
  2. Optimize query using template above
  3. Inform user: "Searching for: '[optimized query]'"
  4. Execute search with --save --debug flags
  5. Return results with inline citations [1][2][3]

Script Execution

CRITICAL: Always use the run.py wrapper. Direct script execution will fail.

Basic Search

bash
python scripts/run.py search.py --query "Your search query"

Recommended Usage

bash
python scripts/run.py search.py --query "..." --save --debug

The run.py wrapper automatically:

  • Creates .venv on first run
  • Installs dependencies (patchright, beautifulsoup4, html-to-markdown)
  • Activates virtual environment
  • Executes search script
  • Installs Google Chrome (not Chromium) for anti-detection

How It Works

  1. Persistent Browser Context: Uses saved browser profile at ~/.cache/google-ai-mode-skill/chrome_profile to preserve cookies/session between searches
  2. Eliminates CAPTCHAs: Persistent context means Google recognizes the browser → rarely triggers CAPTCHA
  3. AI Content Detection: Waits for Google AI Overview to appear on page
  4. Citation Extraction: Injects JavaScript to extract source links from AI response
  5. Markdown Conversion: Converts HTML to markdown with inline citations [1][2][3]
  6. Fast Results: Typical search completes in 5-7 seconds (no CAPTCHA)

CAPTCHA Handling

With persistent context, CAPTCHAs are rare. If encountered:

  1. Detection: Multi-layer check (URL /sorry/index, page text, content length)
  2. Automatic Handling: If CAPTCHA detected in headless mode → script returns CAPTCHA_REQUIRED error
  3. Manual Solution: Re-run with --show-browser flag, solve CAPTCHA in browser, script continues automatically

Note: After CAPTCHA is solved once, persistent context preserves the session → future searches won't require CAPTCHA.

Output Format

Returns markdown with inline citations and source list. Example:

markdown
React 18 introduces concurrent features including Suspense for data fetching[1],
automatic batching for state updates[2], and transitions for non-urgent updates[3].

---

## Sources:

[1] React 18 Release Notes
https://react.dev/blog/2022/03/29/react-v18

[2] Automatic Batching Explained
https://github.com/reactwg/react-18/discussions/21

[3] Transitions API Documentation
https://react.dev/reference/react/useTransition

Common Use Cases

Finding Library Documentation

bash
python scripts/run.py search.py --query "Prisma ORM 2026 (schema definition, migrations, client API, relation queries, transactions). Include TypeScript examples." --save --debug

Getting Coding Examples

bash
python scripts/run.py search.py --query "WebSocket implementation Node.js 2026 (server setup, client connection, message handling, authentication, reconnection logic). Production-ready code examples." --save

Technical Comparisons

bash
python scripts/run.py search.py --query "GraphQL vs REST API 2026 (performance, caching, tooling, type safety, learning curve). Comparison table with use case recommendations." --save

Best Practices Research

bash
python scripts/run.py search.py --query "Microservices security patterns 2026 (API gateway authentication, service mesh, mutual TLS, secret management, observability). Architecture diagrams and implementation guide." --save --debug

Troubleshooting

IssueSolution
ModuleNotFoundErrorUse run.py wrapper, never execute scripts directly
CAPTCHA every timeFirst-time setup: solve CAPTCHA once with --show-browser, then persistent context preserves session
No AI overview foundRephrase query with more specificity using optimization template
Browser fails to startVerify internet connection and Chrome installation
Need detailed logsUse --debug flag - log saved to logs/ folder
AI Mode not availableYour region/country doesn't support Google AI Mode. Use a proxy/VPN to access from supported regions (US, UK, Germany, etc.)

Exit Codes:

  • 0 - Success
  • 1 - General error
  • 2 - CAPTCHA required (retry with --show-browser)
  • 3 - Browser closed by user
  • 4 - AI Mode not available in region (use proxy/VPN)
  • 130 - User interrupted (Ctrl+C)

Best Practices

  1. Always optimize queries - Specificity determines result quality
  2. Use --save --debug for important searches - Preserves results and provides audit trail
  3. Include version numbers for library/framework queries
  4. Request structured output - Tables and comparisons improve usability
  5. Solve CAPTCHA once - Persistent context eliminates future CAPTCHAs
  6. Verify citations - Check provided sources for accuracy

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Google Ai Mode Skill AI skill do?

Use this skill when the user requests current information, documentation, coding examples, or web research beyond the knowledge cutoff. Queries Google's AI Search mode to retrieve comprehensive AI-generated overviews with source citations from 100+ websites. Returns markdown with inline footnoted references [1][2][3]. You will receive a detailed Markdown file with references and information summarized directly from Google's AI search. Ideal for you to get new information and clues for further research.

Why use Google Ai Mode Skill on TypingMind?

Because you install it once and use it with any model. Google Ai Mode Skill is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Google Ai Mode Skill in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/aparente/claude-skills/tree/master/skills/google-ai-mode. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Google Ai Mode Skill?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Google Ai Mode Skill?

As many as you like. As long as a model supports skills, you can use Google Ai Mode Skill with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Google Ai Mode Skill AI skill free?

It is published on GitHub by aparente. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇