New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Analyzes XML sitemaps against Google's limits, or generates new ones from industry templates.

skills.sh installs
8.3K
GitHub stars
31.5K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers discovery of sitemaps declared in robots.txt plus common paths, with optional expansion of sitemap indexes via sitemap_discovery.py --expand
  • Checks per-file limits of 50,000 URLs and 50MB, lastmod validity, duplicates, cross-host URLs, and redirected or noindexed entries
  • Validates image, video, and news extension subtypes, flagging deprecated tags and the 2-day news window
  • Designed for SEO audits of existing sitemaps and for generating new ones with quality gates on programmatic location pages

Install

$ npx -y skills add agricidaniel/claude-seo --skill seo-sitemap -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Sitemap Analysis & Generation

Mode 1: Analyze Existing Sitemap

Discover candidates before reporting a sitemap missing, and read every sitemap found in the same run:

"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run sitemap_discovery.py <url> --expand --json

The helper reads every bounded Sitemap: declaration in robots.txt, validates cross-host targets through the shared SSRF-safe fetch layer, and still probes common paths when a declared sitemap is stale or invalid. Use only entries in found; preserve declared failures as findings instead of treating a robots.txt line alone as proof that a sitemap works. Gzip sitemaps (.xml.gz) are inflated and classified by their content; such an entry carries gzip: true.

With --expand it also follows a sitemap index one level down to its child sitemaps and counts every entry. expanded.files has one object per sitemap file and expanded.totals sums them. Read these checks from the output; do not count or parse sitemap files by hand:

Details

Repository
github.com/agricidaniel/claude-seo
Categories
Marketing, SEO & Ads, Technical Documentation
First seen
Apr 16, 2026

More from agricidaniel/claude-seo

All 25

Similar to Seo Sitemap

More Marketing, SEO & Ads