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.
npx skills add xberg-io/crawlberg --skill crawlberg-scraping-html-to-markdowngit clone --depth 1 https://github.com/xberg-io/crawlbergWrote 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.
[](https://agentmods.dev/skills/xberg-io/crawlberg/crawlberg-scraping-html-to-markdown)<a href="https://agentmods.dev/skills/xberg-io/crawlberg/crawlberg-scraping-html-to-markdown"><img src="https://agentmods.dev/badge/skills/xberg-io/crawlberg/crawlberg-scraping-html-to-markdown/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.
<a href="https://agentmods.dev/skills/xberg-io/crawlberg/crawlberg-scraping-html-to-markdown"><img src="https://agentmods.dev/badge/skills/xberg-io/crawlberg/crawlberg-scraping-html-to-markdown.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.01224 |
| Opus 5.5 | $0.00016 | $0.00490 |
| Sonnet 5.5 | $0.00008 | $0.00245 |
| Haiku 4.5 | $0.00004 | $0.00122 |
Grade A, and why
crawlberg-scraping-html-to-markdown 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Scraping HTML to Markdown
crawlberg scrape <url> is the right tool when the user has a single
page in mind. It returns Markdown plus a full structured payload (metadata,
links, images, JSON-LD, HTTP response info).
Quick recipe
crawlberg scrape https://example.com/article --format markdown
JSON form (default) when downstream needs metadata:
crawlberg scrape https://example.com/article --format json
Flag surface
| Flag | Default | Purpose |
|---|---|---|
--format |
json |
json or markdown. |
--timeout |
30000 |
Per-request timeout in ms. |
--proxy |
— | HTTP, HTTPS, or SOCKS5 proxy URL. |
--user-agent |
— | Override request UA. |
--respect-robots-txt |
off | Honour robots.txt. |
--browser-mode |
auto |
auto, always, never — see headless-fallback skill. |
--browser-endpoint |
— | External CDP ws:// URL. |
--config |
— | Inline JSON or @file.json for full CrawlConfig. |
Output shape
Markdown mode
Prints the rendered Markdown only. Use when piping to a file the user will read, or when the result becomes LLM context downstream.
JSON mode
Top-level ScrapeResult with:
final_url(after redirects),status_code,content_type,body_size,detected_charset— all top-level fields.markdown:{ content, fit_content, tables, warnings }—fit_contentis a pruned LLM-optimised variant;tablesholds structured table data preserved separately from the Markdown text.metadata: Open Graph (flatog_title/og_description/og_image), Twitter Card, Dublin Core, article tags, headings (H1–H6), favicons, hreflang.links: a flat array of link objects, each with alink_typediscriminator (internal,external,anchor,document) — filter with.links[] | select(.link_type=="external").images:<img>,<picture>,srcset,og:image.feeds,json_ld: top-level arrays of discovered feeds and JSON-LD entries.response_meta: HTTP header metadata (server, etag, cache-control, etc.).
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.
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.
- 1mo ago First seen · 134 lines · 41 tokens per session scan A 6c8c89cfb3ec
crawlberg-scraping-html-to-markdown is a skill published in the GitHub repository xberg-io/crawlberg (197 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 1,224 once invoked, about $0.0002 per session on Opus 5.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-10-15.
crawlberg-scraping-html-to-markdown compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| crawlberg-scraping-html-to-markdownxberg-io/crawlberg | Skill | 197 | yesterday | MIT | A | 41 | Claude Code |
| tree-sitter-language-packxberg-io/tree-sitter-language-pack | Skill | 489 | yesterday | MIT | A | 89 | Claude Code |
| tree-sitter-language-pack-extracting-code-structurexberg-io/tree-sitter-language-pack | Skill | 489 | yesterday | MIT | A | 52 | Claude Code |
| tree-sitter-language-pack-using-the-mcp-serverxberg-io/tree-sitter-language-pack | Skill | 489 | yesterday | MIT | A | 56 | Claude Code |
| tree-sitter-language-pack-chunking-for-llmsxberg-io/tree-sitter-language-pack | Skill | 489 | yesterday | MIT | A | 52 | Claude Code |
| tree-sitter-language-pack-detecting-languagesxberg-io/tree-sitter-language-pack | Skill | 489 | yesterday | MIT | A | 55 | Claude Code |
| tree-sitter-language-pack-managing-parsersxberg-io/tree-sitter-language-pack | Skill | 489 | yesterday | MIT | A | 65 | Claude Code |