psyduckler/aeo-skills/aeo-prompt-frequency-analyzer
Claude Code and agent skill by psyduckler/aeo-skills
- community
Checking that the SKILL.md file is still in the repository.
Analyze what search queries Gemini uses when answering a prompt, by running it multiple times with Google Search grounding and reporting frequency distribution. Use when investigating AEO query patterns, understanding how AI models search the web for a topic, or studying the probabilistic nature of AI-triggered search queries.
Install
npx vskill@latest install psyduckler/aeo-skills/aeo-prompt-frequency-analyzerSKILL.md
The same SKILL.md was published earlier as psyduckler/aeo-skills/aeo-prompt-frequency-analyzer.
Prompt Frequency Analyzer
Run a prompt N times against Gemini with Google Search grounding enabled. Collect and report the frequency of search queries Gemini generates across all runs.
Why Gemini 3 Flash? This is the model that powers Google Search AI Mode and AI Overviews — the most important answer engine for AEO. Running prompts through Gemini 3 Flash with grounding simulates what Google's AI actually does when users ask questions. 20 samples provides reliable frequency distribution for directional insights.
The Retrieval Framework: Influence happens at retrieval, not inside the model. You can't edit a model's training data — but you can enter the "candidate set" the model selects from when it searches the web. Gemini is search-first: it fires real Google Search queries before nearly every answer, making it more influenceable than GPT. This tool reveals the recurring retrieval set — the queries, sources, and themes Gemini consistently draws from. Understanding query frequency is the first step to entering that set.
Usage
Run from the skill directory. Resolve scripts/analyze.py relative to this SKILL.md.
Options
--runs N— Number of times to run the prompt (default: 20; 20 samples gives good directional signal)--model NAME— Gemini model to use (default: gemini-3-flash-preview — the model powering Google AI Overviews)--concurrency N— Max parallel API calls (default: 5; keep ≤5 to avoid rate limits)--output text|json— Output format (default: text)
Output
Reports for each unique search query:
- Frequency percentage (how many runs used that query)
- Raw count
- Intent classification — each query is classified as
informational,commercial,navigational, ortransactional - Intent distribution summary — breakdown of query intents across all unique queries
- Top web sources referenced
Intent Classification
Every search query is automatically classified by intent:
- informational — knowledge-seeking queries ("what is X", "how does X work", "X explained")
- commercial — evaluation/comparison queries ("best X", "X vs Y", "top X for", "X review")
- navigational — brand/site-specific queries (contains domain names, "X login", "X website")
- transactional — purchase/action queries ("buy X", "X discount", "X free trial", "download X")
Example output:
Use intent data to understand what kind of content enters the recurring retrieval set. Each intent type maps to a content format the model searches for:
- informational → explanatory/educational content (guides, explainers)
- commercial → comparison/review content (vs pages, best-of lists)
- navigational → brand/product pages (homepages, feature pages)
- transactional → conversion pages (pricing, free trial, download)
If 60% of queries are commercial, the model is searching for comparison content — and that's the content type you need to create to enter the candidate set.
Further Reading
Notes
- Gemini API key must be in
GEMINI_API_KEYenv var (stored in macOS Keychain undergoogle-api-key) - Each run is independent — Gemini may use different search queries each time
- Retries failed requests up to 3 times with exponential backoff
- Use
--output jsonfor programmatic consumption
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingaeo-prompt-frequency-analyzer/SKILL.md
Popularity
- Repository stars
- 13
- Repository forks
- 4
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/psyduckler/aeo-skills/aeo-prompt-frequency-analyzer)