Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计异常

google-ai-mode-skillGoogle AI mode 技能

Agent Skill

google-ai-mode-skill 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

539

周安装

22

GitHub Stars

146

下载量

174
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:google-ai-mode-skill(Google AI mode 技能)
来源仓库:https://github.com/pleaseprompto/google-ai-mode-skill
仓库路径:skills/google-ai-mode-skill
安装命令:
npx skills add https://github.com/pleaseprompto/google-ai-mode-skill --skill google-ai-mode-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/pleaseprompto/google-ai-mode-skill --skill google-ai-mode-skill

简介

google-ai-mode-skill 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于关键词搜索、任务场景匹配或来源线索梳理等研究检索需求。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网或文件操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

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

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

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):

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

Other Flags

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

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

--output <path> - Custom output file path

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

--json - Include JSON metadata in output

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

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

Recommended Usage

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:

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

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

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

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

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

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.78%
按下载量换算61

Claude

30.13%
按下载量换算52

Cursor

17.38%
按下载量换算30

Gemini CLI

8.32%
按下载量换算14

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills