PluginBench
Skill
Review
Audit score 70

seo-sitemap

agricidaniel/claude-seo

Analyze existing XML sitemaps or generate new ones with validation and industry templates.

What is seo-sitemap?

Validates XML sitemaps for format, URL health, and SEO best practices, or generates new sitemaps from industry templates. Use when analyzing sitemap issues, checking URL coverage, or building sitemaps for new sites.

  • Validate XML format, URL counts, HTTP status codes, and lastmod accuracy
  • Detect quality issues: non-canonical URLs, noindexed pages, redirects, and deprecated tags
  • Split large sitemaps (>50k URLs) with sitemap index files
  • Generate sitemaps from industry templates with interactive structure planning
  • Apply quality gates to prevent thin content penalties at scale
  • Generate documentation of site architecture and URL organization

How to install seo-sitemap

npx skills add https://github.com/agricidaniel/claude-seo --skill seo-sitemap
Claude Code
Cursor
Windsurf
Cline

How to use seo-sitemap

  1. 1.Provide a URL to analyze an existing sitemap, or request 'generate' to create a new one
  2. 2.For analysis: the skill checks XML validity, URL accessibility, and quality signals, then outputs a validation report
  3. 3.For generation: specify your business type or let the skill auto-detect, then work through interactive structure planning
  4. 4.Review the generated sitemap.xml (or split files) and STRUCTURE.md documentation
  5. 5.If >50k URLs, confirm the split structure with sitemap index file

Use cases

Good for
  • Audit an existing sitemap for broken URLs, format errors, and SEO compliance
  • Generate a new sitemap for a website launch with proper structure and splitting
  • Identify missing pages by comparing crawled content against sitemap entries
  • Split an oversized sitemap into multiple files with a sitemap index
  • Validate that noindexed or redirected URLs are not included in the sitemap
Who it's for
  • SEO specialists auditing site health
  • Web developers building or maintaining sitemaps
  • Site owners preparing for search engine submission
  • Technical SEO teams managing large multi-section sites

seo-sitemap FAQ

What happens if my sitemap has more than 50,000 URLs?

The skill will split it into multiple sitemap files and generate a sitemap index file to reference them all, which is the protocol requirement.

Does this check if my sitemap is actually referenced in robots.txt?

Yes, the validation checks whether the sitemap is referenced in robots.txt and flags it if missing.

Will the skill remove deprecated tags like priority and changefreq?

The skill identifies these tags as ignored by Google and notes them in the report, but you can remove them manually or request regeneration.

What types of pages are safe to include at scale?

Safe pages include integration docs, templates with downloadable content, glossary entries (200+ words), product pages with unique specs, and user-generated content. Avoid thin location pages or AI-generated content without unique value.

Can I generate a sitemap without an existing site?

Yes, use the 'generate' mode with your business type, and the skill will create a sitemap from an industry template with interactive structure planning.

Full instructions (SKILL.md)

Source of truth, from agricidaniel/claude-seo.


name: seo-sitemap description: > Analyze existing XML sitemaps or generate new ones with industry templates. Validates format, URLs, and structure. Use when user says "sitemap", "generate sitemap", "sitemap issues", or "XML sitemap". user-invocable: true argument-hint: "[url or generate]" license: MIT metadata: author: AgriciDaniel version: "2.2.0" category: seo

Sitemap Analysis & Generation

Mode 1: Analyze Existing Sitemap

Validation Checks

  • Valid XML format
  • URL count <50,000 per file (protocol limit)
  • All URLs return HTTP 200
  • <lastmod> dates are accurate (not all identical)
  • No deprecated tags: <priority> and <changefreq> are ignored by Google
  • Sitemap referenced in robots.txt
  • Compare crawled pages vs sitemap; flag missing pages

Quality Signals

  • Sitemap index file if >50k URLs
  • Split by content type (pages, posts, images, videos)
  • No non-canonical URLs in sitemap
  • No noindexed URLs in sitemap
  • No redirected URLs in sitemap
  • HTTPS URLs only (no HTTP)

Common Issues

IssueSeverityFix
>50k URLs in single fileCriticalSplit with sitemap index
Non-200 URLsHighRemove or fix broken URLs
Noindexed URLs includedHighRemove from sitemap
Redirected URLs includedMediumUpdate to final URLs
All identical lastmodLowUse actual modification dates
Priority/changefreq usedInfoCan remove (ignored by Google)

Mode 2: Generate New Sitemap

Process

  1. Ask for business type (or auto-detect from existing site)
  2. Load industry template from ../seo-plan/assets/ directory
  3. Interactive structure planning with user
  4. Apply quality gates:
    • ⚠️ WARNING at 30+ location pages (require 60%+ unique content)
    • 🛑 HARD STOP at 50+ location pages (require justification)
  5. Generate valid XML output
  6. Split at 50k URLs with sitemap index
  7. Generate STRUCTURE.md documentation

Safe Programmatic Pages (OK at scale)

✅ Integration pages (with real setup docs) ✅ Template/tool pages (with downloadable content) ✅ Glossary pages (200+ word definitions) ✅ Product pages (unique specs, reviews) ✅ User profile pages (user-generated content)

Penalty Risk (avoid at scale)

❌ Location pages with only city name swapped ❌ "Best [tool] for [industry]" without industry-specific value ❌ "[Competitor] alternative" without real comparison data ❌ AI-generated pages without human review and unique value

Sitemap Format

Standard Sitemap

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/page</loc>
    <lastmod>2026-02-07</lastmod>
  </url>
</urlset>

Sitemap Index (for >50k URLs)

<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap>
    <loc>https://example.com/sitemap-pages.xml</loc>
    <lastmod>2026-02-07</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://example.com/sitemap-posts.xml</loc>
    <lastmod>2026-02-07</lastmod>
  </sitemap>
</sitemapindex>

Error Handling

  • URL unreachable: Report the HTTP status code and suggest checking if the site is live
  • No sitemap found: Check common locations (/sitemap.xml, /sitemap_index.xml, robots.txt reference) before reporting "not found"
  • Invalid XML format: Report specific parsing errors with line numbers
  • Rate limiting detected: Back off and report partial results with a note about retry timing

Output

For Analysis

  • VALIDATION-REPORT.md: analysis results
  • Issues list with severity
  • Recommendations

For Generation

  • sitemap.xml (or split files with index)
  • STRUCTURE.md: site architecture documentation
  • URL count and organization summary