Sitemap Auditor
/sitemap-auditValidate 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 | bashOr install this skill manually:
$ git clone https://github.com/ccforseo/seo-skills.git
$ cp -r seo-skills/sitemap-auditor ~/.claude/skills/sitemap-auditorWhat 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
Run the command
Type /sitemap-audit and provide your sitemap URL. The skill fetches and parses the XML, then checks each URL.
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.
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.
Related skills
Robots.txt Generator
/robots-genGenerate and validate robots.txt files for your site. Handles multi-bot rules, crawl-delay directives, and sitemap declarations.
Technical SEOSite Audit
/seo-auditRun a full technical SEO audit from your terminal. Checks crawlability, indexation issues, meta tags, page speed signals, and site structure in one pass.
Technical SEOBroken Link Checker
/broken-linksFind all broken internal and external links on your site. Reports 404s, 5xx errors, timeout links, and redirect chains with their source pages.
Technical SEOHreflang Validator
/hreflang-checkValidate hreflang implementation across your multilingual site. Detects missing return tags, incorrect language codes, and x-default issues.
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.