seo-sitemaps

seo-sitemaps is a skill for Claude Code from Hainrixz/claude-seo-ai. It costs 68 tokens per session (1,734 once invoked), scanned A, original, MIT.

An audit and repair guide for XML sitemaps and robots.txt, the files that tell crawlers which pages exist and where the sitemap is. It checks URLs, limits, dates, extensions, redirects, and canonical pages.

In plain words
What is it for?
Use it to validate or generate sitemap entries, check robots.txt references, reconcile unlinked pages, and remove redirected, blocked, or non-canonical URLs.
Why use it?
It helps prevent crawlers from discovering the wrong pages or missing important ones, which can weaken search indexing.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the claude-seo-ai plugin — 34 skills, 5 agents, 1 hook shipped together

Good fit Use it to validate or generate sitemap entries, check robots.txt references, reconcile unlinked pages, and remove redirected, blocked, or non-canonical URLs.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Hainrixz/claude-seo-ai
Claude Code
/plugin install claude-seo-ai

Made for: Claude Code.

Or install claude-seo-ai, the plugin that ships this one along with the rest of its 34 skills, 5 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for seo-sitemaps

README.md
[![agentmods](https://agentmods.dev/badge/skills/hainrixz/claude-seo-ai/seo-sitemaps/github.svg)](https://agentmods.dev/skills/hainrixz/claude-seo-ai/seo-sitemaps)
Your own site
<a href="https://agentmods.dev/skills/hainrixz/claude-seo-ai/seo-sitemaps"><img src="https://agentmods.dev/badge/skills/hainrixz/claude-seo-ai/seo-sitemaps/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for seo-sitemaps

Your own site · 80×15
<a href="https://agentmods.dev/skills/hainrixz/claude-seo-ai/seo-sitemaps"><img src="https://agentmods.dev/badge/skills/hainrixz/claude-seo-ai/seo-sitemaps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,734 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.01734
Opus 5 $0.00034 $0.00867
Sonnet 5 $0.00014 $0.00347
Haiku 4.5 $0.00007 $0.00173

Measured 5d ago against content hash c3482e05e1d2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

seo-sitemaps scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/seo-sitemaps/SKILL.md · 52 lines

How it starts

The opening of the file, as written. The whole thing — 52 lines — stays where its author put it; the contents beside it link to each section on GitHub.

seo-sitemaps (M17)

Sitemaps are the discovery contract you hand the crawler — they should list exactly the canonical, indexable URLs and nothing else. Schema rules for related markup: references/schema-tier1.md.

Inputs

Work from the PageSnapshot named in your dispatch envelope: read parsed from <run_dir>/pages/<slug>.json plus <run_dir>/site/sitemaps.json (+ site/sitemap-urls.txt), <run_dir>/site/robots.json, and <run_dir>/crawl.json for orphan reconciliation and per-URL status; Grep pages/<slug>.html for verbatim evidence. Deterministic findings already emitted by audit.mjs are listed in <run_dir>/findings.deterministic.json — do not re-emit those ids; add model-judged findings only. If invoked directly with a URL/path and no snapshot exists, first run node "${CLAUDE_PLUGIN_ROOT}/scripts/snapshot.mjs" <target> --out "${CLAUDE_PLUGIN_DATA}/runs" and use the printed snapshot path.

Audits

Working from the PageSnapshot (parsed_rendered when render.used is not none, else parsed) plus site/sitemaps.json and site/robots.json:

  1. Presence & validity: locate XML sitemap(s) (/sitemap.xml, robots Sitemap: lines, sitemap index); parse as well-formed XML against the sitemaps.org schema.
  2. Size limits: each sitemap <=50,000 URLs and <=50MB uncompressed; if exceeded, expect a sitemap index splitting the set.
  3. Extensions: where relevant, validate image:, video:, and news: namespace entries (correct namespace declared, required child elements present).
  4. lastmod accuracy: <lastmod> is valid ISO 8601 and reflects real last-modified time — not a build-time stamp on every URL (which trains crawlers to ignore it).
  5. robots referencing: at least one absolute Sitemap: line in robots.txt.
  6. Sitemap-to-canonical consistency: no URL in the sitemap is noindex, redirected, 4xx/5xx, or non-canonical (self-referencing canonical only). Cross-check indexability with M-indexability.
  7. Orphan reconciliation: diff sitemap URLs against the internal link graph — flag indexable pages absent from the sitemap and sitemap URLs unreachable by internal links.

Read the full file on GitHub · 52 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed · +8 lines c3482e05e1d2
  2. 6d ago Changed · +3 lines da28a13eae08
  3. 13d ago First seen · 41 lines · 68 tokens per session scan A 2de0f13030a9

Subscribe to this mod's changes

seo-sitemaps is a skill published in the GitHub repository Hainrixz/claude-seo-ai (59 stars, last pushed 5d ago), licensed MIT. It adds 68 tokens to every session and 1,734 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

linkedin-post

Draft a daily LinkedIn post for S M Moshiur Rahman about business development, grounded in a real problem he hit that day and real numbers from OmniRank. Use when he says "linkedin post", "today's post", "draft a post", or describes friction he wants written up.

bemoshiur/OmniRank · 63 tokens

audit

Use when asked to audit a site's SEO, check AEO or answer-engine readiness, diagnose why a page is not ranking or not being cited by AI, verify structured data, or run pre-deploy discoverability checks on built HTML.

bemoshiur/OmniRank · 49 tokens

geo-artifacts

Use when asked to generate or fix llms.txt, llms-full.txt or facts.json, make a site citable or ingestible by ChatGPT, Claude, Perplexity or Gemini, or publish machine-readable ground truth for AI crawlers.

bemoshiur/OmniRank · 54 tokens

web-optimization

Audit or generate web content optimized for traditional search (SEO), AI generative answer engines like ChatGPT/Perplexity/Google AI Overviews (GEO), and answer engines / featured snippets / voice (AEO). Use when the user asks to improve a page's ranking or AI-citability, run an SEO/GEO/AEO audit of a URL or file, add…

staksoft/geo-seo-aeo-skill · 105 tokens

fire-your-seo-agency

A procedure for improving how a website appears in search engines and how AI answer systems find and cite it. It covers search, answer-engine, generative-AI, and Naver visibility.

leopard627/fire-your-seo-agency · 162 tokens

ansvisor-aeo-coach-standalone

Standalone (no-MCP) version of the Ansvisor AEO Coach. Use this only when the user's Claude client cannot connect to the Ansvisor MCP server (e.g. claude.ai web without a Connector configured). Fetches live data from the Ansvisor REST API directly with the user's API key via code execution. For clients that support…

ansvisor/ansvisor · 124 tokens