browser-debug

browser-debug is a skill for Claude Code from jpoutrin/product-forge. It costs 42 tokens per session (2,723 once invoked), scanned A, original, MIT.

A browser debugging guide for systematically capturing console, network, and performance logs from Chromium-based browsers such as Chrome, Edge, and Brave.

In plain words
What is it for?
Use it to start debugging sessions, collect browser logs, reproduce issues, and inspect page behaviour during development.
Why use it?
It organizes the evidence needed to investigate browser errors, failed requests, slow pages, and reported web bugs.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/jeremiepoutrin/projects/github/jpoutrin/product-forge.

Part of the product-design plugin — 43 skills, 8 agents shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add jpoutrin/product-forge
Claude Code
/plugin install product-design

Made for: Claude Code.

Or install product-design, the plugin that ships this one along with the rest of its 43 skills, 8 agents.

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 browser-debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/jpoutrin/product-forge/browser-debug.svg)](https://agentmods.dev/skills/jpoutrin/product-forge/browser-debug)
Your own site
<a href="https://agentmods.dev/skills/jpoutrin/product-forge/browser-debug"><img src="https://agentmods.dev/badge/skills/jpoutrin/product-forge/browser-debug.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,723 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.1 $0.00042 $0.02723
Opus 5 $0.00021 $0.01362
Sonnet 5 $0.00008 $0.00545
Haiku 4.5 $0.00004 $0.00272

Measured 2d ago against content hash c0c6cd5fa029, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

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

plugins/product-design/skills/browser-debug/SKILL.md · 391 lines

How it starts

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

Browser Debug Skill

Comprehensive browser log capture for AI-led debugging using Chrome DevTools MCP.

Works with any Chromium-based browser: Dia, Chrome, Edge, Brave, Opera, etc.

When to Use This Skill

This skill auto-loads when:

  • Debugging browser console errors
  • Investigating network request failures (API errors, CORS issues)
  • Analyzing page performance issues
  • Reproducing and diagnosing user-reported bugs
  • Conducting systematic browser debugging sessions
  • Working with web applications during development

Browser Compatibility

✅ Supported Browsers (Chromium-based):

  • Dia (primary - Chromium-based browser)
  • Google Chrome
  • Microsoft Edge
  • Brave Browser
  • Opera
  • Vivaldi
  • Any browser using Chrome DevTools Protocol

Why Chromium? These browsers all use the Chrome DevTools Protocol, which provides consistent debugging APIs across platforms.

Log Capture Workflow

Step 1: Initialize Session

Create timestamped session directory for organized log storage:

  • Directory: ~/browser-logs/sessions/YYYYMMDD-HHMMSS-{page-description}/
  • Symlink: ~/browser-logs/latest/ points to most recent session
  • Configurable via ~/.claude/forge/config/browser-capture.yaml

Step 2: Capture Console Logs

Use Chrome DevTools MCP to capture all console messages with filtering:

Error messages (critical):

mcp__plugin_product-design_chrome-devtools__list_console_messages(
    pageIdx=0,
    pageSize=100,
    types=["error"],
    includePreservedMessages=True  # Last 3 navigations
)

Warnings (important):

mcp__plugin_product-design_chrome-devtools__list_console_messages(
    pageIdx=0,
    pageSize=100,
    types=["warn"],
    includePreservedMessages=True
)

All logs (context):

mcp__plugin_product-design_chrome-devtools__list_console_messages(
    pageIdx=0,
    pageSize=100,
    types=["error", "warn", "info", "log", "debug"],
    includePreservedMessages=True
)

Output files:

  • console-error.log - Only errors
  • console-warn.log - Only warnings
  • console-all.log - All console output

Read the full file on GitHub · 391 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. 2d ago First seen · 391 lines · 42 tokens per session scan A c0c6cd5fa029

Subscribe to this mod's changes

browser-debug is a skill published in the GitHub repository jpoutrin/product-forge (15 stars, last pushed 6mo ago), licensed MIT. It adds 42 tokens to every session and 2,723 once invoked, about $0.0002 per session on Opus 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-09-03.

Related

Other skills, from other repositories

runtime-debug

Debug and verification workflow for runtime-bundle and module-resolution regressions. Use when diagnosing unexpected module inclusions, bundle size regressions, or CI failures related to NEXTSKIPISOLATE, nft.json traces, or runtime bundle selection (module.compiled.js). Covers CI env mirroring, full stack traces via…

vercel/next.js · 82 tokens

chrome-devtools-cli

Use this skill to write shell scripts or run shell commands to automate tasks in the browser or otherwise use Chrome DevTools via CLI.

ChromeDevTools/chrome-devtools-mcp · 31 tokens

agent-browser-electron

Use when Codex needs to inspect, debug, or automate an Electron app through agent-browser and Chrome DevTools Protocol, especially when the app has multiple BrowserWindow instances, lazy-created windows, duplicate URLs, or misleading agent-browser tab list output. Covers mapping Electron windows to raw CDP targets…

moeru-ai/airi · 95 tokens

a11y-debugging

Uses Chrome DevTools MCP for accessibility (a11y) debugging and auditing based on web.dev guidelines. Use when testing semantic HTML, ARIA labels, focus states, keyboard navigation, tap targets, and color contrast.

ChromeDevTools/chrome-devtools-mcp · 50 tokens

chrome-devtools

Uses Chrome DevTools via MCP for efficient debugging, troubleshooting and browser automation. Use when debugging web pages, automating browser interactions, analyzing performance, or inspecting network requests. This skill does not apply to --slim mode (MCP configuration).

ChromeDevTools/chrome-devtools-mcp · 55 tokens

nullaway

Guide for resolving NullAway static analysis errors. Best practices for: Passing ObservableSupplier/Supplier Dereferencing potentially @Nullable values Adding @NullMarked to Java code.

chromium/chromium · 43 tokens