Agent Skills: Google AI Search Skill

Run a Google Search and capture the AI response/Overview.

UncategorizedID: paulirish/dotfiles/google-ai-search

Install this agent skill to your local

pnpm dlx add-skill https://github.com/paulirish/dotfiles/tree/HEAD/agents/skills/google-ai-search

Skill Files

Browse the full folder contents for google-ai-search.

Download Skill

Loading file tree…

agents/skills/google-ai-search/SKILL.md

Skill Metadata

Name
google-ai-search
Description
Run a Google Search and capture the AI response/Overview.

Google AI Search Skill

This skill allows running a Google search query and capturing the AI Overview (SGE) response. It connects to a running Chrome instance via Chrome DevTools Protocol (CDP) to leverage the user's active session and authentication.

Prerequisites

You must have Chrome running with remote debugging enabled on port 51673 (or specify a custom port).

To launch Chrome with remote debugging on Mac:

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=51673

Usage

node agents/skills/google-ai-search/scripts/google-ai-search.ts [--port <port>] <query>

Example:

node agents/skills/google-ai-search/scripts/google-ai-search.ts "how to use webusb in chrome extension"

The script will attempt to capture the AI response (either from network traffic or SGE DOM container) and save it as an HTML file in your ~/Downloads directory (e.g., ~/Downloads/aimode_how-to-use-webusb-in-chrome-.html).