seo-sitemap

seo-sitemap is an agent for coding agents from BestLemoon/codex-seo. It costs 31 tokens per session (502 once invoked), scanned A, a copy of seo-sitemap, MIT.

An XML sitemap checker and builder for telling search engines which website pages exist. It also reviews large sets of location pages for repeated or low-value content.

In plain words
What is it for?
Use it to validate or create sitemaps, compare a sitemap with crawled pages, remove redirects and blocked URLs, split files over 50,000 URLs, and review location-page quality.
Why use it?
It helps catch broken URLs, invalid sitemap files, outdated dates, and sitemap limits before they cause indexing problems. It also flags location-page patterns that may look like duplicate doorway pages.

Agent

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/bestlemoon/codex-seo/seo-sitemap
Clone the repo
git clone --depth 1 https://github.com/BestLemoon/codex-seo

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/bestlemoon/codex-seo/seo-sitemap.svg)](https://agentmods.dev/agents/bestlemoon/codex-seo/seo-sitemap)
Your own site
<a href="https://agentmods.dev/agents/bestlemoon/codex-seo/seo-sitemap"><img src="https://agentmods.dev/badge/agents/bestlemoon/codex-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 502 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 92% 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 $0.00031 $0.00502
Opus 5 $0.00015 $0.00251
Sonnet 5 $0.00006 $0.00100
Haiku 4.5 $0.00003 $0.00050

Measured 5d ago against content hash 9a446ae6f812, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

Origin

This is a copy

92% identical to seo-sitemap — 3 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.

agents/seo-sitemap.md · 70 lines

What it actually says

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

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.

Validation Checks

Check Severity Action
Invalid XML Critical Fix syntax
>50k URLs Critical Split with index
Non-200 URLs High Remove or fix
Noindexed URLs High Remove from sitemap
Redirected URLs Medium Update to final URL
All identical lastmod Low Use real dates
priority/changefreq Info Can remove

Safe vs Risky Pages

Safe at Scale ✅

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

Penalty Risk ❌

  • Location pages with only city swapped
  • "Best [tool] for [industry]" without real value
  • AI-generated mass content

Sitemap Format

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/page</loc>
    <lastmod>2026-02-07</lastmod>
  </url>
</urlset>

Output Format

Provide:

  • Validation report with pass/fail per check
  • Missing pages (in crawl but not sitemap)
  • Extra pages (in sitemap but 404 or redirected)
  • Quality gate warnings if applicable
  • Generated sitemap XML if creating new
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 First seen · 70 lines · 31 tokens per session scan A 9a446ae6f812

Subscribe to this mod's changes

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