/ 目录 / 演练场 / google-ai-mode-skill
● 社区 PleasePrompto ⚡ 即开即用

google-ai-mode-skill

作者 PleasePrompto · PleasePrompto/google-ai-mode-skill

Free Google AI Mode search with citations, driven by Claude — persistent browser profile, query optimization, token-efficient.

google-ai-mode-skill lets Claude query Google's AI Mode (the AI-overview-style answer surface) via a local headless browser with a persistent profile. It returns the answer + citations for further use, optimized prompts on the way in, and minimizes tokens by returning structured JSON. Good alternative when paid search APIs are overkill.

为什么要用

核心特性

实时演示

实际使用效果

google-ai-mode-skill.replay ▶ 就绪
0/0

安装

选择你的客户端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "google-ai-mode-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/PleasePrompto/google-ai-mode-skill",
        "~/.claude/skills/google-ai-mode-skill"
      ],
      "_inferred": true
    }
  }
}

打开 Claude Desktop → Settings → Developer → Edit Config。保存后重启应用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "google-ai-mode-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/PleasePrompto/google-ai-mode-skill",
        "~/.claude/skills/google-ai-mode-skill"
      ],
      "_inferred": true
    }
  }
}

Cursor 使用与 Claude Desktop 相同的 mcpServers 格式。项目级配置优先于全局。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "google-ai-mode-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/PleasePrompto/google-ai-mode-skill",
        "~/.claude/skills/google-ai-mode-skill"
      ],
      "_inferred": true
    }
  }
}

点击 Cline 侧栏中的 MCP Servers 图标,然后选 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "google-ai-mode-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/PleasePrompto/google-ai-mode-skill",
        "~/.claude/skills/google-ai-mode-skill"
      ],
      "_inferred": true
    }
  }
}

格式与 Claude Desktop 相同。重启 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "google-ai-mode-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/PleasePrompto/google-ai-mode-skill",
        "~/.claude/skills/google-ai-mode-skill"
      ]
    }
  ]
}

Continue 使用服务器对象数组,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "google-ai-mode-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/PleasePrompto/google-ai-mode-skill",
          "~/.claude/skills/google-ai-mode-skill"
        ]
      }
    }
  }
}

加入 context_servers。Zed 保存后热重载。

claude mcp add google-ai-mode-skill -- git clone https://github.com/PleasePrompto/google-ai-mode-skill ~/.claude/skills/google-ai-mode-skill

一行命令搞定。用 claude mcp list 验证,claude mcp remove 卸载。

使用场景

实战用法: google-ai-mode-skill

How to do quick web research without paying for a search API

👤 Solo devs, hobbyists, anyone token-constrained ⏱ ~15 min intermediate

何时使用: You want a short, cited answer to a factual question from Google's AI Mode.

前置条件
  • Playwright (or the skill's browser of choice) installed — pip install playwright; playwright install chromium
  • Skill cloned — git clone https://github.com/PleasePrompto/google-ai-mode-skill ~/.claude/skills/google-ai-mode-skill
步骤
  1. Seed the profile once
    Run the first-time setup so the browser profile is logged in and past the consent screens.✓ 已复制
    → Profile dir populated; no further prompts needed
  2. Query
    Search Google AI Mode: 'What changed in React 19.2 regarding compiler defaults?' — return answer + citations.✓ 已复制
    → Short answer + citation URLs
  3. Drill deeper
    Fetch the top two citation pages and reconcile any contradictions.✓ 已复制
    → Reconciled summary

结果: A cited answer comparable to a paid search API, at $0.

注意事项
  • Profile gets logged out — Re-run the seeding flow; don't share the profile across machines
  • Google layout changes and selectors break — Pin the skill version; update when upstream ships a fix
搭配使用: filesystem

Add a fact-check pass to any Claude workflow

👤 Anyone producing content they'll publish ⏱ ~30 min intermediate

何时使用: Before publishing a post, double-check factual claims.

步骤
  1. Extract claims
    From this draft, extract specific factual claims that are worth checking.✓ 已复制
    → Claim list with verifiability notes
  2. Verify each
    Run google-ai-mode on each claim; flag anything unconfirmed.✓ 已复制
    → Per-claim status + sources
  3. Revise
    Edit the draft to correct or caveat unconfirmed claims.✓ 已复制
    → Revised draft

结果: Content with fewer publishable errors.

注意事项
  • Confirmation bias — only checking claims you suspect — Extract all claims, then verify all of them
搭配使用: claude-blog-skill

组合

与其他 MCP 搭配,撬动十倍杠杆

google-ai-mode-skill + filesystem

Cache research results as markdown files for reuse

For every question answered today, save a research_<slug>.md in ./notes/.✓ 已复制
google-ai-mode-skill + claude-blog-skill

Inline fact-checking during blog drafting

After each blog section, run AI-Mode fact checks on the claims.✓ 已复制

工具

此 MCP 暴露的能力

工具输入参数何时调用成本
ai-mode-query question string Any factual question where AI Mode is adequate browser automation only
query-optimization raw question Before sending a long or vague question 0
profile-management first-time setup or reset Install or when logged out 0

成本与限制

运行它的成本

API 配额
none (uses Google web surface — respect their ToS and rate limits)
每次调用 Token 数
~500–2k tokens per answer
费用
free
提示
Cache answers by question hash; don't re-query within a session

安全

权限、密钥、影响范围

凭据存储: Google session cookies in the persistent profile directory — treat the profile dir as sensitive
数据出站: google.com
切勿授予: shared profile across machines

故障排查

常见错误与修复

Selectors no longer match

Update to latest skill version; Google UI changes periodically.

Profile keeps prompting for consent

Re-seed the profile with consent accepted; make sure you keep the profile dir between runs.

验证: ls <profile-dir>

替代方案

google-ai-mode-skill 对比其他方案

替代方案何时用它替代权衡
brave-searchYou want a first-party search APICosts money; no ToS ambiguity
kindly-web-searchYou want a polite, consent-respecting crawlerDifferent shape

更多

资源

📖 阅读 GitHub 上的官方 README

🐙 查看未解决的 issue

🔍 浏览全部 400+ MCP 服务器和 Skills