dsh-geo-analyzer: Brand Visibility (GEO) Analysis Across Six Major AI Search Engines

Preface

When building websites, I’m accustomed to checking SEO metrics such as keywords, indexing, and rankings. As users increasingly rely on AI Q&A, another specific concern has emerged: when asking “which brand is good in a certain category,” will AI search engines like Doubao, Kimi, and DeepSeek mention your brand, what rank it holds, the tone (recommending or warning), and the source (official or third-party)?

This type of question differs from traditional search engine optimization (SEO). SEO solves for “being found in search engines”; Generative Engine Optimization (GEO) is closer to “being mentioned in AI-generated answers.” If competitors are frequently recommended while you rarely appear, it is equivalent to a long-term absence in AI channels.

DeepSeek Harness (DSH) plugin [dsh-geo-analyzer] (maintainer: liangdabiao, categorized as Internet Tools in the community directory) targets the scenario described above: it batch-queries the same set of questions across six AI search engines—Doubao, Kimi, DeepSeek, Yuanbao, Qianwen, and Baidu—then summarizes metrics such as mention rate, ranking, sentiment, sources, and competitor comparisons, outputting an interactive HTML report and a sidebar dashboard. The following sections introduce its positioning, workflow, installation, and key usage points; facts are based on the repository README and package.json.

What is it

dsh-geo-analyzer provides the “GEO Brand Radar” capability within DSH: analyzing brand visibility in AI search engines.

The plugin submits questions and fetches answers using the search interfaces provided by RedFox across six platforms. Deterministic calculations, such as mention detection, domain statistics, heatmaps, and GEO composite scores, are performed by Node scripts. Sentiment and ranking, which require understanding natural language, are analyzed by the current session model within the conversation; the tool itself does not make additional external LLM calls. Implementation-wise, it is ported from [redfox-data/redfox-community]’s skills/geo-analyzer and incorporates three robustness improvements from brand-geo-analysis-plus in the same repository. Python-side logic has been rewritten as a native Node implementation, with no Python runtime dependencies other than @deepseek-ai/schemastery.

The README summarizes the output using three questions:

  1. Mention Rate: A heatmap of per-platform × per-question to see if the AI mentions the target brand.
  2. How: Sentiment (recommend / neutral / negative) and average ranking.
  3. Why: Source domains and the TOP 10 cited articles, along with data completeness warnings.

Core Functions

Conversation-Driven Workflow

A typical analysis proceeds in the order described in the README (agent conversation primary, sidebar panel secondary):

create create run (brand+category, agent will ask if category is missing)
  → generate 5 questions (recommended ≥1, multi-scenario+functional ≥4, no brand names) → user confirms
  → queries_save → search (5×6=30 tasks background parallel, approx 3-5 mins, panel real-time progress matrix)
  → read_answers → session model analyzes sentiment/ranking/competitor item by item → ai_save (batched)
  → report (GEO composite score + interactive HTML report + 5 key findings)

GEO Composite Score methodology (aligned with the upstream analyzer):

  • Mention rate × 100 × 40%
  • max(0, 100 − (average rank − 1) × 10) × 30%
  • Positive rate × 100 × 30% (positive rate = 1 − negative rate, neutral counts as positive)

Score ranges: 70+ Excellent, 50–69 Good, 30–49 Average, <30 Poor.

  • Overview: Run history, in-progress searches, Key status; can one-click “Start an Analysis” to open a new conversation.
  • New Analysis: Configure brand, category, aliases, competitors, platform checkboxes; after creation, you can modify questions in the panel and “Save & Start Search”.
  • Run Details: Question editor (with brand word leakage warnings), real-time progress matrix (OK / INVALID / FAIL, etc.), GEO summary card, per-platform mention rate, competitor TOP, “Open Full Report”.
  • Settings: RedFox API Key (stored locally), proxy, interface address.

The HTML report is a single-page interactive tool: anchor navigation, summary, brand fingerprint, mention matrix, sentiment and source analysis, expandable competitor comparison, and collapsible raw archives (with brand words highlighted).

