I Built a Full SEO Content Pipeline with an AI Agent — 33 Articles, 0 Human Touches

[打印]2026-07-18385
喜欢这篇文章?

访问温控器系列课程,33篇免费教程从入门到精通。源码和评分算法已开源。

查看系列课程

The Experiment

I gave a Claude Code agent 500,000 keywords, a CMS server, and 8 hours. The goal: build a complete published content library with zero human intervention.

文章目录
  1. The Experiment
  2. The Tech Stack
  3. Phase 1: Keyword Scoring
  4. Phase 2: Coverage Analysis
  5. Phase 3: The Pipeline
  6. Phase 4: The Crash
  7. Results
  8. What I Learned

Here\'s what happened.

The Tech Stack

  • Keywords: 5118 tool CSV — 500K rows, GBK encoding
  • CMS: Destoon (legacy PHP platform)
  • Agent: Claude Code Explore Agent
  • Publishing: Custom Python + PHP pipeline
  • Quality: Self-built scoring crawler

Phase 1: Keyword Scoring

Problem: Only 47 out of 500K keywords had search volume data. Can\'t rely on missing metrics.

Solution: Built a scoring algorithm with 3 dimensions:

def score_keyword(kw):
score = 0
# Business relevance: 10-35 pts
for term in [\'地暖\',\'壁挂炉\',\'分水器\']:
if term in kw: score += 30
# Intent signals: 5-28 pts
for term in [\'怎么接线\',\'故障\',\'价格\']:
if term in kw: score += 25
# Long-tail features: 3-12 pts
score += min(len(kw) // 4, 12)
return score

Result: 70% of top keywords were tutorial-intent. Content strategy: informational, not commercial.

Phase 2: Coverage Analysis

Wrote 8 pillar articles, then built a coverage analyzer using regex semantic domains. Found 10 keyword gaps driving 3 more content batches.

Phase 3: The Pipeline

Markdown → YAML strip → HTML convert →
POST API → TOC generation → CTA injection →
Internal link conversion → Schema JSON-LD →
Sitemap update → IndexNow submission

15 seconds per article. All PHP enhancement scripts run server-side.

Phase 4: The Crash

Tried modifying Destoon\'s header.htm template. Accidentally removed one {/if} from 54 balanced pairs. Entire site → 0 bytes.

Recovered from backup. Lesson: never touch legacy CMS template logic. Inject at the data layer.

Results

  • 33 articles, 130K Chinese characters
  • Average quality score: 89.5/100
  • 20 A-grade (≥90), 8 B-grade, 5 C-grade
  • Live at www.syuan.vip/course.html

What I Learned

AI agents excel at: informational content, keyword analysis, pipeline automation, quality scoring.

AI agents struggle with: legacy CMS quirks, first-party data gaps, image generation.

Full source: GitHub

网站首页  |  联系方式  |  网站声明  |  使用协议  |  隐私政策  |  服务项目  |  关于我们  |  排名推广  |  广告服务  |  积分换礼  |  网站留言  |  帮助中心  |  网站地图  |  违规举报
鲁ICP备18028751号-2