Skip to content
cccskills
FreePublished on GitHub

seo-sitemap

Check XML sitemaps for format errors, problematic URLs, inaccurate modification dates, and missing pages. Generate new sitemaps using industry templates, with file splitting where needed and documentation of the planned site structure.

OriginalShow the original description

Analyze existing XML sitemaps or generate new ones with industry templates. Validates format, URLs, and structure. Use when user says "sitemap", "generate sitemap", "sitemap issues", or "XML sitemap".

See how to install

Good for

  • Checking existing sitemaps for errors and fixes
  • Generating an XML sitemap for a new site
  • Splitting large sitemaps and creating an index
  • Validating image, video, and news sitemaps

Files included (2)

  • SKILL.md6.0 KB
  • LICENSE.txt143 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

Sitemap Analysis & Generation

Mode 1: Analyze Existing Sitemap

Discover candidates before reporting a sitemap missing:

"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run sitemap_discovery.py <url> --json

The helper reads every bounded Sitemap: declaration in robots.txt, validates cross-host targets through the shared SSRF-safe fetch layer, and still probes common paths when a declared sitemap is stale or invalid. Use only entries in found; preserve declared failures as findings instead of treating a robots.txt line alone as proof that a sitemap works.

Validation Checks

  • Valid XML format
  • Per-file limit: ≤50,000 URLs AND ≤50MB uncompressed (whichever is hit first)
  • All URLs return HTTP 200
  • <lastmod> accurate: must be a valid W3C Datetime and reflect the last significant content change (main content, structured data, links, not copyright/boilerplate edits). Google only honours <lastmod> when consistently and verifiably accurate, so warn when values are suspiciously uniform or newer than the page's real content.
  • 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

IssueSeverityFix
>50k URLs in single fileCriticalSplit with sitemap index
>50MB uncompressed single fileCriticalSplit with sitemap index
Non-200 URLsHighRemove or fix broken URLs
Noindexed URLs includedHighRemove from sitemap
Redirected URLs includedMediumUpdate to final URLs
All identical lastmodLowUse actual modification dates
Priority/changefreq usedInfoCan remove (ignored by Google)

Extension sitemaps (image / video / news)

Google documents three subtypes with their own rules, validate per-subtype:

  • Image (http://www.google.com/schemas/sitemap-image/1.1): only two valid tags remain, <image:image> and <image:loc> (max 1,000 <image:image> per <url>). <image:caption>/<image:geo_location>/<image:title>/ <image:license> were deprecated (2022), flag as info-level removable.
  • Video: required <video:video> with <video:thumbnail_loc>, <video:title>, <video:description>, plus <video:content_loc> or <video:player_loc>; mRSS also supported. Flag deprecated/removed tags (<video:category>, <video:gallery_loc>, <video:price>, <video:tvshow>, player autoplay/allow_embed) as info-level removable; recheck Google docs before citing a removal date.
  • News: max 1,000 <news:news> per file (not 50,000); include only articles from the last 2 days; required <news:publication>/<news:name>/ <news:language>/<news:publication_date>/<news:title>; submit/discover through Search Console or robots.txt/sitemap index; use Publisher Center only for publication management where relevant. When the news: namespace is detected, override the generic 50k check with the 1,000 cap.

Mode 2: Generate New Sitemap

Process

  1. Ask for business type (or auto-detect from existing site)
  2. Load industry template from ../seo-plan/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 whichever comes first: 50,000 URLs or 50MB uncompressed, 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

Sitemap Format

Standard Sitemap

<?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>

Sitemap Index (for >50k URLs)

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

Error Handling

  • URL unreachable: Report the HTTP status code and suggest checking if the site is live
  • No sitemap found: Run sitemap_discovery.py and report "not found" only when its found list is empty after declared and common candidates are checked
  • Invalid XML format: Report specific parsing errors with line numbers
  • Rate limiting detected: Back off and report partial results with a note about retry timing

Output

For Analysis

  • VALIDATION-REPORT.md: analysis results
  • Issues list with severity
  • Recommendations

For Generation

  • sitemap.xml (or split files with index)
  • STRUCTURE.md: site architecture documentation
  • URL count and organization summary

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

seo

FreeSummary

Audit a website or individual page across technical SEO, content quality, performance, images, and AI search readiness. Route work to specialized checks and receive a combined report with prioritized recommendations tailored to the site's business type.

  • Audit SEO issues across an entire website
  • Investigate problems on a specific page
  • Plan SEO improvements for a business type
AgriciDaniel/claude-seo19.2KUpdated Oct 5, 2026

seo-agentic

FreeSummary

Check whether AI browsing agents can access content and interact with a website. Review accessible controls, access policies, and discovery files, explain Lighthouse results, and draft fixes with evidence and priorities for review.

  • Audit whether AI agents can use a website
  • Understand Lighthouse Agentic Browsing results
  • Review access policies for different AI agent purposes
AgriciDaniel/claude-seo19.2KUpdated Oct 5, 2026

seo-ahrefs

FreeSummary

Analyze live Ahrefs data to review backlinks, linking websites, organic search keywords, and popular content by topic. Get site rating metrics, estimated search traffic, and country breakdowns to assess a site's search presence and plan further investigation.

  • Review linking websites and backlink characteristics
  • Check organic search keywords and ranking distributions
  • Compare estimated search traffic by country
AgriciDaniel/claude-seo19.2KUpdated Oct 5, 2026

seo-audit

FreeSummary

Audit an entire website for technical issues, content quality, page performance, and AI search readiness. Receive an SEO health score out of 100, detailed findings, and a prioritized action plan, with optional PDF or HTML reporting.

  • Assess SEO health across an entire website
  • Prioritize fixes and build an improvement roadmap
  • Review content, performance, and AI search readiness together
AgriciDaniel/claude-seo19.2KUpdated Oct 5, 2026

seo-backlinks

FreeSummary

Analyze links pointing to a website, including source quality, link text, suspicious patterns, and competitor gaps. Get source-labeled findings, link acquisition opportunities, and checks of known links, with scoring limited to cases with sufficient data.

  • Review backlink sources and link text
  • Find suspicious links that need manual review
  • Identify sites linking to competitors but not to your site
AgriciDaniel/claude-seo19.2KUpdated Oct 5, 2026

seo-bing

FreeSummary

Inspect Bing link data, compare sites you manage, and submit new URLs through IndexNow, a service for notifying participating search engines of updates. Use it to support indexing and prepare pages for potential Microsoft Copilot citations.

  • Submit new page URLs through IndexNow
  • Compare Bing link data for two managed sites
  • Verify the IndexNow key setup
AgriciDaniel/claude-seo19.2KUpdated Oct 5, 2026

See all skills by AgriciDaniel

Report a problem with this skill