如何用 Claude Code Subagents 做 GEO Research

原则:subagents 用来处理 noisy research,不用来 unchecked publishing Claude Code subagents 是 specialized assistants,拥有自己的 context、prompts、tool access 和 permissions。An...

原则:subagents 用来处理 noisy research,不用来 unchecked publishing

Claude Code subagents 是 specialized assistants,拥有自己的 context、prompts、tool access 和 permissions。Anthropic docs 说明,当 side task 会让 main conversation 被 search results、logs 或 file contents 淹没时,subagents 很有用。GEO research 正是这种工作:prompt snapshots、competitor mentions、entity facts、crawler checks 和 source evidence 都可能让主线对话爆量。

用 subagents 做 research。把 final decisions 留在 main conversation。

Claude Code subagents 分工做 GEO research:SERP、AI answers、entity facts、technical eligibility

图说:Research 可以分工;publishing 和 final decisions 仍要留在主线对话里。

四种能帮助 GEO 的 subagents

Subagent

工作

Output

SERP researcher

检查 search results 和 query intent

Query map 和 competitor patterns

AI answer auditor

在 AI surfaces 或 API snapshots 测 prompt library

Mention/citation gaps

Entity fact checker

比对 About page、schema、profiles 和 public facts

Entity consistency report

Technical eligibility reviewer

检查 robots、sitemap、canonicals、schema、rendering

Technical risk list

不要建立一个包办所有事的「SEO agent」。重点是 separation。

Prompt Claude Code 建立 subagents

I want to use Claude Code subagents for GEO research.

Create proposed subagent definitions before writing files.
For each subagent, include:
- name
- description
- system prompt
- allowed tools
- denied actions
- expected report format
- when the main conversation should call it

The subagents must not publish, deploy, change pricing/legal claims, or edit production content without main-thread approval.

Example subagent instruction

Name: geo-citation-auditor
Purpose: Check whether target prompts mention, cite, or ignore our brand.
Rules:
- Use only approved prompt files and approved APIs or manual snapshots.
- Store raw observations in seo-geo/reports/raw/.
- Return a concise summary with prompt, surface, answer summary, brand mention, citation URL, and confidence.
- Do not edit website files.

安全执行 research

询问 main Claude conversation:

Use the GEO research subagents to inspect seo-geo/prompt-library/core-prompts.md and the latest snapshots in seo-geo/exports/ai-visibility/.

Each subagent should return only findings and recommended actions. After they finish, combine the results into a prioritized content and technical action queue. Do not edit files yet.

如何判断 subagent output

好的 output 会说清楚 evidence。弱 output 只会说「improve authority」。强 output 会像这样:

  • Prompt:“best tools for AI search visibility”
  • Surface:Perplexity API snapshot,2026-07-05
  • Competitors mentioned:A、B、C
  • Our brand mentioned:no
  • Likely gap:没有 comparison page,third-party evidence 也弱
  • Suggested page action:建立或 refresh comparison page,加入可验证 proof

什么时候不要用 subagents

不要为了一个很小的 one-file edit 产生 subagents。不要让多个 subagents edit 同一个 file。不要要求 research subagents 捏造 data。如果 task 需要一个 careful diff,就留在 main thread。

FAQ

Subagents 和 skills 一样吗?

不一样。Skill 封装 reusable workflow 或 reference。Subagent 是拥有自己 context 的 specialized worker。它们可以搭配,但解决的是不同问题。

Subagents 可以用 MCP data 吗?

可以,只要已设定且被允许。对 sensitive analytics,限制 tool access,并要求 summaries,而不是暴露 raw credentials。

Claude Code SEO/GEO 学习路径

这篇属于 Claude Code SEO/GEO operator series。如果你从零建立 workflow,请照这个顺序:

  1. 如何用 Claude Code 做 SEO Automation
  2. 如何建立 Claude Code SEO/GEO Workflow Cockpit
  3. 如何把 CLAUDE.md 和 Memory 用在 SEO/GEO Workflows
  4. 如何用 Claude Code VS Code Extension 更新 SEO Pages
  5. 2026 年最佳 GEO Claude Code Skills
  6. 如何用 Claude Code Subagents 做 GEO Research
  7. 如何把 Claude Code Hooks 当成 SEO/GEO Quality Gates
  8. 如何用 MCP 将 Claude Code 接上 SEO 资料
  9. 如何用 Claude Code GitHub Actions 做 SEO/GEO Reviews
  10. 如何在 Claude Code 里跑每日 SEO/GEO Monitoring

下一篇

上一篇: 2026 年最佳 GEO Claude Code Skills

下一篇: 如何把 Claude Code Hooks 当成 SEO/GEO Quality Gates

Sources and notes

Author: Theo Langford, Auspia Competitive AI Visibility Analyst for 120+ Markets。Theo 撰写 competitor maps、share-of-answer checks 与 GEO research workflows。

探索此主题

继续阅读同一增长脉络