Skip to content
Back to skills

Browser Extension Debug

ASecurity

Debug live browser extensions in Chrome, Edge, Firefox, or macOS Safari. Use for selecting unpacked builds, loading and reloading extensions, reproducing toolbar or panel interactions, and inspecting content scripts and background contexts across browsers.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 29, 2026
ai-agentsnodedebuggingapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned November 29, 2026

npx -y skills add oovz/plugins --skill browser-extension-debug --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Browser Extension Debug?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Browser Extension Debug
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/oovz-browser-extension-debug/badge)](https://www.skillsdirectory.com/skills/oovz-browser-extension-debug)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: browser-extension-debug
description: Debug live browser extensions in Chrome, Edge, Firefox, or macOS Safari. Use for selecting unpacked builds, loading and reloading extensions, reproducing toolbar or panel interactions, and inspecting content scripts and background contexts across browsers.
---

# Browser Extension Debugging

1. Identify the requested browsers and the project's build commands. Use Chrome for an unspecified browser unless the project targets a different one. For several browsers, run the same reproduction separately against each browser's build. Use `wxt-extension-debug` for WXT's generated output and hot reload.
2. Build for the selected browser and inspect the generated manifest. From this skill's directory, use the commands below with `chrome`, `edge`, `firefox`, or `safari`. Pass `--output <directory>` when the build command identifies a specific output. Confirm the candidate came from that command and has `compatible: true`. The helper checks directory labels, manifest version, and common background requirements. Confirm API support and installation in the target browser.

   ```sh
   node scripts/find-extension-build.mjs /absolute/path/to/project --browser firefox
   node scripts/inspect-extension.mjs /absolute/path/to/unpacked-build
   ```

3. Read the selected browser's setup and shutdown procedure before opening a session.

   | Browser | Setup and diagnostic branch |
   |---|---|
   | Chrome or Edge | [Chrome DevTools CLI, MCP setup, and native fallback](references/chromium.md). For popups, side panels, and worker restart, use [Chromium extension surfaces](references/surfaces.md). |
   | Firefox | [Firefox MCP, web-ext, and Add-on Debugger](references/firefox.md). |
   | Safari on macOS | [Temporary extensions and Web Inspector](references/safari.md). |

4. Record the build path, extension ID when available, and the session owner. Navigate to a matching page or local fixture. Exercise the actual toolbar action, panel gesture, or other product entry point when the bug depends on browser integration. Inspect the console or debugger in the context responsible for the symptom and trace messages to their receiver.
5. After changes, confirm the generated bundles landed in the loaded directory. Reload or reinstall as the browser requires, refresh pages that host content scripts, and reopen the surface. Repeat the original interaction and record the result. For background lifecycle bugs, observe the browser wake the relevant background context without a full extension reload.

## Finish the session

Collect diagnostics before teardown. On success, failure, or a blocked reproduction, run the shutdown procedure for every browser started for the task and confirm it exited. Stop task-owned watchers and development servers. For a borrowed session, remove only the test extension installs, tabs, and windows you added. Keep resources open only when the user asks, and identify them in the handoff.

Report the build and observed result for each requested browser. Name the surface you exercised, such as a toolbar popup, a directly opened extension page, or a web preview. Report any missing coverage or incomplete shutdown.

Files in this skill

  • LICENSE1.1 KB
  • SKILL.md3.1 KB
  • references/chromium.md3.9 KB
  • references/firefox.md2.6 KB
  • references/safari.md1.9 KB
  • references/surfaces.md2.9 KB
  • scripts/find-extension-build.mjs8.2 KB
  • scripts/inspect-extension.mjs3.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.