browser-debug

browser-debug is a command for coding agents from Desko77/cursor-1c-skills. It costs 0 tokens per session (252 once invoked), scanned A, original, MIT.

A command recipe for starting Yandex Browser with remote debugging enabled through the Chrome DevTools Protocol, a browser control and inspection interface. It also checks whether the debugging connection is available.

In plain words
What is it for?
Closing and relaunching Yandex Browser with debugging on port 9222, checking its connection, and reminding you how to add Chrome DevTools MCP.
Why use it?
It prepares the browser for external development tools that need to inspect or control web pages, and reports when the connection is ready.

Command

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.

agentmods
npx agentmods add commands/desko77/cursor-1c-skills/browser-debug
Clone the repo
git clone --depth 1 https://github.com/Desko77/cursor-1c-skills
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 252 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00000 $0.00252
Opus 5 $0.00000 $0.00126
Sonnet 5 $0.00000 $0.00050
Haiku 4.5 $0.00000 $0.00025

Measured 3d ago against content hash da6cf018393b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

browser-debug 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 3d 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.

Makes network callslowCapability

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

curl -s http://localhost:9222/json/version
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

commands/browser-debug.md · 26 lines

What it actually says

Запусти Яндекс Браузер с удаленной отладкой (Chrome DevTools Protocol) для отладки веб-приложений.

Выполни следующие шаги:

  1. Закрой все процессы Яндекс Браузера:

    taskkill //F //IM browser.exe
    
  2. Подожди 3 секунды, затем запусти браузер с отладкой (в фоне):

    "%LOCALAPPDATA%\Yandex\YandexBrowser\Application\browser.exe" --remote-debugging-port=9222
    
  3. Подожди 10 секунд и проверь доступность CDP:

    curl -s http://localhost:9222/json/version
    
  4. Если CDP доступен - выведи статус "CDP работает" и WebSocket URL. Если не доступен - повтори проверку еще 2 раза с интервалом 5 секунд.

  5. Напомни пользователю добавить Chrome DevTools MCP через команду /mcp если еще не добавлен:

    • Тип: stdio
    • Команда: npx chrome-devtools-mcp@latest --port=9222
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. 3d ago First seen · 26 lines · 0 tokens per session scan A da6cf018393b

Subscribe to this mod's changes

browser-debug is a command published in the GitHub repository Desko77/cursor-1c-skills (53 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 252 tokens. 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.