SEO Audit Bot
A comprehensive SEO auditing skill that analyzes any website and produces a detailed, actionable report.
What It Does
When a user provides a URL, this skill performs a full SEO audit covering:
- 1. Technical SEO — robots.txt, sitemap, HTTPS, mobile-friendliness, page speed signals
- On-Page SEO — title tags, meta descriptions, headings, URL structure, internal linking
- Content Analysis — word count, keyword density, readability, duplicate content signals
- Performance — page load indicators, Core Web Vitals signals
- Social & Sharing — Open Graph tags, Twitter Cards, structured data
- Competitor Comparison (optional) — compare against a competitor URL
How to Use
Basic Audit
User says: INLINECODE0
Agent should:
- 1. Fetch the target URL using INLINECODE1
- Fetch the robots.txt (
/robots.txt) - Fetch the sitemap (
/sitemap.xml or from robots.txt) - Analyze the HTML content for all SEO factors
- Generate a structured report
Competitor Comparison
User says: INLINECODE4
Agent should:
- 1. Audit both URLs
- Generate a side-by-side comparison
- Highlight advantages and gaps
Audit Process
Step 1: Fetch the Page
CODEBLOCK0
Step 2: Check Technical Signals
- - Fetch
robots.txt → check if exists, what's blocked - Fetch
sitemap.xml → check if exists, last modified - Check HTTPS redirect
- Check canonical tag presence
Step 3: Analyze On-Page Elements
Extract and evaluate:
- -
<title> — length (50-60 chars ideal), keyword presence - INLINECODE8 — length (150-160 chars ideal), keyword presence
- INLINECODE9 — single h1, contains primary keyword
- INLINECODE10 –
<h6> — proper hierarchy - URL structure — short, descriptive, keyword-rich
- Image alt tags — descriptive, not keyword-stuffed
- Internal links — count, quality, anchor text
- External links — count, quality, nofollow usage
Step 4: Content Analysis
- - Word count (minimum 300 for pages, 1000+ for blog posts)
- Keyword density (1-3% for primary keyword)
- Heading structure (logical hierarchy)
- Readability (sentence length, paragraph size)
- Duplicate content risk
Step 5: Performance Indicators
- - Check for
<meta name="viewport"> (mobile-friendly) - Check for lazy loading on images
- Check for minified CSS/JS references
- Check for CDN usage
- Check for excessive inline styles
Step 6: Social & Schema
- - Open Graph tags (og:title, og:description, og:image)
- Twitter Card tags
- JSON-LD structured data
- Schema.org markup
Step 7: Generate Report
Report Format
CODEBLOCK1
Scoring Rubric
Each section is scored 0-100:
Technical SEO (25% weight)
- - HTTPS: 15 points
- robots.txt: 10 points
- sitemap.xml: 15 points
- Mobile viewport: 15 points
- Canonical tag: 10 points
- Clean URL structure: 10 points
- Page speed indicators: 15 points
- No broken links: 10 points
On-Page SEO (30% weight)
- - Title tag (exists, length, keyword): 20 points
- Meta description (exists, length, keyword): 20 points
- H1 tag (exists, unique, keyword): 20 points
- Heading hierarchy: 10 points
- Image alt tags: 15 points
- Internal linking: 15 points
Content (25% weight)
- - Word count: 25 points
- Keyword presence & density: 25 points
- Readability: 25 points
- Content structure: 25 points
Performance (10% weight)
- - Mobile-friendly: 30 points
- Asset optimization: 30 points
- Loading indicators: 40 points
Social & Schema (10% weight)
- - Open Graph: 40 points
- Twitter Cards: 30 points
- Structured data: 30 points
Overall Score = weighted average of all sections.
Tips for the Agent
- 1. Be specific — don't just say "improve SEO", say exactly what to change
- Prioritize — label recommendations as HIGH/MEDIUM/LOW
- Show before/after — when suggesting changes, show the current state and the ideal state
- Be honest about limitations — you can't check page speed directly, only indicators
- Offer follow-up — suggest re-audit after changes are made
SEO 审计机器人
一项全面的SEO审计技能,可分析任何网站并生成详细、可操作的报告。
功能说明
当用户提供URL时,该技能将执行完整的SEO审计,涵盖:
- 1. 技术SEO — robots.txt、站点地图、HTTPS、移动端友好性、页面速度信号
- 页面SEO — 标题标签、元描述、标题、URL结构、内部链接
- 内容分析 — 字数、关键词密度、可读性、重复内容信号
- 性能 — 页面加载指标、核心网页指标信号
- 社交与分享 — Open Graph标签、Twitter卡片、结构化数据
- 竞争对手对比(可选)— 与竞争对手URL进行对比
使用方法
基础审计
用户说:审计 https://example.com 的SEO
代理应:
- 1. 使用 web_fetch 获取目标URL
- 获取 robots.txt(/robots.txt)
- 获取站点地图(/sitemap.xml 或从 robots.txt 获取)
- 分析所有SEO因素的HTML内容
- 生成结构化报告
竞争对手对比
用户说:对比 https://example.com 与 https://competitor.com 的SEO
代理应:
- 1. 审计两个URL
- 生成并排对比
- 突出优势和差距
审计流程
步骤1:获取页面
web_fetch(url=<目标URL>, maxChars=50000, extractMode=text)
步骤2:检查技术信号
- - 获取 robots.txt → 检查是否存在、被屏蔽的内容
- 获取 sitemap.xml → 检查是否存在、最后修改时间
- 检查HTTPS重定向
- 检查规范标签是否存在
步骤3:分析页面元素
提取并评估:
- - — 长度(理想50-60字符)、关键词存在情况
- — 长度(理想150-160字符)、关键词存在情况
— 单个h1、包含主要关键词
– — 正确层级
- URL结构 — 简短、描述性、关键词丰富
- 图片alt标签 — 描述性、不堆砌关键词
- 内部链接 — 数量、质量、锚文本
- 外部链接 — 数量、质量、nofollow使用情况
步骤4:内容分析
- - 字数(页面至少300字,博客文章1000字以上)
- 关键词密度(主要关键词1-3%)
- 标题结构(逻辑层级)
- 可读性(句子长度、段落大小)
- 重复内容风险
步骤5:性能指标
- - 检查 (移动端友好)
- 检查图片懒加载
- 检查压缩的CSS/JS引用
- 检查CDN使用情况
- 检查过多的内联样式
步骤6:社交与结构化数据
- - Open Graph标签(og:title、og:description、og:image)
- Twitter卡片标签
- JSON-LD结构化数据
- Schema.org标记
步骤7:生成报告
报告格式
SEO审计报告:[URL]
日期:[日期]
总体评分:XX/100
🔧 技术SEO:XX/100
- - ✅ 已启用HTTPS
- ✅ 找到robots.txt
- ❌ 未找到sitemap.xml
- ✅ 已配置移动端视口
- ⚠️ 缺少规范标签
建议:
- 1. 创建并提交sitemap.xml
- 添加规范标签以防止重复内容
📄 页面SEO:XX/100
- - ✅ 标题标签(52字符)— 良好
- ⚠️ 元描述(180字符)— 过长,目标为150-160
- ❌ 未找到H1标签
- ✅ URL结构清晰
- ⚠️ 3张图片缺少alt标签
建议:
- 1. 添加包含主要关键词的清晰H1标签
- 将元描述缩短至150-160字符
- 为所有图片添加alt标签
📝 内容:XX/100
- - 字数:450字
- 主要关键词密度:1.2%
- 标题结构:正确的H2/H3层级
- 可读性:良好(平均每句15词)
建议:
- 1. 将内容扩展至800字以上以获得更好的排名潜力
⚡ 性能:XX/100
- - 视口meta:✅
- 懒加载:⚠️ 部分
- 压缩资源:✅
- CDN:❌ 未检测到
📱 社交与结构化数据:XX/100
- - Open Graph:✅ 完整
- Twitter卡片:⚠️ 缺失
- JSON-LD:❌ 未找到
建议:
- 1. 添加Twitter卡片元标签
- 实施JSON-LD结构化数据以获得丰富摘要
🎯 优先操作(优先执行)
- 1. [高] 添加包含主要关键词的H1标签
- [高] 创建sitemap.xml
- [中] 实施JSON-LD结构化数据
- [低] 添加Twitter卡片标签
评分标准
每个部分评分0-100:
技术SEO(权重25%)
- - HTTPS:15分
- robots.txt:10分
- sitemap.xml:15分
- 移动端视口:15分
- 规范标签:10分
- 清晰URL结构:10分
- 页面速度指标:15分
- 无死链:10分
页面SEO(权重30%)
- - 标题标签(存在、长度、关键词):20分
- 元描述(存在、长度、关键词):20分
- H1标签(存在、唯一、关键词):20分
- 标题层级:10分
- 图片alt标签:15分
- 内部链接:15分
内容(权重25%)
- - 字数:25分
- 关键词存在与密度:25分
- 可读性:25分
- 内容结构:25分
性能(权重10%)
- - 移动端友好:30分
- 资源优化:30分
- 加载指标:40分
社交与结构化数据(权重10%)
- - Open Graph:40分
- Twitter卡片:30分
- 结构化数据:30分
总体评分 = 所有部分的加权平均值。
代理提示
- 1. 具体明确 — 不要只说改善SEO,要明确指出需要更改的内容
- 优先级排序 — 将建议标记为高/中/低
- 展示前后对比 — 建议更改时,显示当前状态和理想状态
- 诚实说明局限性 — 无法直接检查页面速度,只能检查指标
- 提供后续跟进 — 建议更改后重新审计