Host Tool & Data Persistence

src/host.js exposes the geo_analyzer tool (8 actions). Search batch scheduling is executed in the host’s background, progress is persisted, and tool calls return quickly. The data directory defaults to ~/.dsh/geo-analyzer/ (can be modified via DSH_HOME). For a single run, meta, raw answers, AI analysis, merged metrics, and the HTML report are saved under runs/<runId>/ using atomic writes (tmp + rename).

Current plugin version (from package.json): 0.1.1, license MIT. Requires Node ^22.19.0 || >=24.0.0, DSH >=0.2.1-rc.2 <0.3.0.

Installation & Enablement

The plugin runs with the permissions of the current DSH process; before installing, it is recommended to read the repository source code and license, and evaluate the RedFox API billing and terms of service yourself.

The official installation command is as follows (do not manually concatenate other add forms based on the plugin name):

dsh plugin --profile web add https://github.com/liangdabiao/dsh-geo-analyzer

Dependencies will be handled automatically during installation; the HTTP layer is a hand-written node:https, with no additional third-party runtime dependencies other than @deepseek-ai/schemastery.

Configuration

RedFox API Key (Required)

Keys start with ak_ and can be applied for at RedFox Hub API Keys. Priority: Plugin config apiKey > Panel ‘Settings’ > Environment variable REDFOX_API_KEY.

The README notes that as of Nov 2026 testing, the six RedFox AI search submission interfaces have been upgraded to paid calls only (free credits do not apply); you must recharge at redfox.hk/dashboard/recharge before use. When encountering error code 3203, the plugin will give a clear prompt.

Other Config Fields

  • injectRules: Inject hard rules into the workflow (default on).
  • proxyUrl: Use a proxy when accessing redfox.hk (default direct connection).

Typical Usage

  1. Install the plugin and configure the RedFox API Key (via panel or environment variable).
  2. Initiate an analysis via the agent in a DSH conversation: provide the Brand and Category (the agent will ask if the category is missing).
  3. Confirm the 5 automatically generated test questions (without brand names), save to trigger search, and view the 5×6 task progress matrix in the panel.
  4. After search completes, read answers according to the workflow, let the session model complete sentiment/ranking/competitor analysis and save, and finally generate report and HTML.
  5. View the GEO summary in Run Details, or “Open Full Report” for detailed reading and internal sharing.

For development, if you need to locally verify the pipeline, the repo provides scripts such as npm test (29 unit tests), npm run smoke (offline fake RedFox), and npm run live (real API smoke test, e.g., node scripts/live.mjs <brand> <category> ak_xxx, 1 question × 2 platforms). See the “Development” section in the README.

Suitable Scenarios and Notes

Who is it for: Product, marketing, or operations colleagues who need a systematic view of whether a brand is “mentioned, how it is mentioned, where the source comes from, and the relative position of competitors” across the six major domestic AI searches; those in DSH who wish to use conversation-driven workflows with sidebar progress tracking, rather than maintaining separate Python batch scripts.

Usage Notes:

  • Search and polling rely on the RedFox paid API; costs must be budgeted for and Key security handled (stored in local settings.json).
  • Question design deliberately avoids brand word leakage to test whether the AI naturally brings up the brand under “category queries”; the panel will warn if leakage is detected during question editing.
  • Rate limiting and other invalid responses will be recorded as INVALID and excluded from denominators in metrics (consistent with upstream robustness improvements).
  • Methodology and API usage refer to redfox-community; RedFox services are subject to its terms, with no official affiliation with the DeepSeek Harness community directory.

Conclusion

dsh-geo-analyzer brings “submitting the same set of questions to six AI searches → summarizing GEO metrics → HTML report + sidebar dashboard” into a DSH plugin: the conversation handles create / search / report, deterministic statistics and report generation are done on the Node side, and sentiment and ranking are left to the current session model, avoiding the need to maintain a separate Python runtime.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye