doubao-geo-analyst

Doubao AI Search Optimization (GEO) analyst: input keywords and target terms to automatically search Doubao, extract AI answers and cited sources with screenshots, check for target-term occurrences, perform five-dimensional attribution analysis, and output a complete Markdown optimization report. Trigger phrases: GEO analysis, Doubao search optimization, AI search attribution, keyword attribution analysis.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "doubao-geo-analyst" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-ef70fe86cd6b5c505be3b00456de25f84eef20d451c9472bc8dfbd5e344102f9. Verify the upstream source and version against https://skillhub.cn/skills/user_2604a743/baifu before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Doubao AI Search Optimization (GEO) analyst: input keywords and target terms to automatically search Doubao, extract AI answers and cited sources with screenshots, check for target-term occurrences, perform five-dimensional attribution analysis, and output a complete Markdown optimization report. Trigger phrases: GEO analysis, Doubao search optimization, AI search attribution, keyword attribution analysis.

0 Downloads

Introduction source: third_party · user_2604a743 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Inputs and outputs
Translation pending; see source documentation.
Software, accounts and paid services
Translation pending; see source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: doubao-geo-analyst
description: 豆包 AI 搜索优化(GEO)分析师。输入关键词和目标词,自动在豆包中搜索、提取 AI 回答和引用来源、截图、判断目标词出现情况、进行五维度归因分析、输出完整 Markdown 优化报告。触发词:GEO分析、豆包搜索优化、AI搜索归因、关键词归因分析。
version: 1.0.0
category: 营销分析
platforms:
  - windows
  - macos
agent_created: true

豆包 GEO 分析师 (Doubao GEO Analyst)

概述

这是一个全自动的 AI 搜索优化(GEO)分析工具。用户只需提供「关键词」和「目标词」,本 Skill 指导 Agent 自动完成:

  1. 打开豆包并搜索关键词
  2. 提取 AI 回答全文和所有引用来源
  3. 截图保存
  4. 判断目标词是否出现
  5. 执行五维度归因分析
  6. 输出完整 Markdown 报告

触发条件

用户输入以下任意模式时自动触发本 Skill:

  • "GEO分析:关键词=XXX,目标词=XXX"
  • "在豆包搜索 XXX,分析 YYY"
  • "帮我做一份 GEO 分析报告"
  • "查看 YYY 在豆包有没有出现"
  • 直接输入"关键词:XXX 目标词:YYY"

输入获取

如果用户已提供关键词和目标词,直接进入分析流程。 如果未提供,用简洁的方式确认:

  • 关键词(在豆包中搜索什么)
  • 目标词(要检测的品牌/产品/公司名)

分析流程

第 0 步:环境准备

确认以下工具已就绪(首次使用时自动检测并安装):

1. 浏览器环境检测

# 检查 Edge 是否已在远程调试模式运行
curl -s http://localhost:9222/json/version > /dev/null 2>&1 && echo "EDGE_READY" || echo "EDGE_NOT_READY"

如果 EDGE_NOT_READY,通过 PowerShell 启动:

$edgePath = "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"
if (-not (Test-Path $edgePath)) {
    $edgePath = "C:\Program Files\Microsoft\Edge\Application\msedge.exe"
}
Start-Process $edgePath -ArgumentList "--remote-debugging-port=9222","--no-first-run","--no-default-browser-check"
# 等待 3 秒让浏览器启动

2. browser-use CLI 检测

browser-use doctor 2>&1 | head -5

如未安装,用 user-level pip 安装:

pip install browser-use

3. 连接浏览器

# 尝试连接已有的浏览器 daemon
browser-use <<'EOF'
ensure_real_tab()
print(page_info())
EOF

如果连接失败,先 browser-use close 再重试。

第 1 步:打开豆包并检查登录状态

browser-use <<'PY'
ensure_real_tab()
goto_url("https://www.doubao.com/chat/")
import time; time.sleep(3)
info = page_info()
print(info)
# 检查登录状态
login_text = js("document.body.innerText.substring(0, 600)")
print("PAGE_TEXT:", login_text)
PY

如果页面显示"登录"按钮,提示用户登录后再继续。用户登录后按任意键继续。

第 2 步:输入关键词并搜索

browser-use <<'PY'
ensure_real_tab()
# 找到输入框并点击
js("""
var ta = document.querySelectorAll('textarea')[0];
ta.focus();
ta.click();
""")
import time; time.sleep(0.3)

# 清空已有内容
press_key("Control+a")
time.sleep(0.1)
press_key("Delete")
time.sleep(0.2)

# 输入关键词
type_text("【在此填入用户提供的关键词】")
time.sleep(0.5)

# 验证输入
val = js("document.querySelectorAll('textarea')[0].value")
print("TYPED:", val)

# 按回车提交
press_key("Enter")
print("SUBMITTED - waiting for response...")
PY

第 3 步:等待回答并判断联网搜索

等待 20-30 秒让 AI 生成回答:

browser-use <<'PY'
ensure_real_tab()
import time; time.sleep(25)

# 检查是否还在生成
loading = js("""
var stopBtn = document.querySelector('[class*="stop"]');
JSON.stringify({hasStop: !!stopBtn});
""")
if '"hasStop":true' in loading:
    print("STILL_GENERATING - waiting more...")
    time.sleep(10)

# 获取完整页面文本
text = js("document.body.innerText")
print(text)

# 检查是否触发了联网搜索
has_web_search = js("""
var t = document.body.innerText;
var hasRefs = t.includes('参考') && t.includes('篇资料');
JSON.stringify({webSearch: hasRefs, textLen: t.length});
""")
print("WEB_SEARCH_CHECK:", has_web_search)
PY

关键判断:如果页面包含「搜索 X 个关键词,参考 Y 篇资料」,说明触发了联网搜索,有引用来源可提取。

第 4 步:提取 AI 回答全文

browser-use <<'PY'
ensure_real_tab()

# 获取 AI 回答区域文本
answer = js("""
// 找到 AI 回答的消息块
var msgs = document.querySelectorAll('[class*="message"], [class*="content-block"], [class*="assistant"]');
var result = "";
msgs.forEach(function(m) {
    var text = m.innerText || m.textContent || '';
    if (text.length > 100 && text.includes('GEO')) {
        result = text;
    }
});
if (!result) {
    // 回退:取整个 body 文本的中间部分(跳过侧栏等)
    var bodyText = document.body.innerText;
    // 去除顶部导航和底部输入区
    var lines = bodyText.split('\\\\n');
    bodyText = lines.join('\\\\n');
    result = bodyText;
}
JSON.stringify({answer: result.substring(0, 5000)});
""")
print(answer)
PY

第 5 步:提取引用来源清单

如果触发了联网搜索:

browser-use <<'PY'
ensure_real_tab()
import time

# 先滚动到回答顶部
js("window.scrollTo(0, 0)")
time.sleep(0.5)

# 点击「参考 X 篇资料」打开引用面板
ref_clicked = js("""
var walker = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT, null, false);
while (walker.nextNode()) {
    var node = walker.currentNode;
    if (node.textContent.includes('参考') && node.textContent.includes('篇资料')) {
        var el = node.parentElement;
        var rect = el.getBoundingClientRect();
        el.click();
        return JSON.stringify({clicked: true, x: rect.x, y: rect.y});
    }
}
return JSON.stringify({clicked: false});
""")
print("REF_CLICK:", ref_clicked)
time.sleep(3)

# 提取引用面板中的所有外部链接
citations = js("""
var links = document.querySelectorAll('a');
var result = [];
links.forEach(function(a) {
    var href = a.href || '';
    if (href && href.startsWith('http') && 
        !href.includes('doubao.com') && 
        !href.includes('bytedance') &&
        !href.includes('javascript')) {
        var text = (a.innerText || '').trim();
        if (text.length > 5) {
            result.push({href: href, text: text.substring(0, 300)});
        }
    }
});
JSON.stringify(result);
""")
print(citations)
PY

如果未触发联网搜索,标记"回答为训练数据生成,无引用来源"。

第 6 步:截图保存

browser-use <<'PY'
ensure_real_tab()
import time, base64

# 截图1:AI回答区域(引用面板关闭状态)
press_key("Escape")  # 关闭引用面板
time.sleep(1)
js("window.scrollTo(0, 0)")
time.sleep(0.5)

result = cdp("Page.captureScreenshot", format="png", captureBeyondViewport=False)
img_data = base64.b64decode(result['data'])
with open(r"【工作区路径】/doubao_ai_response.png", "wb") as f:
    f.write(img_data)
print("AI response screenshot saved:", len(img_data), "bytes")

# 截图2:引用面板(如果能打开)
# 重新点击引用文字
js("""
var walker = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT, null, false);
while (walker.nextNode()) {
    var node = walker.currentNode;
    if (node.textContent.includes('参考') && node.textContent.includes('篇资料')) {
        node.parentElement.click();
        break;
    }
}
""")
time.sleep(2)

result2 = cdp("Page.captureScreenshot", format="png", captureBeyondViewport=False)
img_data2 = base64.b64decode(result2['data'])
with open(r"【工作区路径】/doubao_references.png", "wb") as f:
    f.write(img_data2)
print("References screenshot saved:", len(img_data2), "bytes")
PY

第 7 步:判定目标词

在提取的 AI 回答文本中搜索目标词(大小写不敏感)。

  • 目标词出现 → 走分支 A(位置、上下文、来源明细、维持建议)
  • 目标词未出现 → 走分支 B(完整归因分析)

第 8 步:媒体频次统计

