AgentSkillsCN

seo-analyzer

针对任意网页或域名,全面审计其页面级与技术层面的SEO问题。深入分析元数据、标题结构、核心Web Vitals指标、反向链接信号、关键词密度等要素,并生成优先级分明的修复建议报告。

SKILL.md
--- frontmatter
name: seo-analyzer
description: Audit any webpage or domain for on-page and technical SEO issues. Analyzes metadata, heading structure, Core Web Vitals, backlink signals, keyword density, and generates a prioritized fix report.
license: MIT
tags: [seo, marketing, audit, web, performance]

SEO Analyzer

Overview

Perform comprehensive SEO audits on URLs or entire domains, identifying on-page deficiencies, technical issues, and content gaps with prioritized recommendations.


When to Use

  • Auditing a new website before launch
  • Diagnosing a traffic drop after a Google update
  • Benchmarking competitor pages
  • Preparing keyword optimization reports for content teams
  • Monthly SEO health monitoring

Instructions

  1. Accept input: target URL or domain, target keywords (optional), competitor URLs (optional).
  2. Crawl the page(s) and extract: title, meta description, H1-H6 hierarchy, image alt tags, canonical tags, robots directives.
  3. Check technical signals: page speed, mobile-friendliness, HTTPS, structured data, sitemap presence.
  4. Analyze keyword usage and density against target terms.
  5. Pull Core Web Vitals (LCP, FID, CLS) via PageSpeed Insights API.
  6. Identify issues: missing meta, duplicate titles, broken links, thin content, slow assets.
  7. Score the page from 0-100 across categories: Technical, On-Page, Content, UX.
  8. Return a ranked list of issues with severity (Critical/High/Medium/Low) and fix instructions.

Environment

code
PAGESPEED_API_KEY=your_google_pagespeed_api_key
SEMRUSH_API_KEY=your_semrush_api_key_optional
TARGET_URL=https://yourdomain.com
CRAWL_DEPTH=3

Examples

Input:

code
url: https://lithiumbuy.com
keywords: [lithium battery buyers, battery recycling marketplace]
competitors: [batterychain.com, recyclibat.com]

Output:

code
SEO Score: 74/100
Critical: Missing H1 on /about (1 issue)
High: Meta descriptions >160 chars on 5 pages
Medium: LCP 3.8s on homepage (target <2.5s)
Low: 12 images missing alt tags
Top keyword gap: 'lithium recycling B2B' - not ranking