← Back to Skills Marketplace
whoisdhana

Google AI Mode Search

by Dhana · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ⚠ suspicious
65
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install gaimode
Description
Perform Google AI Mode searches using your local Google cookies to get live sports scores, stock prices, news, weather, and AI summaries.
README (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

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gaimode
  3. After installation, invoke the skill by name or use /gaimode
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug gaimode
Version 1.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 65 downloads so far.

How do I install Google AI Mode Search?

Run "/install gaimode" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Google AI Mode Search free?

Yes, Google AI Mode Search is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Google AI Mode Search support?

Google AI Mode Search is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Google AI Mode Search?

It is built and maintained by Dhana (@whoisdhana); the current version is v1.1.0.

💬 Comments