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.
curl -O https://raw.githubusercontent.com/szymdzum/browser-debugger-cli/main/.claude/skills/bdg/SKILL.mdgit clone --depth 1 https://github.com/szymdzum/browser-debugger-cliWrote 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/szymdzum/browser-debugger-cli/bdg)<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.
<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>- NVIDIA SkillSpector pass
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.00108 | $0.08460 |
| Opus 5.5 | $0.00043 | $0.03384 |
| Sonnet 5.5 | $0.00022 | $0.01692 |
| Haiku 4.5 | $0.00011 | $0.00846 |
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. 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
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.
- yesterday Changed 151349522f51
- 8d ago Changed · +1 lines c68255235a63
- 15d ago Changed 4787d6562784
- 17d ago Changed · +2 lines 4ee8718bd77e
- 18d ago Changed · +4 lines c3414ebae832
- 19d ago Changed · +15 lines 5098a255bbfe
- 20d ago Changed · +6 lines 03427f5cbfae
- 21d ago Changed · +4 lines 7f22cb891c6b
- 22d ago Changed · +1 lines 2398e36aaf0c
- 23d ago First seen · 288 lines · 108 tokens per session scan A b6b1e475ad2b
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.
bdg compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bdgszymdzum/browser-debugger-cli | Skill | 183 | 2d ago | MIT | A | 108 | Claude Code |
| opencli-autofixjackwener/OpenCLI | Skill | 31k | yesterday | Apache-2.0 | A | 61 | Claude Code |
| opencli-browserjackwener/OpenCLI | Skill | 31k | yesterday | Apache-2.0 | A | 43 | Claude Code |
| opencli-adapter-authorjackwener/OpenCLI | Skill | 31k | yesterday | Apache-2.0 | A | 38 | Claude Code |
| BrowserBash Browser AutomationPramodDutta/qaskills | Skill | 245 | 3d ago | MIT | A | 79 | Claude Code, Codex |
| unicliolo-dot-io/Uni-CLI | Skill | 228 | 3d ago | Apache-2.0 | A | 180 | Claude Code |
| unicli-smart-searcholo-dot-io/Uni-CLI | Skill | 228 | 3d ago | Apache-2.0 | A | 38 | Claude Code |