nuxt-seo:validate-sitemap

nuxt-seo:validate-sitemap is a command for Claude Code from secondsky/claude-skills. It costs 17 tokens per session (827 once invoked), scanned A, original, MIT.

A command that checks a Nuxt site's sitemap configuration. A sitemap is a file listing pages that search engines can discover.

In plain words
What is it for?
Use it to validate sitemap modules, configuration, generated URLs, API-based page sources, caching, and language support.
Why use it?
It catches missing site URLs, invalid dynamic page sources, language-routing problems, conflicting settings, and incorrect page inclusion or exclusion rules.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the nuxt-seo plugin — 1 skill, 6 commands, 5 agents shipped together

Good fit Use it to validate sitemap modules, configuration, generated URLs, API-based page sources, caching, and language support.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/secondsky/claude-skills/validate-sitemap
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.

Clone the repo
git clone --depth 1 https://github.com/secondsky/claude-skills

Made for: Claude Code.

Or install nuxt-seo, the plugin that ships this one along with the rest of its 1 skill, 6 commands, 5 agents.

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 nuxt-seo:validate-sitemap

README.md
[![agentmods](https://agentmods.dev/badge/commands/secondsky/claude-skills/validate-sitemap/github.svg)](https://agentmods.dev/commands/secondsky/claude-skills/validate-sitemap)
Your own site
<a href="https://agentmods.dev/commands/secondsky/claude-skills/validate-sitemap"><img src="https://agentmods.dev/badge/commands/secondsky/claude-skills/validate-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 nuxt-seo:validate-sitemap

Your own site · 80×15
<a href="https://agentmods.dev/commands/secondsky/claude-skills/validate-sitemap"><img src="https://agentmods.dev/badge/commands/secondsky/claude-skills/validate-sitemap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 827 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.00017 $0.00827
Opus 5.5 $0.00007 $0.00331
Sonnet 5.5 $0.00003 $0.00165
Haiku 4.5 $0.00002 $0.00083

Measured 8d ago against content hash 0d985f82e0f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nuxt-seo:validate-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 8d 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.

plugins/nuxt-seo/commands/validate-sitemap.md · 130 lines

How it starts

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

Validate Sitemap Command

Validate sitemap configuration and identify common issues in Nuxt applications.

What This Command Does

  1. Checks sitemap configuration in nuxt.config.ts
  2. Verifies site.url is set (required for sitemaps)
  3. Analyzes dynamic URL sources
  4. Checks i18n sitemap integration
  5. Validates exclude/include patterns
  6. Reviews caching configuration

Quick Actions

Check Sitemap Configuration

# Check site.url (required)
grep -E "site:|url:" nuxt.config.ts | head -10

# Check sitemap config
grep -A 30 "sitemap:" nuxt.config.ts

# Check for API sources
ls -la server/api/__sitemap__/

Verify Module Installation

# Check if sitemap module is installed
grep -E "@nuxtjs/seo|@nuxtjs/sitemap|nuxt-sitemap" package.json

Check Dynamic Sources

# Find sitemap API endpoints
find server -name "*.ts" | xargs grep -l "defineSitemapEventHandler"

# Check sources configuration
grep -A 5 "sources:" nuxt.config.ts

Validation Checklist

Required Configuration

  • site.url is set in nuxt.config.ts
  • Module is installed and added to modules array
  • No conflicting sitemap configurations

Dynamic URLs

  • API endpoints return valid SitemapUrl objects
  • loc paths are relative (not absolute URLs)
  • lastmod dates are valid ISO strings

Multi-Sitemap

  • Sitemaps have unique names
  • _sitemap key used correctly in sources
  • No overlapping include/exclude patterns

I18n

  • i18n module loaded before sitemap
  • _i18nTransform used for dynamic URLs
  • Locale sitemaps generating correctly

Performance

  • Caching configured for large sites
  • Chunking enabled for >1000 URLs
  • Sources are optimized

Common Issues

Issue Cause Fix
Empty sitemap Missing site.url Add site: { url: '...' }
404 on sitemap.xml Module not installed Install @nuxtjs/sitemap
Duplicate URLs Multiple sources overlap Use include/exclude filters
Missing dynamic URLs Source not registered Add to sources: []
i18n not working Module order wrong Load i18n before sitemap

Read the full file on GitHub · 130 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. 8d ago First seen · 130 lines · 17 tokens per session scan A 0d985f82e0f1

Subscribe to this mod's changes

nuxt-seo:validate-sitemap is a command published in the GitHub repository secondsky/claude-skills (257 stars, last pushed 8d ago), licensed MIT. It adds 17 tokens to every session and 827 once invoked, about $0.0001 per session on Opus 5.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-11-22.

Related

nuxt-seo:validate-sitemap compared with commands from other repositories

nuxt-seo:validate-sitemap next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nuxt-seo:validate-sitemapsecondsky/claude-skillsCommand2578d agoMITA17Claude Code
checklistgithub/spec-kitCommand153k3d agoMITA13Claude Code
clarifygithub/spec-kitCommand153k3d agoMITA27Claude Code
analyzegithub/spec-kitCommand153k3d agoMITA26Claude Code
specifygithub/spec-kitCommand153k3d agoMITA13Claude Code
convergegithub/spec-kitCommand153k3d agoMITA35Claude Code
implementgithub/spec-kitCommand153k3d agoMITA14Claude Code