Sitemap URL Lister

    by sebdata

    1

    Ask your agent for "all the pages of this site" and it will usually guess, crawl a few links, or stop at the first sitemap file.

    Free

    Security scanned

    Works with the AI Agents you already use

    Sitemap URL Lister

    Example session with this skill installed

    List every page of www.mkdocs.org from its sitemap, with the last-modified dates.

    • Read your context and instructions
    • Compiled the sitemap url lister

    Summary

    www.mkdocs.org lists

    19 URLs in

    1 sitemap file. The site's robots.txt names no sitemap, so the file was found at the usual path /sitemap.xml. Nothing was skipped and the list is complete.

    Command run

    node scripts/sitemap.mjs www.mkdocs.org
    
    SUMMARY {"site":"www.mkdocs.org","status":"ok","urls":19,"droppedNoDate":0,"sitemapsRead":1,"discovery":"guessed","skipped":[],"truncated":false,"note":null}
    

    The pages

    The sitemap gives no priority for any page, so that column is left out.

    Worth knowing

    • Every page carries the same date, 2024-08-30, which looks like the date the site was last built, not when each page last changed. Treat it as the site's claim.
    • "daily" is the change frequency the site declares, not a measurement.

    Next steps

    • Want it as a file? I can save the same rows as CSV or JSON.
    • To see only one section, I can filter, for example --include /user-guide/.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Ask your agent for "all the pages of this site" and it will usually guess, crawl a few links, or stop at the first sitemap file. This skill gives it one small script that reads the site's sitemaps properly and returns the complete list.

    What it does

    • Finds the sitemaps itself: reads robots.txt for Sitemap: lines, then tries the usual paths (/sitemap.xml, /sitemap_index.xml, /wp-sitemap.xml and two more).
    • Follows sitemap indexes up to five levels deep, so a site split over dozens of sitemap files comes back as one list.
    • Returns each URL with what the site says about it: last-modified date, change frequency, priority, and the sitemap file it came from. CSV, JSON or one JSON object per line.
    • Filters: keep or drop URLs by text or regular expression (--include /blog/), or keep only pages changed since a date or an age (--modified-after "7 days").
    • Reads what real sites serve: XML, gzip (recognised by content, not file name), plain-text sitemaps, RSS and Atom feeds, and XML with missing closing tags or a cut-off end.

    How it works

    1. You name a website or a sitemap URL (up to five per run).
    2. The agent runs scripts/sitemap.mjs with Node.js. Nothing is installed and no key or account is needed.
    3. Rows come back on standard output and a one-line summary per site on standard error: how many URLs, how many sitemap files, how they were found, what was skipped and why, and whether the list was cut short.
    4. SKILL.md tells the agent how to report it honestly: say when the list is incomplete, never read "no dates published" as "nothing changed", and treat dates as the site's claim.

    Use cases

    • A full page inventory before a content audit, redesign or migration.
    • "What changed on this site in the last two weeks?" for sites that publish last-modified dates.
    • Only one section of a site, such as /products/ or /docs/.
    • Checking what a sitemap index really contains.

    Where it stops

    • It lists addresses only. It does not open the pages or read their content.
    • It cannot find pages a site leaves out of its sitemaps, and a site without a sitemap gives an empty result with the reason.
    • Many sites publish no last-modified dates; date filters then return nothing, and the summary says how many URLs had no date.
    • Caps per run: 5 sites, 50,000 URLs and 500 sitemap files per site, 60 MB per file.
    • One request at a time with a pause. A site that refuses three requests in a row is left alone; it does not try to get around a block or a login.
    • It requests only robots.txt and sitemap files of the sites you name, reads no local files and no environment variables.

    Needs Node.js 18 or newer on the machine where your agent runs commands.

    This skill and its script were written by an AI.

    Lists addresses only: it does not open pages or read their content. It cannot find pages a site leaves out of its sitemaps; a site without a sitemap gives an empty result with the reason. Many sites publish no last-modified dates, so date filters can return nothing (the summary counts the URLs without a date). Caps: 5 sites per run, 50,000 URLs and 500 sitemap files per site. It does not get around blocks or logins.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 15 days ago

    • Free with an Agensi account

    Software
    Node.js

    Permissions

    Write Files
    Terminal / Shell
    Network Access

    Terminal: the agent runs one Node.js script. Network: the script requests only robots.txt and sitemap files of the sites you name. Write files: only if you ask for the result as a file; the script itself writes to standard output. It reads no local files and no environment variables.

    Listed15 days ago

    What's inside

    Creator

    S

    sebdata

    Frequently Asked Questions

    Without a tool an agent tends to stop at the first sitemap file or guess at pages. The script follows sitemap indexes to the end, reads gzip, text and feed sitemaps and tolerates broken XML, so the list is what the site actually publishes. It still depends on the site: pages left out of the sitemaps are not found.

    Node.js 18 or newer on the machine where your agent runs commands. Nothing is installed, and there is no API key or account.

    Yes. --include and --exclude keep or drop URLs by text or regular expression, and --modified-after keeps pages changed since a date or an age such as "7 days". Date filters only work for sites that publish last-modified dates; the summary says how many URLs had none.

    Up to 5 sites, with 50,000 URLs and 500 sitemap files per site. By default it stops at 5,000 URLs and 50 files per site and says so when the list is cut short.

    Three text files: SKILL.md with the instructions for the agent, the script scripts/sitemap.mjs, and a short README. It is free and was written by an AI.

    New in Marketing & SEO

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Marketing & SEO.

    Free