Technical SEO

Sitemap Auditor

/sitemap-audit

Validate your XML sitemap for errors, missing pages, and inconsistencies. Checks lastmod dates, priorities, URL counts, and cross-references against actual crawlable pages.

Get this skill

Install all free SEO skills with one command:

curl -fsSL https://raw.githubusercontent.com/ccforseo/seo-skills/main/install.sh | bash

Or install this skill manually:

$ git clone https://github.com/ccforseo/seo-skills.git
$ cp -r seo-skills/sitemap-auditor ~/.claude/skills/sitemap-auditor
View on GitHubFree · MIT License · 8 skills included

What it does

The Sitemap Auditor skill parses your XML sitemap or sitemap index and validates every entry against your live site. It flags URLs returning non-200 status codes, pages missing from the sitemap, outdated lastmod timestamps, and sitemap size limit violations. The output includes a health score and prioritized list of fixes to improve crawl efficiency.

Key features

  • Validates all URLs in your sitemap against live HTTP responses
  • Identifies pages on your site missing from the sitemap
  • Checks lastmod timestamps for accuracy
  • Flags sitemaps exceeding size or URL count limits
  • Cross-references sitemap URLs with robots.txt disallow rules

How to use Sitemap Auditor

  1. Run the command

    Type /sitemap-audit and provide your sitemap URL. The skill fetches and parses the XML, then checks each URL.

  2. Review findings

    The output lists errors (404s, 5xx), warnings (outdated lastmod, missing pages), and informational items. Each finding includes the affected URL and recommended fix.

  3. Update your sitemap

    Remove broken URLs, add missing pages, and update lastmod dates. Resubmit to Google Search Console after corrections.

When to use it

Quarterly sitemap health check

Post-migration sitemap validation

Debugging indexation issues in Google Search Console

Ensuring new content is included in the sitemap

Frequently asked questions

How many URLs can an XML sitemap contain?

A single XML sitemap can contain up to 50,000 URLs and must be under 50MB uncompressed. For larger sites, use a sitemap index file that references multiple sub-sitemaps. The skill checks both limits.

Does the Sitemap Auditor check sitemap index files?

Yes. If you provide a sitemap index, the skill fetches all referenced sub-sitemaps and validates every URL across all of them. It also checks the index file formatting.

Should lastmod dates in my sitemap be accurate?

Yes. Google uses lastmod to prioritize crawling. If all dates are identical or clearly wrong, Google may ignore them entirely. The skill flags pages where lastmod does not match the actual last-modified header.

Can I auto-generate an updated sitemap from the audit results?

The skill focuses on auditing. Use it to identify issues, then regenerate your sitemap through your CMS or static site generator with corrections applied. Pair with /robots-gen to ensure proper sitemap references.

Get all 50 skills

The SEO Command Center includes every skill in this library plus Python data fetchers, CLAUDE.md configs, and report templates. One-time purchase.

Browse all skills