aeo-prompt-frequency-analyzer
通过使用 Google 搜索基础多次运行并报告频率分布,分析 Gemini 在回答提示时使用的搜索查询。在调查 AEO 查询模式、了解 AI 模型如何在网络上搜索某个主题或研究 AI 触发的搜索查询的概率性质时使用。
安装 / 下载方式
TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~psyduckler-aeo-prompt-frequency-analyzercURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~psyduckler-aeo-prompt-frequency-analyzer/file -o psyduckler-aeo-prompt-frequency-analyzer.md## 概述(中文) 通过使用 Google 搜索基础多次运行并报告频率分布,分析 Gemini 在回答提示时使用的搜索查询。在调查 AEO 查询模式、了解 AI 模型如何在网络上搜索某个主题或研究 AI 触发的搜索查询的概率性质时使用。 ## 原文 # 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