crawling-a-site

crawling-a-site is a skill for Claude Code, Codex from xberg-io/crawlberg. It costs 52 tokens per session (1,350 once invoked), scanned A, original, MIT.

Instructions for crawling every reachable page across a website, rather than reading only one URL.

In plain words
What is it for?
It is for collecting a site's pages as Markdown, including documentation, blogs, and marketing pages, with crawlberg's depth, concurrency, rate, domain, and output settings.
Why use it?
It helps you set useful limits and safe crawling rules for depth, page count, speed, domains, and robots.txt.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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

Good fit It is for collecting a site's pages as Markdown, including documentation, blogs, and marketing pages, with crawlberg's depth, concurrency, rate, domain, and output settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xberg-io/crawlberg/crawling-a-site
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 crawling-a-site
Clone the repo
git clone --depth 1 https://github.com/xberg-io/crawlberg

Made for: Claude Code, Codex.

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 crawling-a-site

README.md
[![agentmods](https://agentmods.dev/badge/skills/xberg-io/crawlberg/crawling-a-site/github.svg)](https://agentmods.dev/skills/xberg-io/crawlberg/crawling-a-site)
Your own site
<a href="https://agentmods.dev/skills/xberg-io/crawlberg/crawling-a-site"><img src="https://agentmods.dev/badge/skills/xberg-io/crawlberg/crawling-a-site/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 crawling-a-site

Your own site · 80×15
<a href="https://agentmods.dev/skills/xberg-io/crawlberg/crawling-a-site"><img src="https://agentmods.dev/badge/skills/xberg-io/crawlberg/crawling-a-site.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,350 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.00052 $0.01350
Opus 5 $0.00026 $0.00675
Sonnet 5 $0.00010 $0.00270
Haiku 4.5 $0.00005 $0.00135

Measured 11d ago against content hash 6f9388f1da1f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

crawling-a-site 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 11d 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/crawling-a-site/SKILL.md · 147 lines

How it starts

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

Crawling a site

Reach for crawlberg crawl when one URL is not enough — the user wants the docs site, the blog, the marketing pages, or the whole domain.

Quick recipe

crawlberg crawl https://example.com \
  --depth 3 \
  --max-pages 200 \
  --concurrent 8 \
  --rate-limit 250 \
  --stay-on-domain \
  --respect-robots-txt \
  --format markdown

Defaults you should usually override:

  • --depth 2 is shallow — set it explicitly.
  • --max-pages is unbounded by default; cap it for any unknown site.
  • --concurrent 10 is aggressive for small hosts; drop to 4-8 for third-party sites.

Flag surface

Flag Default Purpose
--depth, -d 2 Maximum hop count from the seed URL.
--max-pages, -n Hard cap on pages fetched. Set this on any unknown site.
--concurrent, -c 10 Parallel in-flight requests.
--rate-limit 200 Milliseconds between requests to the same origin.
--stay-on-domain off Skip links that leave the seed domain.
--respect-robots-txt off Honour robots.txt. Pass it for any third-party host.
--proxy HTTP, HTTPS, or SOCKS5 proxy URL.
--user-agent Override the request UA. Be honest.
--timeout 30000 Per-request timeout in ms.
--browser-mode auto auto, always, never — see the headless-fallback skill.
--browser-endpoint External CDP ws:// URL.
--format json json or markdown.
--config Inline JSON or @file.json for the full CrawlConfig.

Read the full file on GitHub · 147 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. 11d ago First seen · 147 lines · 52 tokens per session scan A 6f9388f1da1f

Subscribe to this mod's changes

crawling-a-site is a skill published in the GitHub repository xberg-io/crawlberg (171 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 1,350 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

parsing-source

Use when the user wants a tree-sitter syntax tree for a source file — an s-expression dump or JSON tree. Covers ts-pack parse, language auto-detection vs --language, stdin input, and reading haserrors.

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