browser-debugger-cli: Skill for Claude Code

.claude/skills/bdg/SKILL.md

bdg is a skill for Claude Code from szymdzum/browser-debugger-cli. It costs 108 tokens per session (8,460 once invoked), scanned A, original, MIT.

A command-line browser automation tool that controls Chrome through its developer interface. It can inspect page structure, navigate websites, take screenshots, control network behavior, and run JavaScript.

In plain words
What is it for?
It helps automate browsing, inspect and scrape dynamic pages, capture screenshots, test browser behavior, and interact with web applications.
Why use it?
It removes the need to perform repetitive browser checks and interactions manually, including on pages whose content appears after loading.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: positional $N argument.

This is szymdzum/browser-debugger-cli's own configuration. It tells Claude Code how to work on browser-debugger-cli itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything browser-debugger-cli configures →

Reuse

Borrowing it

Nothing to install: this file belongs to szymdzum/browser-debugger-cli. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/szymdzum/browser-debugger-cli/main/.claude/skills/bdg/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/szymdzum/browser-debugger-cli

Made for: Claude Code.

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 bdg

README.md
[![agentmods](https://agentmods.dev/badge/skills/szymdzum/browser-debugger-cli/bdg/github.svg)](https://agentmods.dev/skills/szymdzum/browser-debugger-cli/bdg)
Your own site
<a href="https://agentmods.dev/skills/szymdzum/browser-debugger-cli/bdg"><img src="https://agentmods.dev/badge/skills/szymdzum/browser-debugger-cli/bdg/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 bdg

Your own site · 80×15
<a href="https://agentmods.dev/skills/szymdzum/browser-debugger-cli/bdg"><img src="https://agentmods.dev/badge/skills/szymdzum/browser-debugger-cli/bdg.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,460 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00108 $0.08460
Opus 5.5 $0.00043 $0.03384
Sonnet 5.5 $0.00022 $0.01692
Haiku 4.5 $0.00011 $0.00846

Measured yesterday against content hash 151349522f51, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bdg scanned grade A with 1 finding 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 yesterday.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Static HTML or plain API calls: `curl` (+ `jq`) is faster. Use bdg for JavaScript-rendered pages, interaction, layout and styling, console errors and browser network traffic.
.claude/skills/bdg/SKILL.md · 321 lines

How it starts

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

bdg - Browser Automation CLI

Requires the bdg binary: npm i -g browser-debugger-cli (bdg --version to check).

Quick Start

The loop: start, look, act, read the reported effect, check errors. Screenshots only for visual proof.

bdg https://example.com --headless      # Start a session (Chrome + daemon); stays up until bdg stop
bdg dom query "button"                  # Find elements: [0], [1], ... (0-based); class="px-2 +4" = first class + 4 more (all in --json classes, [] when none, or dom get <index> --json domContext.classes)
                                         # Human output escapes " \ and newlines in values and cuts them at 40 chars (--json/--raw keep them whole); same-origin links show as paths (/register/), others with their scheme; an icon-only button shows its name: [2] <button class="icon"> "Open menu"
bdg dom inspect "button.primary"        # Box, layout, font, colors + contrast, without a screenshot
bdg dom fill "input[name='email']" "[email protected]"
bdg dom click "button[type='submit']"   # Prints what changed: navigation, new text, or no effect
bdg console --level error               # Anything thrown?
bdg console --follow --ndjson           # Tail console output: one JSON record per line ({type:"page",navigationId,url} per page, {type:"message",level,text,…} per message; `type` is the record kind, `level` the console type (error, warning, info, log, debug, …) that `console --json` gives as `messages[].type`)
bdg network list --preset errors        # 4xx/5xx of the current page (--page all: earlier pages too)
bdg stop                                # Only when completely done

On macOS bdg opens a Chrome window by default; pass --headless when running unattended (it is the default over SSH, in CI and on Linux without a display).

Sessions

bdg status                    # Current session (bdg status --verbose for diagnostics)
bdg peek                      # Preview collected requests and console messages (starts with Page: <url> — <title>; status and peek add ⚠ The page is still loading … waiting on: … until the page has finished loading (readyState not complete), JSON loading)
bdg sessions                  # All sessions, default and named
bdg <url> --session mobile --mobile --headless   # A second, named session (own Chrome)
bdg --session mobile eval "innerWidth"           # Every command takes --session <name> (or BDG_SESSION)
bdg <url> --viewport 1280x800 --color-scheme dark
bdg -q dom query "a"          # -q: minimal output, no "Next:" hints

Read the full file on GitHub · 321 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. yesterday Changed 151349522f51
  2. 8d ago Changed · +1 lines c68255235a63
  3. 15d ago Changed 4787d6562784
  4. 17d ago Changed · +2 lines 4ee8718bd77e
  5. 18d ago Changed · +4 lines c3414ebae832
  6. 19d ago Changed · +15 lines 5098a255bbfe
  7. 20d ago Changed · +6 lines 03427f5cbfae
  8. 21d ago Changed · +4 lines 7f22cb891c6b
  9. 22d ago Changed · +1 lines 2398e36aaf0c
  10. 23d ago First seen · 288 lines · 108 tokens per session scan A b6b1e475ad2b

Subscribe to this mod's changes

bdg is a skill published in the GitHub repository szymdzum/browser-debugger-cli (183 stars, last pushed 2d ago), licensed MIT. It adds 108 tokens to every session and 8,460 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

bdg compared with skills from other repositories

bdg next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bdgszymdzum/browser-debugger-cliSkill1832d agoMITA108Claude Code
opencli-autofixjackwener/OpenCLISkill31kyesterdayApache-2.0A61Claude Code
opencli-browserjackwener/OpenCLISkill31kyesterdayApache-2.0A43Claude Code
opencli-adapter-authorjackwener/OpenCLISkill31kyesterdayApache-2.0A38Claude Code
BrowserBash Browser AutomationPramodDutta/qaskillsSkill2453d agoMITA79Claude Code, Codex
unicliolo-dot-io/Uni-CLISkill2283d agoApache-2.0A180Claude Code
unicli-smart-searcholo-dot-io/Uni-CLISkill2283d agoApache-2.0A38Claude Code