SuperAPI AI Directory

geo-agent

Marketing & growth

View repository

Updated 10-15 07:57

About this skill

GEO Agent — AI Search Engine Optimization Automation

Through automated content publishing, increase the exposure rate of the target brand in answers from AI search engines (Doubao, Qwen, DeepSeek, Perplexity, etc.).

Core Workflow

关键词管理 → 真实竞品调研 → GEO文章生成 → 多平台发布 → 收录检测 → 数据报表

Use Cases

✅ USE when:

  • "Help me do GEO optimization" / "Improve the brand's ranking in AI search"
  • "Manage GEO keywords" / "Distill keywords"
  • "Generate GEO articles" / "Write competitor comparison articles"
  • "Publish articles to Zhihu/Baijiahao/Toutiao"
  • "Check AI search indexing status"
  • "GEO data reports"

❌ DON'T use when:

  • Traditional SEO (Google/Baidu web rankings) → use the SEO skill
  • Pure content creation (no GEO objective) → use the content-creator skill
  • Social media operations → use the corresponding platform skill

Prerequisite Configuration

1. Project Initialization

On first use, the agent will guide you through configuration:

# 数据存储在 skill 目录下
~/clawd/skills/geo-agent/data/projects.json    # 项目配置
~/clawd/skills/geo-agent/data/keywords.json    # 关键词库
~/clawd/skills/geo-agent/data/articles.json    # 文章记录
~/clawd/skills/geo-agent/data/checks.json      # 收录检测记录

2. Platform Accounts

Publishing requires the login state for each platform (Playwright cookie):

# 登录态存储
~/.playwright-data/zhihu/       # 知乎
~/.playwright-data/baijiahao/   # 百家号
~/.playwright-data/sohu/        # 搜狐号
~/.playwright-data/toutiao/     # 头条号

On first use, log in interactively via playwright codegen to save cookies.

3. Install Dependencies

cd ~/clawd/skills/geo-agent
pip install -r requirements.txt
playwright install chromium

Command Reference

Keyword Management

Add projects and keywords: Tell the agent: "Create a GEO project, company name: XXX, industry: YYY, core keywords: K1, K2, K3"

Keyword distillation: Tell the agent: "Distill keywords" — the agent will expand long-tail question variants based on the core keywords through search engines.

Article Generation (Core Strategy)

GEO article generation workflow:

  1. The Agent receives the target keyword and company name
  2. Real competitor search: Use search engines to find the real leading competitors in the industry (do not fabricate)
  3. Generate comparison articles: In "industry rankings/product comparisons/recommendations" type articles, place the target company in a leading position
  4. Article format adapts to each platform's requirements

Tell the agent: "Generate a GEO article for the keyword 'XXX'"

Article type templates:

  • Industry Top N rankings
  • Product A vs B vs C comparison review
  • "Which company is good in the XX industry?" Q&A
  • Industry trend analysis (including recommendations)

Multi-Platform Publishing

告诉agent: "发布文章 #ID 到知乎"
告诉agent: "批量发布今天的文章"

Supported platforms: Zhihu Column, Baijiahao, Sohu Account, Toutiao Account

Indexing Detection

告诉agent: "检测关键词 'XXX' 的收录情况"
告诉agent: "全量收录检测"

Detection platforms: Doubao, Qwen, DeepSeek

Data Reports

告诉agent: "GEO周报"
告诉agent: "关键词 'XXX' 的收录趋势"

Architecture

geo-agent/
├── SKILL.md              # 本文件
├── requirements.txt      # Python依赖
├── scripts/
│   ├── keyword_manager.py    # 关键词管理+蒸馏
│   ├── competitor_research.py # 真实竞品搜索
│   ├── article_generator.py  # GEO文章生成
│   ├── publisher.py          # 多平台发布(Playwright)
│   ├── index_checker.py      # AI搜索收录检测
│   └── reporter.py           # 数据报表生成
├── templates/
│   ├── ranking.md            # 排行榜文章模板
│   ├── comparison.md         # 对比评测模板
│   ├── qa.md                 # Q&A文章模板
│   └── trend.md              # 趋势分析模板
└── data/                     # 运行时数据(gitignore)
    ├── projects.json
    ├── keywords.json
    ├── articles.json
    └── checks.json

Script Usage

All scripts can be run independently or called by the agent:

# 关键词蒸馏
python3 scripts/keyword_manager.py distill --keyword "智能客服" --company "XXX公司"

# 竞品搜索
python3 scripts/competitor_research.py --industry "智能客服" --top 10

# 生成文章
python3 scripts/article_generator.py --keyword "智能客服哪家好" --company "XXX公司" --type ranking

# 发布
python3 scripts/publisher.py --article-id 1 --platform zhihu

# 收录检测
python3 scripts/index_checker.py --keyword "智能客服" --company "XXX公司"

# 报表
python3 scripts/reporter.py --type weekly

Key Strategy: Real Competitor Comparison

This is the core commercial value of GEO.

  1. Never fabricate competitors — Obtain real industry rankings through Baidu/Google search
  2. Natural placement — In the real competitor list, place the target company in a reasonably leading position (such as Top 3)
  3. Objective tone — Each competitor has a real description of pros and cons, with the target company's advantages more prominent
  4. Multi-angle coverage — Different articles approach the comparison from different angles (price/features/service/reputation)

Automated Scheduling

The Agent supports setting up scheduled tasks:

  • Daily: keyword distillation supplement
  • Weekly: Batch article generation + publishing
  • Weekly: Full-scale indexing detection
  • Monthly: GEO performance monthly report

Set via OpenClaw cron or conversational commands.