chrome-extension-bridge

Design a secure Chrome extension bridge for browser-initiated CLI tool actions.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/CaptainPhantasy/floyd-v5 --skill chrome-extension-bridge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chrome-extension-bridge
Source: https://github.com/CaptainPhantasy/floyd-v5/tree/main/extensibility/skills/browser/chrome-extension-bridge
Command: npx skills add https://github.com/CaptainPhantasy/floyd-v5 --skill chrome-extension-bridge

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Building a secure, browser-first bridge between Floyd and local CLI tools to enable automation while preserving strong permissions and safety boundaries.

Core Features & Use Cases

  • Architecture options for Chrome Native Messaging or a Local Bridge Server, with strict security considerations.
  • Threat modeling, permission models, consent prompts, and per-action controls to minimize risk.
  • Chrome extension blueprint (MV3) including service worker, lightweight popup UI, and optional content scripts; a CLI bridge design with authentication, routing, and logging; and clear UX flows for connect, grant, run, and revoke actions.
  • Comprehensive test plans and hard merge gates to ensure production readiness.

Quick Start

Provide a secure Chrome extension bridge blueprint with architecture, threat model, and MV3 design.

Frequently Asked Questions about chrome-extension-bridge

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

FAQPage Schema
How do I build a secure Chrome extension bridge to local CLI tools?

To build a secure Chrome extension bridge to local CLI tools, you implement an MV3 service worker with strict per-action approval and local authentication handshakes. This architecture ensures browser-initiated tool actions execute safely through typed request and response contracts.

What is the best way to secure a local CLI bridge server for a browser extension?

Securing a local CLI bridge server requires implementing threat models, permission models, and consent prompts. You must enforce per-action controls and safe local authentication to minimize risk when the browser UI initiates commands like running tests or linting.

How does MV3 Native Messaging work with local CLI tools?

MV3 Native Messaging works by connecting a Chrome extension service worker to a local bridge server or native host, routing typed requests to CLI tools. It requires user consent and per-action approval to ensure safe execution of repository actions.

Can I use a Chrome extension to run local tests and lint commands with user consent?

Yes, you can use a Chrome extension to run local tests and lint commands. The bridge design specifies UX flows for connect, grant, run, and revoke actions, ensuring every browser-initiated command requires explicit user consent before execution.

What are the limitations of using an MV3 Chrome extension for local automation?

Limitations of using an MV3 Chrome extension for local automation include managing service worker lifecycle constraints and enforcing strict permission boundaries. You must implement hard merge gates and comprehensive test plans to ensure production readiness and prevent unauthorized actions.

Do I need a threat model for a Chrome extension local bridge?

Yes, you need a threat model for a Chrome extension local bridge to identify and mitigate security risks. The blueprint includes threat modeling, permission models, and per-action consent prompts to guarantee safe local authentication and protect CLI tool execution.