对引用来源按域名统计:

排名  媒体域名           引用次数  占比
1     example.com        5        20.8%
2     other.com          3        12.5%
...

第 9 步:五维度归因分析

诊断维度 分析要点 结论
媒体覆盖 目标词出现在哪些媒体?这些媒体的 AI 引用权重如何? 覆盖不足 / 充分但被排挤 / 正常
时效性 含目标词的文章发布时间?是否有更新的文章覆盖? 时效性劣势 / 正常
可信度 目标词相关文章的可信度(认证/权威性/一致性) 可信度不足 / 正常
平台生态 内容在字节系 vs 百度系 vs 其他生态的分布 生态壁垒 / 正常
竞争态势 竞争对手在引用中的频率、媒体分布、排名位置 明显劣势 / 均势 / 优势

第 10 步:竞争对手情报

列出 AI 回答中出现的所有竞争对手名称,及其被引用的媒体、描述和位置。

第 11 步:优化方案(分阶段)

阶段 具体动作 优先级 预计耗时 预期效果
紧急补救(1-2周) 在 XX 媒体发布 XX 内容 P0 ... ...
媒体矩阵(1-3月) 布局 XX 垂类媒体 P1 ... ...
信任体系(3-6月) 获取 XX 认证/入驻 XX 平台 P2 ... ...

每个动作必须具体到:在哪个媒体、发什么内容、为什么有效。

第 12 步:执行清单

以 checkbox 格式列出可立即执行的具体行动项:

- [ ] 在博客园发布题为「XXXX」的技术文章
- [ ] 在今日头条注册「百付科技」官方账号
- [ ] ...

第 13 步:生成报告

按照 references/report-template.md 模板,生成完整的 Markdown 报告。

文件名格式:{关键词}_目标词_{目标词}_分析报告.md

保存到当前工作区目录。


重要注意事项

  1. 必须逐条列出引用来源,不得省略或概括
  2. 媒体频次统计表为必出板块
  3. 每个优化动作必须具体到"哪个媒体、什么内容、为什么有效"
  4. 截图必须保存到工作区目录用于人工复核
  5. 目标词搜索大小写不敏感
  6. 如果豆包未触发联网搜索,报告中需明确说明"回答为训练数据生成,无引用来源可分析"
  7. 引用来源的提取:从引用面板中提取所有 a[href] 标签,过滤掉 doubao.com/bytedance/javascript: 链接

工具速查

操作 命令
检测 Edge 是否运行 curl -s http://localhost:9222/json/version
启动 Edge 调试模式 PowerShell: Start-Process "msedge.exe" -ArgumentList "--remote-debugging-port=9222"
检查 browser-use browser-use doctor
连接浏览器 browser-use <<'PY'\nensure_real_tab()\n...\nPY
CDP 截图 cdp("Page.captureScreenshot", format="png", captureBeyondViewport=False)
执行 JS js("document.body.innerText")
坐标点击 click_at_xy(x, y)
输入文字 type_text("text")
按键 press_key("Enter")

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value65/100

Highlights

  • 提供专业的豆包 AI 搜索优化 GEO 分析功能
  • 解决关键词归因、媒体覆盖分析等实际营销需求
  • 具备完整的五维度归因分析和优化方案制定能力
Trigger Precision85/100

Highlights

  • 触发词覆盖多种变体,边界相对清晰
  • 在 description 和触发条件中均有详细描述
Structure and Standards75/100

Areas to improve

  • 缺少端到端完整示例 Reported severity: Minor

    分析流程详细但缺少一个完整的端到端执行示例

    Recommendation: 建议补充一个完整的示例,展示从输入关键词到生成最终报告的全过程

Highlights

  • 结构完整,包含13个详细分析步骤
  • frontmatter 完整,包含版本、分类、平台等信息
  • 有重要注意事项和工具速查表
Execution Reliability70/100

Areas to improve

  • 脚本中存在未替换的占位符 Reported severity: Major

    多个脚本中包含【在此填入用户提供的关键词】和【工作区路径】等占位符,实际执行时会导致失败

    Recommendation: 需要实现动态参数替换机制,确保脚本中的占位符能被实际值替换

Highlights

  • 工具来源明确(browser-use、Edge 浏览器)
  • 覆盖了主要异常情况处理(浏览器未启动、未登录、仍在生成等)
  • 参数使用基本正确,有错误检测机制
Evidence Verifiability (mean of the first four)74/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Save or modify files

    Confirm the output directory and whether existing files will be replaced. Back up important files and prefer a new output directory.

    Mentioned in main document · lines 272, 292
  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 73
  • Invoke commands or scripts

    Read the script and arguments first. Use ordinary privileges and a scoped directory; confirm installation or execution in your host tool.

    Mentioned in main document · lines 60, 374
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • localhost
  • www.doubao.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Translation pending; see source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.