seo-sitemap

Analyze and generate XML sitemaps with validation reports.

6|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/BestLemoon/codex-seo --skill seo-sitemap-bestlemoon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: seo-sitemap
Source: https://github.com/BestLemoon/codex-seo/tree/main/skills/seo-sitemap
Command: npx skills add https://github.com/BestLemoon/codex-seo --skill seo-sitemap-bestlemoon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Many websites have malformed or incomplete XML sitemaps that hinder search engine crawling and indexing, include broken or redirected URLs, or exceed protocol limits, causing missed pages and reduced visibility.

Core Features & Use Cases

  • Analyze existing sitemaps: validate XML format, check URL counts, verify HTTP 200 responses, and flag non-canonical, redirected, or noindexed URLs.
  • Generate new sitemaps: produce industry-template XML sitemaps, split into sitemap index files when needed, and create STRUCTURE.md documentation.
  • Quality gates and guidance: enforce limits (50k URLs), warn on large location-page sets, and provide remediation steps for common issues.
  • Use Case: Run a full sitemap audit to compare crawled pages against sitemap entries, produce a VALIDATION-REPORT.md with severity-ranked issues, and optionally generate a corrected sitemap.xml for publishing.

Quick Start

Analyze the sitemap for https://example.com and produce a VALIDATION-REPORT.md listing issues, severities, and recommended fixes.

Frequently Asked Questions about seo-sitemap

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate an XML sitemap for broken URLs and format errors?

To validate an XML sitemap, analyze the file to check XML syntax, verify HTTP 200 responses, and flag redirected or noindexed URLs. This process produces a structured validation report ranking issues by severity with recommended fixes.

How do I generate an XML sitemap for a large website exceeding the 50,000 URL limit?

Generate XML sitemaps for large sites by splitting entries into multiple sitemap index files when the 50,000 URL limit is exceeded. This outputs industry-template XML files and accompanying STRUCTURE.md documentation.

What does a sitemap audit check for in crawled pages versus sitemap entries?

A sitemap audit compares crawled pages against sitemap entries to identify missing URLs, verify lastmod accuracy, and enforce protocol limits. It outputs a validation report flagging discrepancies and common indexing issues.

Can I generate a corrected sitemap.xml automatically after finding validation errors?

Yes, after running a full sitemap audit to identify malformed XML entries, you can optionally generate a corrected sitemap.xml file. This ensures the final output excludes broken links and adheres to protocol limits for publishing.

Why does my sitemap validation report flag non-canonical and noindexed URLs?

Sitemap validation flags non-canonical and noindexed URLs because including them hinders search engine crawling and indexing. Removing these entries ensures search engines focus on valid pages to improve site visibility.

Do I need a robots.txt file to perform a sitemap generation and structure audit?

While robots.txt is related to crawling rules, sitemap generation focuses on analyzing XML syntax, HTTP status codes, and URL integrity. The audit can produce sitemap index files and structure documentation independently of robots.txt configuration.