微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🔍

AI搜索查询频率分析器

AEO Prompt Frequency Analyzer · v1.0.0
效率 安全 B 级 作者 psyduckler 公开目录收录
1.3k 下载 0 安装 4k 收藏 11 浏览

简介

AI搜索行为分析工具,通过多轮Gemini调用统计搜索查询分布,揭示AI模型的信息检索模式,适合AEO研究与SEO策略优化。

原始描述

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

通过你的 Agent 添加

点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/aeo-prompt-frequency-analyzer/
其它 Agent解压到它自己的 skills 目录,目录名用 aeo-prompt-frequency-analyzer

包里是 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

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

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

ai-researchseoaeosearch-analysisgemini-apidata-analytics

同类 Skill