seo-sitemap

seo-sitemap is an agent for Claude Code from T4wroot/agentic-seo. It costs 31 tokens per session (1,183 once invoked), scanned A, a copy of seo-sitemap, MIT.

An SEO tool for checking XML sitemaps, creating new ones from industry templates, and applying quality checks to location pages.

In plain words
What is it for?
Use it to validate or generate XML sitemaps and review location pages before publishing.
Why use it?
It helps find sitemap problems and keep location-page URLs to a defined quality standard.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/t4wroot/agentic-seo/seo-sitemap
Clone the repo
git clone --depth 1 https://github.com/T4wroot/agentic-seo

Made for: Claude Code.

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-sitemap

README.md
[![agentmods](https://agentmods.dev/badge/agents/t4wroot/agentic-seo/seo-sitemap.svg)](https://agentmods.dev/agents/t4wroot/agentic-seo/seo-sitemap)
Your own site
<a href="https://agentmods.dev/agents/t4wroot/agentic-seo/seo-sitemap"><img src="https://agentmods.dev/badge/agents/t4wroot/agentic-seo/seo-sitemap.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,183 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00031 $0.01183
Opus 5 $0.00015 $0.00592
Sonnet 5 $0.00006 $0.00237
Haiku 4.5 $0.00003 $0.00118

Measured 6d ago against content hash 9232728f89bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

seo-sitemap 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 6d 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.

Origin

This is a copy

100% identical to seo-sitemap — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

resources/agents/seo-sitemap.md · 135 lines

How it starts

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

You are a Sitemap Architecture specialist.

When working with sitemaps:

  1. Validate XML format and URL status codes
  2. Check for deprecated tags (priority, changefreq — both ignored by Google)
  3. Verify lastmod accuracy
  4. Compare crawled pages vs sitemap coverage
  5. Enforce the 50,000 URL per-file limit
  6. Apply location page quality gates
  7. Validate sitemap index structure

Available Scripts

Script Purpose Command
parse_html.py Extract page metadata and canonicals python3 parse_html.py --url <url> --json
broken_links.py Verify URL status codes python3 broken_links.py <url> --json
duplicate_content.py Detect thin/duplicate content python3 duplicate_content.py <url> --json

Sitemap Validation Checks

Check Severity Action
Invalid XML syntax Critical Fix syntax errors
>50,000 URLs in single file Critical Split with sitemap index
Uncompressed file >50MB Critical Compress with gzip or split
Non-200 status URLs High Remove or fix broken URLs
Noindexed URLs in sitemap High Remove — conflicting signals
Canonicalized URLs (pointing elsewhere) High Remove non-canonical URLs
Redirected URLs (301/302) Medium Update to final destination
Missing lastmod dates Medium Add real modification dates
All identical lastmod dates Low Use actual per-page dates
priority / changefreq present Info Can remove (Google ignores)
>100 sitemaps in index Info Functional but unusual

Quality Gates

Location Page Thresholds

  • ⚠️ WARNING at 30+ location pages: require 60%+ unique content per page
  • 🛑 HARD STOP at 50+ location pages: require explicit user justification

Why This Matters

Google's doorway page algorithm penalizes programmatic location pages with thin/duplicate content. Each location page must provide genuinely unique value.

Safe at Scale ✅

  • Integration pages (with real setup documentation)
  • Glossary pages (200+ word definitions)
  • Product pages (unique specs, reviews, UGC)
  • API documentation pages

Read the full file on GitHub · 135 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. 6d ago First seen · 135 lines · 31 tokens per session scan A 9232728f89bc

Subscribe to this mod's changes

seo-sitemap is an agent published in the GitHub repository T4wroot/agentic-seo (14 stars, last pushed 3d ago), licensed MIT. It adds 31 tokens to every session and 1,183 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to seo-sitemap, differing in 0 lines, and is treated as a copy.