← 返回 Skills 市场
whoisdhana

Google AI Mode Search

作者 Dhana · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ⚠ suspicious
65
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install gaimode
功能描述
Perform Google AI Mode searches using your local Google cookies to get live sports scores, stock prices, news, weather, and AI summaries.
使用说明 (SKILL.md)

gaimode - Google AI Mode Search

Search Google AI Mode from any OpenClaw agent!

⚠️ Uses Chrome CDP or your Google cookies stored locally. Not affiliated with Google.


Setup

Option 1: Chrome CDP (Recommended)

Best for 24/7 reliability!

# Start Chrome with debug port
bash ~/start-chrome-cdp.sh

# Keep that Chrome window open!

Option 2: Cookie Method

  1. Install EditThisCookie Chrome extension
  2. Go to google.com → Export cookies
  3. Save to: ~/.config/gaimode/cookies.json

Usage

Check Status

exec: python3 ~/.openclaw/workspace/skills/gaimode/gaimode-cli.py status

Search

exec: python3 ~/.openclaw/workspace/skills/gaimode/gaimode-cli.py search "PL live score"
exec: python3 ~/.openclaw/workspace/skills/gaimode/gaimode-cli.py search "IPL KKR GT score"

CDP Mode Benefits

  • ✅ More reliable (connects to YOUR Chrome)
  • ✅ No cookie expiration issues
  • ✅ Less likely to be blocked by Google
  • ✅ 24/7 ready

Keep Chrome open with debug port running!


Files

gaimode/
├── SKILL.md             # This file
├── gaimode-cli.py       # CLI tool
└── start-chrome-cdp.sh # Chrome CDP launcher

License

MIT - See GitHub

安全使用建议
This skill will either connect to your running Chrome via the DevTools debug port or read a file of exported Google cookies — both approaches give it access to your Google sessions and browsing context. Before installing or running it: (1) review the included scripts (start-chrome-cdp.sh and gaimode-cli.py) in a safe environment; (2) be aware start-chrome-cdp.sh will kill all running Chrome processes (you will lose open tabs/work), so do not run it while you have unsaved work; (3) avoid exporting full account cookies from your primary profile — if you must test, use a throwaway account or a dedicated Chrome profile and export only what you need; (4) install Python and Playwright in an isolated virtualenv or container, since dependencies are not declared; (5) prefer CDP mode only if you trust the code (CDP grants broad browser control); and (6) if you are uncomfortable with these risks, do not install — consider using official Google services or an API-based alternative that does not require private cookies.
功能分析
Type: OpenClaw Skill Name: gaimode Version: 1.1.0 The skill facilitates searching Google AI mode by requiring users to store plaintext Google cookies in a local file (~/.config/gaimode/cookies.json) or by opening a Chrome remote debugging port (9222) via start-chrome-cdp.sh. While these actions are aligned with the tool's stated purpose in gaimode-cli.py, they introduce significant security risks, such as session hijacking and unauthorized browser control by other local processes. The script also aggressively terminates existing Chrome instances, which is disruptive, though documented.
能力评估
Purpose & Capability
The name/description match the implementation: the CLI either connects to a local Chrome DevTools Protocol endpoint or loads an exported cookies.json to make Google search requests. No unrelated credentials or network endpoints are requested.
Instruction Scope
The provided start-chrome-cdp.sh script force-kills all running 'Google Chrome' processes (pkill -9) before launching Chrome with a debug port — that is intrusive and not clearly warned in SKILL.md. Connecting to Chrome CDP gives the tool programmatic access to your browser (open pages, sessions) which is more powerful than a simple search; the SKILL.md does not fully disclose these implications.
Install Mechanism
This is instruction-only (no installer downloads), so nothing is pulled from remote hosts. However, the skill depends on Python, curl, and the Playwright Python library at runtime but does not declare or install these dependencies in SKILL.md — users may be surprised by missing requirements.
Credentials
The tool reads an exported cookies file (~/.config/gaimode/cookies.json) or connects to your running Chrome session — both grant access to sensitive Google session cookies and possibly browsing context. Requesting those cookies is functionally necessary for personalized results, but it is high-sensitivity data and the skill does not clearly warn about the risk of exposing active session cookies.
Persistence & Privilege
The skill does not request 'always' or other elevated platform privileges. It does include a launcher script that forcibly kills Chrome processes (temporary, not persistent), which can disrupt the user environment but does not modify other skills or system-wide configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gaimode
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gaimode 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Added CDP mode support
v1.0.0
Initial release of gaimode - Google AI Mode Search skill. - Enables Google AI search directly from any OpenClaw agent using your local Google cookies. - Provides live access to sports scores, stock prices, news, weather, and AI-powered web search. - Simple setup with Playwright and a one-command API. - Ensures privacy: cookie files are stored locally and never uploaded. - Includes CLI tool for search queries and status checks.
元数据
Slug gaimode
版本 1.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Google AI Mode Search 是什么?

Perform Google AI Mode searches using your local Google cookies to get live sports scores, stock prices, news, weather, and AI summaries. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 65 次。

如何安装 Google AI Mode Search?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install gaimode」即可一键安装,无需额外配置。

Google AI Mode Search 是免费的吗?

是的,Google AI Mode Search 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Google AI Mode Search 支持哪些平台?

Google AI Mode Search 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Google AI Mode Search?

由 Dhana(@whoisdhana)开发并维护,当前版本 v1.1.0。

💬 留言讨论