
XML sitemap check
Checks XML sitemaps against indexable pages and builds a clean sitemap from an inventory
XML sitemap check is an open-source agent skill for marketing and seo. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 15
- Last commit
- License
- MIT
- Listing updated
Similar skills
About XML sitemap check
This skill audits every sitemap a site exposes, including those listed in robots.txt, submitted in Search Console or Bing Webmaster Tools, or left over from old plugins. It checks that each file is valid XML with correct limits and absolute URLs, then samples listed URLs for status, redirects, canonicals, noindex and robots.txt blocking. It also looks for indexable pages missing from sitemaps and tests whether lastmod dates reflect real content changes.
The workflow compares three counts per section: URLs in the sitemap, indexable canonical URLs found by crawl, and indexed URLs from Search Console. Findings are sorted into fix-now, fix-next and worth-doing priorities, and each fix is tied to the generator, plugin or template setting that needs changing. When asked, it drafts a split sitemap index with inclusion rules and a lastmod source taken from the content record.
The skill works best with a page inventory, a crawler export and Search Console access, but it includes fallback steps for checking with only a browser and spreadsheet. It does not submit sitemaps or edit robots.txt itself; it drafts those changes for the user to approve.
When your agent uses it
Validate your XML sitemaps against the pages that should actually be indexed, and generate a clean one from a page inventory. Use for "check my sitemap", "sitemap errors in Search Console", "submitted URL not indexed", "sitemap couldn't fetch", lastmod questions, or building a sitemap for a custom site.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (14 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the romeo-seo plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add RomeoSEO/seo-skills
/plugin install romeo-seo@romeoseoOr copy only this skill to ~/.claude/skills/xml-sitemap-check:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RomeoSEO/seo-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/xml-sitemap-check &&
cp -R "$tmp/skills/xml-sitemap-check" ~/.claude/skills/xml-sitemap-check &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/xml-sitemap-check inside it instead.
Copy the skill folder to ~/.agents/skills/xml-sitemap-check to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RomeoSEO/seo-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/xml-sitemap-check &&
cp -R "$tmp/skills/xml-sitemap-check" ~/.agents/skills/xml-sitemap-check &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/xml-sitemap-check inside it instead.
Copy the skill folder to ~/.cursor/skills/xml-sitemap-check to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RomeoSEO/seo-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/xml-sitemap-check &&
cp -R "$tmp/skills/xml-sitemap-check" ~/.cursor/skills/xml-sitemap-check &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/xml-sitemap-check inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/RomeoSEO/seo-skills.git --path skills/xml-sitemap-checkOr copy the folder to ~/.gemini/skills/xml-sitemap-check yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/xml-sitemap-check:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RomeoSEO/seo-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/xml-sitemap-check &&
cp -R "$tmp/skills/xml-sitemap-check" ~/.copilot/skills/xml-sitemap-check &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/xml-sitemap-check inside it instead.
Get the folder:
git clone --depth 1 https://github.com/RomeoSEO/seo-skills.gitThen copy seo-skills/skills/xml-sitemap-check into your agent's skills folder as xml-sitemap-check. Agents that support SKILL.md read one folder per skill.
What it does
- Sitemap file validation
- Checks that each sitemap returns XML with the right namespace, encoding, escaping and size limits.
- Indexability cross-check
- Compares listed URLs against status codes, canonicals, noindex rules and robots.txt blocks.
- Missing URL detection
- Finds indexable pages with internal links that no sitemap includes, grouped by template.
- lastmod honesty test
- Samples URLs to see whether lastmod dates match real content changes or build timestamps.
- Index count comparison
- Compares sitemap, crawl and Search Console indexed counts per section to locate gaps.
- Clean sitemap generation
- Drafts a split sitemap index and child files with inclusion rules and regeneration triggers.
Good for
- Check my sitemap for errors and URLs that should not be in it
- Find indexable pages that are missing from my sitemaps
- Figure out why Search Console says a sitemap couldn't be fetched
- Verify whether my lastmod dates can be trusted
- Plan a sitemap structure for a custom or headless site
XML sitemap check FAQ
Does XML sitemap check need any tools or scripts?
No scripts are included and no allowed tools are set. The skill describes manual checks with a browser, spreadsheet, Search Console and optionally a crawler export.
Does XML sitemap check change my sitemap or submit it to Search Console?
No. It drafts changes and asks for permission before submitting or deleting sitemaps in Search Console or Bing, or editing robots.txt.
Does a sitemap make Google index my pages?
The skill states that a sitemap helps discovery and hints at the preferred URL but does not force indexing.
Which sitemap fields does XML sitemap check recommend?
It says Google uses only lastmod, and only when accurate. It advises omitting priority and changefreq and not tuning them.
How do I install XML sitemap check in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/xml-sitemap-check to use it in all your projects, or to .claude/skills/xml-sitemap-check in one project. Or install the romeo-seo plugin, which includes it: /plugin marketplace add RomeoSEO/seo-skills, then /plugin install romeo-seo@romeoseo.
Does XML sitemap check run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use XML sitemap check?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to XML sitemap check?
The closest alternatives to XML sitemap check are SEO sitemap, SEO audit, SEO audit, Site content inventory and SEO audit.
Where this comes from
- Description: from the skill's own SKILL.md.
More from RomeoSEO/seo-skills

Checks and sets up how AI crawlers, search bots and browsing agents reach your site
- Open source
- 15 GitHub stars
- Marketing and SEO

Finds and fixes what AI answer engines get wrong about a business, tracing claims
- Open source
- 15 GitHub stars
- Marketing and SEO

Restructures a page passage by passage so AI answer engines can quote it accurately
- Open source
- 15 GitHub stars
- Marketing and SEO

Finds the questions buyers ask AI assistants and maps each to the page to cite
- Open source
- 15 GitHub stars
- Marketing and SEO

Measures and improves how AI answer engines cite and recommend a brand
- Open source
- 15 GitHub stars
- Marketing and SEO

Diagnoses why store products are missing or misquoted in AI shopping answers and fixes
- Open source
- 15 GitHub stars
- Marketing and SEO




