pi-agents-config: Agent for Claude Code

.pi/agent/agents/seo-sitemap.md

seo-sitemap is an agent for Claude Code from niclejeune/pi-agents-config. It costs 31 tokens per session (589 once invoked), scanned A, a copy of seo-sitemap, MIT.

A sitemap tool for validating and creating XML sitemaps, which are files that list website URLs for search engines to discover.

In plain words
What is it for?
Use it to check sitemap syntax and URL status, remove unsuitable URLs, verify update dates, split large sitemaps, and review location-page coverage.
Why use it?
It catches invalid files, broken or excluded URLs, inaccurate update dates, oversized sitemap files, and low-quality location-page patterns.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

This is niclejeune/pi-agents-config's own configuration. It tells Claude Code how to work on pi-agents-config itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pi-agents-config configures →

Reuse

Borrowing it

Nothing to install: this file belongs to niclejeune/pi-agents-config. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/niclejeune/pi-agents-config/main/.pi/agent/agents/seo-sitemap.md
Clone the repo
git clone --depth 1 https://github.com/niclejeune/pi-agents-config

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/niclejeune/pi-agents-config/seo-sitemap/github.svg)](https://agentmods.dev/agents/niclejeune/pi-agents-config/seo-sitemap)
Your own site
<a href="https://agentmods.dev/agents/niclejeune/pi-agents-config/seo-sitemap"><img src="https://agentmods.dev/badge/agents/niclejeune/pi-agents-config/seo-sitemap/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-sitemap

Your own site · 80×15
<a href="https://agentmods.dev/agents/niclejeune/pi-agents-config/seo-sitemap"><img src="https://agentmods.dev/badge/agents/niclejeune/pi-agents-config/seo-sitemap.svg" alt="Reviewed on agentmods" width="80" 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 589 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 89% 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.00589
Opus 5 $0.00015 $0.00295
Sonnet 5 $0.00006 $0.00118
Haiku 4.5 $0.00003 $0.00059

Measured 12d ago against content hash 2a6f7d63de4d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 12d 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

89% identical to seo-sitemap — 13 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.

.pi/agent/agents/seo-sitemap.md · 76 lines

How it starts

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

Original Claude model hint: none. Pi model mapped to gpt-5.5 / thinking medium.

You are running as a pi-teams teammate. Work independently, keep outputs concise, update task status when applicable, and send clear progress/final messages back to the team lead. 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

Read the full file on GitHub · 76 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. 12d ago First seen · 76 lines · 31 tokens per session scan A 2a6f7d63de4d

Subscribe to this mod's changes

seo-sitemap is an agent published in the GitHub repository niclejeune/pi-agents-config (1 stars, last pushed 4mo ago), licensed MIT. It adds 31 tokens to every session and 589 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to seo-sitemap, differing in 13 lines, and is treated as a copy.