← 返回
数据分析 Key 中文

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 distributi...
通过多次运行并使用Google搜索基础,分析Gemini在回答提示时使用的搜索查询,并报告其频率分布。
psyduckler
数据分析 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 1,124
下载
💾 11
安装
1
版本
#latest

概述

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

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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 05:55 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 367 📥 140,032
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 64,893
content-creation

AEO Content (Free)

psyduckler
仅使用免费工具创建或更新AEO优化内容,以便被Gemini、ChatGPT、Perplexity等AI助手引用。包含两种模式:创建新内容...
★ 0 📥 1,545