Skip to content
TakoAPI
Back to skills

aeo-prompt-frequency-analyzer

by psyduckler

Web & Frontend Development
488Downloads reported by clawskills.sh
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Analyze what search queries Gemini uses when answering a prompt, by running it multiple times with Google Search.

Description

What This Skill Does

Runs a prompt against Gemini with Google Search grounding N times and collects the search queries Gemini generates across all runs. Reports frequency distribution, raw counts, and top web sources per unique query.

Running the prompt repeatedly surfaces the probabilistic spread of queries rather than assuming a single deterministic search path.

When to Use It

  • Finding which search queries Gemini consistently triggers for a given topic
  • Comparing query patterns across different prompt phrasings
  • Auditing AEO content strategy by seeing what Gemini actually searches
  • Measuring query stability across repeated Gemini runs
  • Discovering which web sources Gemini references most often for a subject

Example Workflow

INPUT

User asks: What search queries does Gemini generate when answering 'best running shoes for flat feet'?

AGENT
  1. 1

    Sets GEMINI_API_KEY from environment

  2. 2

    Runs the prompt 10 times against gemini-2.5-pro with Google Search grounding enabled

  3. 3

    Collects all search queries generated across each independent run

  4. 4

    Calculates frequency percentage and raw count per unique query

  5. 5

    Reports top web sources referenced alongside each query

OUTPUT

Frequency table showing e.g. 'best running shoes flat feet 2024' appeared in 7/10 runs (70%), with top sources listed

Requirements

  • GEMINI_API_KEY environment variable (Gemini API key from Google AI Studio)

Installation

clawhub install psyduckler/aeo-prompt-frequency-analyzer

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links