pi-agents-config: Skill for Claude Code

.pi/agent/skills/seo-sitemap/SKILL.md

seo-sitemap is a skill for Claude Code, Codex from niclejeune/pi-agents-config. It costs 49 tokens per session (838 once invoked), scanned A, a copy of 30x-seo-sitemap, MIT.

A skill for checking or creating an XML sitemap, a file that lists the web pages a search engine should discover and crawl.

In plain words
What is it for?
Use it to validate an existing sitemap, compare it with crawled pages, or generate one based on a site's content type and business category.
Why use it?
It finds invalid, broken, redirected, or excluded URLs and checks whether the sitemap follows size and format rules.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is niclejeune/pi-agents-config's own configuration. It tells Claude Code and Codex 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/skills/seo-sitemap/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/niclejeune/pi-agents-config

Made for: Claude Code, Codex.

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/skills/niclejeune/pi-agents-config/seo-sitemap/github.svg)](https://agentmods.dev/skills/niclejeune/pi-agents-config/seo-sitemap)
Your own site
<a href="https://agentmods.dev/skills/niclejeune/pi-agents-config/seo-sitemap"><img src="https://agentmods.dev/badge/skills/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/skills/niclejeune/pi-agents-config/seo-sitemap"><img src="https://agentmods.dev/badge/skills/niclejeune/pi-agents-config/seo-sitemap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 838 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 97% 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.00049 $0.00838
Opus 5 $0.00024 $0.00419
Sonnet 5 $0.00010 $0.00168
Haiku 4.5 $0.00005 $0.00084

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

97% identical to 30x-seo-sitemap — 7 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/skills/seo-sitemap/SKILL.md · 105 lines

How it starts

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

Sitemap Analysis & Generation

Mode 1: Analyze Existing Sitemap

Validation Checks

  • Valid XML format
  • URL count <50,000 per file (protocol limit)
  • All URLs return HTTP 200
  • <lastmod> dates are accurate (not all identical)
  • No deprecated tags: <priority> and <changefreq> are ignored by Google
  • Sitemap referenced in robots.txt
  • Compare crawled pages vs sitemap — flag missing pages

Quality Signals

  • Sitemap index file if >50k URLs
  • Split by content type (pages, posts, images, videos)
  • No non-canonical URLs in sitemap
  • No noindexed URLs in sitemap
  • No redirected URLs in sitemap
  • HTTPS URLs only (no HTTP)

Common Issues

Issue Severity Fix
>50k URLs in single file Critical Split with sitemap index
Non-200 URLs High Remove or fix broken URLs
Noindexed URLs included High Remove from sitemap
Redirected URLs included Medium Update to final URLs
All identical lastmod Low Use actual modification dates
Priority/changefreq used Info Can remove (ignored by Google)

Mode 2: Generate New Sitemap

Process

  1. Ask for business type (or auto-detect from existing site)
  2. Load industry template from assets/ directory
  3. Interactive structure planning with user
  4. Apply quality gates:
    • ⚠️ WARNING at 30+ location pages (require 60%+ unique content)
    • 🛑 HARD STOP at 50+ location pages (require justification)
  5. Generate valid XML output
  6. Split at 50k URLs with sitemap index
  7. Generate STRUCTURE.md documentation

Safe Programmatic Pages (OK at scale)

✅ Integration pages (with real setup docs) ✅ Template/tool pages (with downloadable content) ✅ Glossary pages (200+ word definitions) ✅ Product pages (unique specs, reviews) ✅ User profile pages (user-generated content)

Penalty Risk (avoid at scale)

❌ Location pages with only city name swapped ❌ "Best [tool] for [industry]" without industry-specific value ❌ "[Competitor] alternative" without real comparison data ❌ AI-generated pages without human review and unique value

Read the full file on GitHub · 105 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. 11d ago First seen · 105 lines · 49 tokens per session scan A d5c9155dd18d

Subscribe to this mod's changes

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

Related

Other skills, from other repositories

exa-research-planner

Plan, draft, and execute Exa deep-research workflows. Use when the user wants staged research planning, cost-aware discovery before deep synthesis, or an explicit deep-research report. Also use when the user asks to refine a research question, compare options, explore a market or technical landscape, gather sources…

feniix/pi-extensions · 79 tokens

brpr

(devtools plugin) Create a branch, commit changes, push, and open a PR — or just commit+push+PR if already on a feature branch. Links related issues from GitHub or Linear based on project tracker config.

feniix/pi-extensions · 49 tokens

workspace-explorer

Explore and navigate Notion workspaces via MCP. Use when searching for pages, understanding database structure, finding content, creating or updating pages/databases, or managing Notion workspace content. Triggers when user asks about Notion, mentions Notion pages/databases, wants to find something in their wiki…

feniix/pi-extensions · 123 tokens

merge

Merge or squash-merge a pull request and report best-effort remote and local source-branch cleanup. Use when user says "merge this PR", "squash merge", "md", "smd", or anything about merging pull requests.

feniix/pi-extensions · 52 tokens

release

Automate the release process. Use when user says "cut a release", "new version", "bump version", "publish release", or anything about versioning and publishing.

feniix/pi-extensions · 38 tokens

setup-oauth

Guide the user through setting up Notion MCP with OAuth authentication.

feniix/pi-extensions · 16 tokens