sitemap-audit

sitemap-audit is a skill for Claude Code from mostafa-drz/claude-skills. It costs 109 tokens per session (3,408 once invoked), scanned A, original, MIT.

A diagnostic tool for checking whether a website can be discovered correctly by search engines, including its sitemap, robots.txt file, canonical URLs, and redirects.

In plain words
What is it for?
Use it to audit SEO discoverability, inspect framework-specific metadata problems, and report issues without changing the site or search-console settings.
Why use it?
It finds differences between the code and the live website that a check of only one side could miss.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/x/Dev/myproject.

Part of the qa-and-audits plugin — 8 skills shipped together

Good fit Use it to audit SEO discoverability, inspect framework-specific metadata problems, and report issues without changing the site or search-console settings.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add mostafa-drz/claude-skills
Claude Code
/plugin install qa-and-audits

Made for: Claude Code.

Or install qa-and-audits, the plugin that ships this one along with the rest of its 8 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mostafa-drz/claude-skills/sitemap-audit"><img src="https://agentmods.dev/badge/skills/mostafa-drz/claude-skills/sitemap-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,408 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00109 $0.03408
Opus 5.5 $0.00044 $0.01363
Sonnet 5.5 $0.00022 $0.00682
Haiku 4.5 $0.00011 $0.00341

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

Security

Grade A, and why

sitemap-audit scanned grade A with 1 finding 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 13d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Execute these in order. Run independent curls in parallel. Every finding must cite evidence (exact curl output, file:line, or DNS record).
code/sitemap-audit/SKILL.md · 354 lines

How it starts

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

sitemap-audit

Diagnostic SEO audit. Report only — never modifies code or Search Console state. Cross-references the codebase with live production to catch issues that live-only tools miss (like framework metadata cascade bugs).

Preferences

Read ~/.claude/skills/sitemap-audit/preferences.md using the Read tool. If not found, proceed with onboarding.

Context

On startup, use Bash to detect (skip any that fail):

  • Current repo path: pwd
  • Framework fingerprint: package.json (Next.js / Astro / Nuxt / SvelteKit / generic), astro.config.*, nuxt.config.*
  • Has src/app/ (App Router) or pages/ (Pages Router)
  • Git state: git status, git log -1 --format=%h

Command Routing

Check $ARGUMENTS for subcommands:

help

Display:

sitemap-audit — SEO health check across codebase + live production

Usage:
  /sitemap-audit                              Audit site from preferences
  /sitemap-audit <url>                        Audit a specific URL (one-off)
  /sitemap-audit config                       Set preferences
  /sitemap-audit reset                        Clear preferences
  /sitemap-audit help                         This help

What it checks:
  1. Sitemap fetchability + XML validity + URL count
  2. robots.txt content + sitemap pointer consistency
  3. Every URL in sitemap: 200 status, self-canonical match
  4. Response headers: Content-Type, X-Robots-Tag, HSTS
  5. Apex ↔ www redirect chain depth + consistency
  6. Codebase anti-patterns (framework-specific)
  7. SSR vs JS-only rendering (Googlebot compatibility)
  8. DNS: site verification TXT records for GSC
  9. (Optional, with permission) Live GSC check via Chrome extension

Output: prioritized report (P0 blocks indexing / P1 hurts rankings / P2 nice-to-have).

Current preferences: [read from preferences.md or "none — will onboard"]

Then stop.

config

Use AskUserQuestion to collect:

Q1 — "Production URL to audit? (e.g. https://www.example.com)"

  • Free text.

Read the full file on GitHub · 354 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 13d ago Changed · +3 lines 96c66e0913cd
  2. 2mo ago Changed · +3 lines 55af7b138790
  3. 3mo ago First seen · 348 lines · 109 tokens per session scan A 67906a4218ee

Subscribe to this mod's changes

sitemap-audit is a skill published in the GitHub repository mostafa-drz/claude-skills (5 stars, last pushed 13d ago), licensed MIT. It adds 109 tokens to every session and 3,408 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

sitemap-audit compared with skills from other repositories

sitemap-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sitemap-auditmostafa-drz/claude-skillsSkill513d agoMITA109Claude Code
skill-builderyusufkaraaslan/Skill_SeekersSkill15k3d agoMITA38Claude Code, Codex
rudder-data-graphsrudderlabs/rudder-agent-skillsSkill194d agoMITA40Claude Code
rudder-typer-workflowrudderlabs/rudder-agent-skillsSkill194d agoMITA43Claude Code
rudder-tracking-reviewrudderlabs/rudder-agent-skillsSkill194d agoMITA66Claude Code
rudder-instrumentation-planningrudderlabs/rudder-agent-skillsSkill194d agoMITA32Claude Code
rudder-ai-events-verifyrudderlabs/rudder-agent-skillsSkill194d agoMITA66Claude Code