AI Overview (AI Mode) scraping via Google Search. Returns AI-summarized key points for a single keyword, ideal for deep research, technical Q&A, long-tail product selection, and cross-border consumer preference analysis using the latest web information. Single-round only; follow-ups require the agent to summarize context and issue a new request. Triggered by: Google AI, AI Overview, AI Mode, Google AI search, AI search, deep research, consumer preference analysis, web summary, long-tail product research, cross-border market insights.
npx skills add https://github.com/nexscope-ai/nexscope-ecommerce-skills --skill ecommerce.google-ai-mode-search
This skill calls Google Search in AI Mode to get the AI Overview answer for a single keyword. Only one question per call is supported -- there is no multi-turn follow-up within a single request. The response is unstructured Markdown -- summarize it directly, do not route it to a data-analysis sandbox.
The tool drives Google's AI Mode (the panel that appears at the top of Google search results and synthesizes an answer with citations):
keyword is sent to Google as the query and the AI Overview for it is captured.prompts parameter for follow-ups.keyword, then make a fresh API call.stdout, with citations linked to the source pages.resultsNum reports how many AI Overview blocks were rendered; 0 means the keyword did not trigger an AI Overview on Google for the requested locale.
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| keyword | string | Yes | Google search keyword. Sent as the q= parameter to Google AI Mode. For follow-up questions, the agent should summarize the previous answer and concatenate with the new question into this field. |
| Field | Type | Description |
|-------|------|-------------|
| stdout | string | Markdown document with the AI Overview for the keyword, plus inline citation links |
| sourceUrl | string | The Google AI Mode search URL that was actually requested |
| resultsNum | integer | Number of AI Overview blocks rendered (0 = keyword did not trigger AI Overview) |
| Outer code | integer | Only 0 succeeds; nonzero is a platform error |
| Outer msg | string / null | Upstream message, translated to English when needed; null if absent on success |
| costTime | integer | API latency in milliseconds |
| costToken | integer | Tokens consumed (only billed on success) |
| taskId | string | Upstream task identifier for tracing |
| type | string | Render hint, fixed value stdoutWorkbenches |
POST /aiMode/googleSearch (see references/api.md for full parameters, responses, and error codes)python scripts/google_ai_search.py '<JSON params>' [--inline]Output Strategy (default script behavior):
<cwd>/nexscope/<YYYY-MM-DD>/<session>/data/nexscope-ai-mode-google-search-<timestamp>.json (<cwd> is the working directory when the script executes, which in Claude Code is the current project directory; <session> is taken from the SESSION_ID environment variable, automatically grouping by user task; do not write to /tmp, error out if the current directory is not writable)total/costToken, the length of the largest list field plus the first 3 sample items)--inline to force full output to stdout (also saves to disk)Data Reading Tips: First check the summary to determine if it is sufficient. When specific fields are needed, prefer using jq or ConvertFrom-Json to extract on demand from the saved JSON file, avoiding loading the entire JSON into context.
For the research HTTP response, require a numeric outer code equal to 0 before using data. Nonzero codes are platform failures; display outer msg without interpreting its wording as a retry instruction. Nexscope preserves upstream messages and translates Chinese to English; successful responses may have msg: null. HTTP 200 alone and nested business code / status do not replace the platform check. See references/api.md for response paths and task-specific states.
Set the NEXSCOPE_API_KEY environment variable. If authentication fails (401/402) or you see insufficient balance errors, visit https://www.nexscope.ai/help/skills-external-access?co-from=skillNS to get an API Key or top up credits.
Each call takes a single keyword. For follow-up questions, the agent must summarize the previous result and build a new query.
keyword: include market/region cues when relevant ("open-ear bone-conduction headphones US 2026") -- the AI Overview is sensitive to phrasing.keyword for a fresh call. Example: "Based on the AI overview that top bone-conduction headphones are Shokz OpenRun Pro and AfterShokz Aeropex, what are the unsolved technical pain points compared to in-ear earbuds?"1. Single-shot AI Overview
{
"keyword": "GaN charger vs traditional charger comparison"
}
2. Cross-border product research
{
"keyword": "best open-ear bone conduction headphones 2026 US"
}
3. Follow-up question (agent summarizes prior result and re-asks in a new call)
First call:
{
"keyword": "best open-ear bone conduction headphones 2026 US"
}
Second call (agent builds context summary + new question):
{
"keyword": "The AI overview mentioned OpenRun Pro and AfterShokz Aeropex as top picks for bone conduction headphones. What unsolved technical pain points still exist compared to in-ear earbuds?"
}
4. Consumer preference snapshot
{
"keyword": "robot vacuum buying preferences 2026 reddit"
}
5. Long-tail keyword exploration for selection
{
"keyword": "smart pet feeder for cats with camera"
}
stdout is already structured Markdown with headings, bullets, and citation links -- preserve that structure when answering the user.stdout so the user can verify each claim.resultsNum is 0, tell the user Google AI Overview did not trigger for that keyword and suggest rephrasing or trying a different region.code is nonzero, surface outer msg to the user and suggest retrying or refining the input.resultsNum = 0).keyword to match the market you care about.Applicable -- when the user wants AI-summarized live web information:
| User Says | Scenario |
|-----------|----------|
| "Search with Google AI for...", "Google AI Overview for..." | Direct AI Overview lookup |
| "What do overseas consumers think about XX", "US market preference for XX" | Cross-border consumer preference |
| "Latest trends / pain points / use cases for XX" | Deep research |
| "By the way / follow up on..." | Follow-up needed (agent summarizes prior result and re-asks in new call) |
| "Web summary of XX", "What are people saying on search engines about XX" | Web-wide summarization |
| "Long-tail product research / blue ocean product direction" | Long-tail product exploration |
Not applicable -- better routed elsewhere:
Boundary judgment: when the user wants "AI to summarize what's being said online" or "search on Google", this skill applies. If the user wants to ask follow-up questions, the agent should summarize the previous answer and make a new call. If they explicitly want raw search results, structured data, or already have a specialized data source, do not use this skill.
Take nexscope-ai/ecommerce.google-ai-mode-search from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.