browser-extension-developer

Intercept and evaluate user prompts in a Chrome Manifest v3 extension.

14|2|Updated Nov 12, 2025
One-click install
npx skills add https://github.com/tbartel74/Vigil-Code --skill browser-extension-developer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: browser-extension-developer
Source: https://github.com/tbartel74/Vigil-Code/tree/main/.claude/skills/browser-extension-developer
Command: npx skills add https://github.com/tbartel74/Vigil-Code --skill browser-extension-developer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Chrome Manifest v3 browser extension for Vigil Guard providing client-side prompt injection protection through webhook proxy integration with 3-branch parallel detection architecture and browser fingerprinting.

Core Features & Use Cases

  • Manifest & Content Scripts: MV3 extension skeleton with background service worker.
  • Webhook Proxy: Integrates with the 3-branch detection webhook path.
  • Debugging & Extension UX: Extension UI and testing hooks for deployment.

Quick Start

Load the extension in Chrome as an unpacked app and configure the webhook proxy endpoint.

Frequently Asked Questions about browser-extension-developer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I protect ChatGPT-style prompts from injection attacks in a Chrome extension?

Prompt injection protection evaluates user inputs within a Chrome Manifest v3 extension using a 3-branch parallel detection architecture integrated with webhook proxy validation. The extension intercepts prompts client-side, applies threat scoring, and returns ALLOW, SANITIZE, or BLOCK decisions to enforce security in the UI before submission.

What is Manifest v3 and why do I need it for browser extension development?

Manifest v3 is Chrome's current extension framework that replaces content scripts with a background service worker and enforces stricter security policies. It's required for modern Chrome extensions and enables secure webhook integration, debugging hooks, and client-side processing logic like prompt validation.

Can I use content scripts with a background service worker to intercept browser interactions?

Yes. Content scripts inject into web pages to intercept user input, while a background service worker manages webhook communication, threat detection logic, and decision enforcement. This architecture enables real-time prompt evaluation and browser fingerprinting across client and background layers.

How do I integrate webhook proxy endpoints into a Chrome extension for threat detection?

Configure the webhook proxy endpoint in your extension's background service worker to receive intercepted prompts from content scripts. The webhook applies 3-branch detection logic and returns threat scores, PII detection flags, and arbiter decisions that the extension enforces as ALLOW, SANITIZE, or BLOCK actions.

What debugging tools are available for testing a Manifest v3 extension before deployment?

The extension includes built-in testing hooks and a dedicated UI for debugging. Load the unpacked extension in Chrome's developer mode to inspect content script execution, webhook responses, threat scores, and branch detection results in real time before production deployment.

Does this approach detect personally identifiable information in user prompts?

Yes. The 3-branch detection system identifies PII within intercepted prompts and returns a pii_detected flag alongside sanitized input and threat scoring. Browser fingerprinting and parallel branch analysis refine detection accuracy to reduce false positives.