geo-analyzer

geo-analyzer is a skill for Claude Code, Codex from redfox-data/redfox-community-dsh. It costs 144 tokens per session (4,181 once invoked), scanned A, original, MIT.

A brand-visibility analysis tool that asks three Chinese AI search services about a brand and reports how often it appears, its sentiment, cited sources, and competitors.

In plain words
What is it for?
Use it to study a brand’s visibility in AI search, compare competitors, review source citations, and generate an interactive HTML report.
Why use it?
It shows what AI search answers say about a brand instead of relying only on traditional search rankings.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the AskUserQuestion tool.

Good fit Use it to study a brand’s visibility in AI search, compare competitors, review source citations, and generate an interactive HTML report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/redfox-data/redfox-community-dsh/geo-analyzer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add redfox-data/redfox-community-dsh --skill geo-analyzer
Clone the repo
git clone --depth 1 https://github.com/redfox-data/redfox-community-dsh

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for geo-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/geo-analyzer/github.svg)](https://agentmods.dev/skills/redfox-data/redfox-community-dsh/geo-analyzer)
Your own site
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/geo-analyzer"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/geo-analyzer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for geo-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/geo-analyzer"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/geo-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 144 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,181 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00144 $0.04181
Opus 5.5 $0.00058 $0.01672
Sonnet 5.5 $0.00029 $0.00836
Haiku 4.5 $0.00014 $0.00418

Measured 1mo ago against content hash 4bd4e936013f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

geo-analyzer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/geo_analyze.py, scripts/geo_report.py, scripts/geo_search.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/geo-analyzer/SKILL.md · 320 lines

How it starts

The opening of the file, as written. The whole thing — 320 lines — stays where its author put it; the contents beside it link to each section on GitHub.

品牌GEO分析

简介

帮助品牌了解自己在 AI 搜索引擎(豆包、Kimi、DeepSeek、元宝、千问、百度)中的表现。系统自动向六个 AI 平台提出相同问题,分析品牌出现率、情绪倾向、信源引用、竞品对比,生成可视化 HTML 报告。

鉴权

前往 红狐hub 获取 API Key,通过以下方式配置:

# 方式一:配置文件
{ "env": { "REDFOX_API_KEY": "ak_xxxx..." } }

# 方式二:终端环境变量
export REDFOX_API_KEY="ak_xxxx..."

依赖

pip3 install requests

完整工作流

Step 0: 输入收集

向用户收集以下信息(使用 AskUserQuestion 或直接从用户消息中提取):

必填信息:

  • 品牌名称: 用户要分析的品牌名(如"元气森林"、"大疆"、"蔚来")
  • 品类/行业: 品牌所属品类(如"无糖饮料"、"无人机"、"新能源汽车")

可选信息:

  • 品牌别名: 品牌的其他常见称呼(如"小红书"的别名"RED")
  • 竞品列表: 用户已知竞品(如"可口可乐"、"百事可乐")
  • 自定义问题列表: 如果用户已有问题列表,直接使用,跳过 Step 1

关键规则:

  • 如果用户只提供了品牌名没有品类,必须追问品类
  • 如果用户提供了问题列表,跳过 Step 1 直接进入 Step 2
  • 竞品和别名可以为空

Step 1: 问题生成(用户未提供问题时)

如果用户没有提供问题列表,需要生成 5 个热门问题。

1.1 搜索品类热度

调用任一 websearch skill 搜索品类相关信息:

python3 ~/.agents/skills/doubao-websearch/scripts/doubao_search.py "{品类} 消费者最关心的问题"
python3 ~/.agents/skills/kimi-websearch/scripts/kimi_search.py "{品类} 品牌推荐 常见问题"

1.2 AI 生成 5 个问题

结合搜索结果和品类知识,生成 5 个用户最可能在 AI 搜索引擎中提问的问题。

问题类型必须覆盖以下三类(推荐类至少 1 个,多场景类与功能类合计至少 4 个):

类型 示例 说明
推荐类 "{品类}哪个品牌好?"、"推荐几款好用的{品类}" 测试品牌是否进入通用推荐列表
多场景类 "{人群/场景}用什么{品类}好?",如"经常熬夜看手机用什么缓解视疲劳眼药水好"、"学生党上课用眼多适合用的缓解视疲劳眼药水有哪些"、"长期对着电脑办公选什么缓解视疲劳眼药水合适" 测试品牌在真实使用场景下的可见度
功能类 "{功能诉求}的{品类}推荐",如"温和不刺激的缓解视疲劳眼药水推荐"、"缓解视疲劳眼药水哪些好用不贵" 测试品牌在功能诉求下的匹配度

问题生成铁律:

  • 所有问题一律不带目标品牌名(含别名)——AI 不知道在测谁,结果才客观
  • 不生成明确的品牌对比类问题(如"{品牌A}和{品牌B}哪个好");与竞品的对比表现可从回答中的竞品提及自然观察
  • 多场景类须贴合品牌的真实使用人群与场景(结合品类知识构造互不重复的场景,如不同人群、使用场合、使用强度)
  • 功能类围绕该品类用户最关心的功能点或顾虑(如温和不刺激、性价比、便携性)
  • 问题必须是用户真实可能搜索的自然语言,长度控制在 10-30 字,不要生成过于相似的问题

1.3 确认问题列表(必须执行)

将生成的 5 个问题展示给用户,使用 AskUserQuestion 询问确认。必须等待用户明确同意后,才能进入 Step 2 批量搜索。如果用户要求修改,重新调整问题列表并再次确认。

Step 2: 批量搜索

将 5 个问题同时提交到 6 个 AI 平台进行联网搜索。

python3 scripts/geo_search.py --queries '["问题1","问题2",...,"问题5"]' --platforms doubao,kimi,deepseek,yuanbao,qianwen,baidu

脚本自动完成:

  1. 批量提交 30 个搜索任务(6平台 x 5问题)
  2. 并行轮询所有任务,每 30 秒检查一次
  3. 最长等待 5 分钟
  4. 输出 output/search_results.json

Read the full file on GitHub · 320 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +25 lines · +8 tokens per session 4bd4e936013f
  2. 3mo ago First seen · 295 lines · 136 tokens per session scan A ac893f98ba0f

Subscribe to this mod's changes

geo-analyzer is a skill published in the GitHub repository redfox-data/redfox-community-dsh (13 stars, last pushed 6d ago), licensed MIT. It adds 144 tokens to every session and 4,181 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

geo-analyzer compared with skills from other repositories

geo-analyzer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
geo-analyzerredfox-data/redfox-community-dshSkill136d agoMITA144Claude Code, Codex
dsh-hooks-authoringKYinCode/dsh-hooks-pluginSkill33mo agoMITA112Claude Code
web-artifact-designerxulelenlp/dsh-web-artifact-designerSkill93mo agoMITA115Claude Code, Codex
refactoromagents/omagentsSkill3613d agoMITA55Codex
tech-debt-auditomagents/omagentsSkill3613d agoMITA57Codex
deep-researchomagents/omagentsSkill3613d agoMITB24Codex
company-research-methodPerryLink/dsh-industry-researchSkill2277d agoApache-2.0A83Claude Code, Codex