Skip to main content

aeo-prompt-frequency-analyzer

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.

소스 정보

저장소
modbender/skill-library-mcp
최근 소스 활동
2026년 3월 6일 18:33
감지된 SKILL.md 언어
영어
스타
12
포크
3

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
aeo-prompt-frequency-analyzer
description
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.
# 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. ## Usage ```bash GEMINI_API_KEY=$(security find-generic-password -s "nano-banana-pro" -w) \ python3 scripts/analyze.py "your prompt here" [--runs 10] [--model gemini-2.5-pro] [--concurrency 5] [--output text|json] ``` 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: 10) - `--model NAME` — Gemini model to use (default: gemini-2.5-pro) - `--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 - Top web sources referenced ## Notes - Gemini API key must be in `GEMINI_API_KEY` env var (stored in macOS Keychain under `nano-banana-pro`) - Each run is independent — Gemini may use different search queries each time - Retries failed requests up to 3 times with exponential backoff - Use `--output json` for programmatic consumption
GitHub에서 보기