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 jerseycheese/agent-skills --skill browser-debugger-cligit clone --depth 1 https://github.com/jerseycheese/agent-skillsWrote 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/jerseycheese/agent-skills/browser-debugger-cli)<a href="https://agentmods.dev/skills/jerseycheese/agent-skills/browser-debugger-cli"><img src="https://agentmods.dev/badge/skills/jerseycheese/agent-skills/browser-debugger-cli/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/jerseycheese/agent-skills/browser-debugger-cli"><img src="https://agentmods.dev/badge/skills/jerseycheese/agent-skills/browser-debugger-cli.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.00068 | $0.00437 |
| Opus 5.5 | $0.00027 | $0.00175 |
| Sonnet 5.5 | $0.00014 | $0.00087 |
| Haiku 4.5 | $0.00007 | $0.00044 |
Grade A, and why
browser-debugger-cli 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 4d 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.
What it actually says
browser-debugger-cli (bdg)
When to use
- Query specific DOM elements or attributes
- Run targeted CDP methods without full page snapshots
- Debug with minimal token overhead
- Prefer it over chrome-devtools-mcp for token efficiency; fall back to the MCP when
bdgcan't do the job
Prerequisites
- Install:
npm install -g browser-debugger-cli@alpha - Chrome available locally, or connect via
--chrome-ws-url
Common workflow
- Start a session:
bdg http://localhost:3000
- Query DOM:
bdg dom query "button"bdg dom query "[data-testid='x']"
- Discover CDP methods:
bdg cdp --listbdg cdp --search dom
- Evaluate JS:
bdg cdp Runtime.evaluate --params '{"expression":"document.title"}'
- Stop the session:
bdg stop
Notes
- Use
bdg statusorbdg peekto inspect without stopping. - Use
bdg --no-headlesswhen you need a visible browser window. - macOS tiling window managers: When using
--no-headless, tiling window managers (AeroSpace, yabai, Amethyst, etc.) will constrain the browser window's viewport to whatever space the layout assigns. Float the window after it appears using the WM's float command. Without this, viewport-dependent CSS (media queries, responsive layouts) may not match expected breakpoints. - For full page snapshots or complex automation, use Chrome DevTools MCP.
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.
- 4d ago Changed · -48 tokens per session 8967806a7601
- 1mo ago First seen · 41 lines · 116 tokens per session scan A c51a4665af8a
browser-debugger-cli is a skill published in the GitHub repository jerseycheese/agent-skills (3 stars, last pushed yesterday), licensed MIT. It adds 68 tokens to every session and 437 once invoked, about $0.0003 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-08-31.
Other skills, from other repositories
opencli-autofix
Automatically fix broken OpenCLI adapters when commands fail. Load this skill when an opencli command fails — it guides you through collecting a trace artifact, patching the adapter, retrying, and filing an upstream GitHub issue after a verified fix. Works with any AI agent.
chrome-devtools
Use Chrome DevTools MCP to control and inspect a live Chrome instance for network, console, performance, rendering, and Deep debugging. Pairs with playwright-cli (deterministic interaction/E2E) — complements, not duplicates.
playwright-cli
Drive a real browser from the terminal using the Playwright CLI (snapshot, click, fill, screenshots, traces). Use when the task is CLI-first browser automation (data extraction, UI debugging, form fills, multi-tab work). For Playwright test specs, use e2e-runner instead.
wick-html-widget
Use when an HTML artifact / widget preview in wick chat misbehaves — blank or clipped iframe, "violates the following Content Security Policy directive", a stylesheet or script that never loads, images blocked by img-src, a slide deck whose navigation is dead, or a preview that needs to read a session file. Covers the…
didi-ride
A connection to DiDi, a ride-hailing service, for booking and managing trips and planning routes. It can check prices, orders, driver status, and routes for driving, public transport, walking, or cycling.
Search subreddits, read rules, reply to threads, and submit posts (link or text) to Reddit using either official OAuth or your own Reddit login cookies. Use when the user mentions Reddit, posting to a subreddit, replying or commenting on a thread, submitting a link or self-post, or checking their Reddit profile /…