crawlberg-automating-the-browser

crawlberg-automating-the-browser is a skill for Claude Code from xberg-io/crawlberg. It costs 58 tokens per session (1,416 once invoked), scanned A, original, MIT.

A guide for using a headless browser, a browser without a visible window, to interact with a page before capturing it. It supports ordered actions such as clicking, typing, scrolling, waiting, taking screenshots, and running JavaScript.

In plain words
What is it for?
Use it to extract content from pages with load-more buttons, infinite scrolling, forms, or JavaScript-generated content.
Why use it?
A simple page fetch cannot see content that appears only after a click, form submission, scrolling, or other browser action. This lets the page reach the needed state before it is captured.

Skill for Claude Code

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

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

Good fit Use it to extract content from pages with load-more buttons, infinite scrolling, forms, or JavaScript-generated content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xberg-io/crawlberg/crawlberg-automating-the-browser
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 crawlberg-automating-the-browser
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, 3 commands, 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 crawlberg-automating-the-browser

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xberg-io/crawlberg/crawlberg-automating-the-browser"><img src="https://agentmods.dev/badge/skills/xberg-io/crawlberg/crawlberg-automating-the-browser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,416 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.
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.00058 $0.01416
Opus 5.5 $0.00023 $0.00566
Sonnet 5.5 $0.00012 $0.00283
Haiku 4.5 $0.00006 $0.00142

Measured 1mo ago against content hash 9ee8d1bf7baf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

crawlberg-automating-the-browser 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.

plugin/.ai-rulez/skills/crawlberg-automating-the-browser/SKILL.md · 140 lines

How it starts

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

Automating the browser

crawlberg interact <url> --actions '[...]' drives a real headless browser through an ordered list of actions, then captures the resulting page. Reach for it when a static scrape is not enough: the content lives behind a "Load more" button, an infinite scroll, a form submission, or JS that only runs on interaction.

Quick recipe

crawlberg interact https://example.com \
  --actions '[{"type":"click","selector":"#load-more"},
              {"type":"wait","milliseconds":500},
              {"type":"scrape"}]'

Actions run in order. The result wraps the final page state under interaction (see Output below).

Flag surface

Flag Default Purpose
--actions — Required. JSON array of action objects (see below).
--format json json (full result) or markdown (final HTML only).
--timeout 30000 Per-request timeout in ms.
--browser-mode auto auto, always, never. Interaction needs a browser.
--browser-endpoint — External CDP ws:// or wss:// URL.
--config — Inline JSON or @file.json for the full CrawlConfig.

There is no --respect-robots-txt flag on interact; it targets the one URL you point it at.

Action schema

Each action is a JSON object tagged by type (camelCase). Unknown fields are rejected, so match the shapes exactly:

type Fields Notes
click selector Click the element matching the CSS selector.
type selector, text Type text into the input matching selector.
press key Press a key, e.g. "Enter", "Tab", "Escape".
scroll direction ("up"/"down"), selector?, amount? Scroll the page, or a scrollable element if selector is set.
wait milliseconds?, selector? Wait a fixed time, or until selector appears (selector wins).
screenshot fullPage? Capture the viewport, or the full scrollable page if true.
executeJs script Run arbitrary JS in the page context. Trusted scripts only.
scrape — Capture the current page HTML into the result.

Read the full file on GitHub · 140 lines

Files

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.

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. 1mo ago First seen · 140 lines · 58 tokens per session scan A 9ee8d1bf7baf

Subscribe to this mod's changes

crawlberg-automating-the-browser is a skill published in the GitHub repository xberg-io/crawlberg (197 stars, last pushed yesterday), licensed MIT. It adds 58 tokens to every session and 1,416 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.

Related

crawlberg-automating-the-browser compared with skills from other repositories

crawlberg-automating-the-browser next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
crawlberg-automating-the-browserxberg-io/crawlbergSkill197yesterdayMITA58Claude Code
tree-sitter-language-packxberg-io/tree-sitter-language-packSkill489yesterdayMITA89Claude Code
tree-sitter-language-pack-extracting-code-structurexberg-io/tree-sitter-language-packSkill489yesterdayMITA52Claude Code
tree-sitter-language-pack-using-the-mcp-serverxberg-io/tree-sitter-language-packSkill489yesterdayMITA56Claude Code
tree-sitter-language-pack-chunking-for-llmsxberg-io/tree-sitter-language-packSkill489yesterdayMITA52Claude Code
tree-sitter-language-pack-detecting-languagesxberg-io/tree-sitter-language-packSkill489yesterdayMITA55Claude Code
tree-sitter-language-pack-managing-parsersxberg-io/tree-sitter-language-packSkill489yesterdayMITA65Claude Code