mapping-urls

mapping-urls is a skill for Claude Code from xberg-io/crawlberg. It costs 63 tokens per session (902 once invoked), scanned A, original, MIT.

A Crawlberg guide for discovering the URLs a website exposes through sitemaps or links on its starting page. A sitemap is a file that lists pages belonging to a site.

In plain words
What is it for?
Use it to plan a crawl, search a site’s URL list, inspect sitemaps, or provide URLs to another tool.
Why use it?
It gives you a page list without downloading and converting every page’s content.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the crawlberg plugin — 7 skills, 1 MCP server shipped together

Good fit Use it to plan a crawl, search a site’s URL list, inspect sitemaps, or provide URLs to another tool.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xberg-io/crawlberg/mapping-urls
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.

Any agent
npx skills add xberg-io/crawlberg --skill mapping-urls
Clone the repo
git clone --depth 1 https://github.com/xberg-io/crawlberg

Made for: Claude Code.

Or install crawlberg, the plugin that ships this one along with the rest of its 7 skills, 1 MCP server.

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 mapping-urls

README.md
[![agentmods](https://agentmods.dev/badge/skills/xberg-io/crawlberg/mapping-urls.svg)](https://agentmods.dev/skills/xberg-io/crawlberg/mapping-urls)
Your own site
<a href="https://agentmods.dev/skills/xberg-io/crawlberg/mapping-urls"><img src="https://agentmods.dev/badge/skills/xberg-io/crawlberg/mapping-urls.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 902 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00063 $0.00902
Opus 5 $0.00032 $0.00451
Sonnet 5 $0.00013 $0.00180
Haiku 4.5 $0.00006 $0.00090

Measured 8d ago against content hash 267df8c9aa75, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

mapping-urls 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.

plugin/.ai-rulez/skills/mapping-urls/SKILL.md · 96 lines

How it starts

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

Mapping URLs

crawlberg map <url> discovers the URLs a site exposes without rendering or extracting any page content. It reads sitemap.xml (including nested sitemaps), then falls back to link extraction from the seed page. Use it to plan a crawl, audit a site's surface, or feed a URL list into another tool.

Quick recipe

crawlberg map https://example.com --limit 500 --search docs --format markdown

Markdown output prints one URL per line — convenient to pipe into a file or a follow-up crawl. JSON output (default) returns a structured MapResult.

Flag surface

Flag Default Purpose
--limit Maximum number of URLs to return. Unbounded if unset.
--search Case-insensitive substring filter on discovered URLs.
--respect-robots-txt off Honour robots.txt. Pass it for any third-party host.
--format json json (full MapResult) or markdown (one URL per line).
--timeout 30000 Per-request timeout in ms.
--browser-mode auto auto, always, never — see the headless-fallback skill.
--browser-endpoint External CDP ws:// URL.
--config Inline JSON or @file.json for the full CrawlConfig.

map takes a single seed URL positionally. There is no --depth or --max-pages here — those bound a crawl, not a map. Scope is the seed host's sitemaps plus links found on the seed page; bound the result with --limit and narrow it with --search.

How discovery works

  1. Fetch and parse sitemap.xml, following nested <sitemapindex> entries.
  2. If no sitemap (or a thin one), extract links from the seed page's HTML.
  3. Apply the --search substring filter (case-insensitive), then --limit.

Read the full file on GitHub · 96 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 · 96 lines · 63 tokens per session scan A 267df8c9aa75

Subscribe to this mod's changes

mapping-urls is a skill published in the GitHub repository xberg-io/crawlberg (169 stars, last pushed 2d ago), licensed MIT. It adds 63 tokens to every session and 902 once invoked, about $0.0003 per session on Opus 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-08-30.

Related

Other skills, from other repositories

tree-sitter-language-pack

Parse and extract code intelligence from 371 programming languages using tree-sitter grammars. Use when writing code that parses source, extracts structure/imports/exports/symbols/docstrings/comments, detects a language, runs syntax diagnostics, or produces syntax-aware chunks for LLMs — in Rust, Python…

xberg-io/tree-sitter-language-pack · 95 tokens

extracting-code-structure

Use when the user wants structured code metadata from a source file — functions, classes, imports, exports, symbols, docstrings, comments, or syntax diagnostics. Covers ts-pack process feature flags, the JSON result shape, and the default feature set.

xberg-io/tree-sitter-language-pack · 58 tokens

chunking-for-llms

Use when the user wants to split source code into chunks for an LLM context window without breaking syntax mid-construct. Covers ts-pack process --chunk-size, why syntax-aware splits beat fixed-byte splits, picking a size, and the chunk JSON shape.

xberg-io/tree-sitter-language-pack · 59 tokens

detecting-languages

Use when the user wants to know which programming language a file or snippet is. Covers implicit detection in ts-pack parse/process, confirming support with ts-pack list/info, and the SDK detection functions for path, extension, and raw content.

xberg-io/tree-sitter-language-pack · 60 tokens

managing-parsers

Use when the user needs to manage the tree-sitter parser cache — prefetch parsers for offline or CI runs, list what is downloaded, inspect a language, find the cache directory, or clean it. Covers ts-pack download, list, info, cache-dir, clean, and init.

xberg-io/tree-sitter-language-pack · 70 tokens

using-the-mcp-server

Use when parsing source, extracting code structure, or detecting a language through the tree-sitter-language-pack MCP server's tools, rather than shelling out to the ts-pack CLI. Covers the tool surface, the auto-installing launcher, and when MCP beats the CLI or SDK.

xberg-io/tree-sitter-language-pack · 62 tokens