/mac-developer:browser-companionfrom mac-developer
Use when turning a Chrome or other browser extension into a macOS companion app, connecting an extension to a native Mac app, importing web clips or screenshots, or porting a web extension to Safari while preserving its original browser behavior.
Ships in mac-developer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Deliver an additive companion architecture. Keep the original extension usable when the Mac app is absent, stopped, incompatible, or removed. Build working code and exercise the real extension-to-app round trip; an architecture document alone is not completion for an implementation request.
Read browser integration for platform rules, installation and sources. Read the clipper contract for an implementation design and acceptance matrix.
The bundled Node framing utility handles bounded JSON-object frames and has portable tests for fragmented input, UTF-8, invalid lengths, malformed data and EOF. Reuse it for an appropriate Node host, or use its cases as fixtures for a Swift host. It supplies framing only; implement origin/peer checks, application schemas, persistence and installation separately.
Provide a Mac interface with an inbox, thumbnails, source URL, capture time, collections/tags, search, import errors, and pending/imported state as the project needs. Make keyboard navigation, menu commands, drag and drop, export, and accessibility work. Keep CPU-heavy OCR/indexing off the UI and native messaging parser.
Select one canonical storage owner. Use a bounded receiver API or a deliberately shared repository with transactional coordination; never have a Node helper write directly into an undocumented SwiftData/Core Data store. Preserve provenance, privacy choices, and original bytes. Generate filenames internally; browser-supplied filenames are display metadata only.
Importing an image captured by a browser extension does not itself require the Mac app to capture the screen. Request macOS Screen Recording access only if the native app actually performs a capture operation that requires it. Browser capture permissions remain the extension's responsibility.
For launch-at-login, independent receiving after UI quit, service registration, sandboxing and signing, use the plugin's background-service and release guidance. Make the meaning of closing a window, quitting the app, and disabling background receiving explicit. Do not install a root daemon for a personal clip inbox.
Run the extension's original checks and the contract tests. On a Mac, install the host through the intended path, use a real browser extension to capture a page, observe the committed item in the app, then repeat with the app closed, helper stopped, browser restarted, and the network offline. Exercise retry after a lost acknowledgement and confirm one item is created. Check unsupported protocol versions and independently upgraded app/extension versions.
Deliver the native app source, extension changes, shared contract, installation/removal mechanism, tests and recorded results. Separate tested facts from pending Mac/browser/signing checks. Do not claim that coexistence works perfectly from a mock or a framing unit test alone.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub andrewr303/ultimate-ai-plugins --plugin mac-developer7 skills in this plugin
/background-servicesImplement, migrate, or debug macOS login items, SMAppService helpers, launch agents, daemons, XPC services, and reliable background workers for native or Node.js-based apps./mac-developerUse for end-to-end macOS development: new native apps, adapting Node.js/web/CLI projects, background services, or Mac companions for Chrome/Safari extensions while preserving the original product. Route to focused bundled workflows and implement and verify the requested result./mac-releaseUse when building, testing, signing, notarizing, packaging, updating, or troubleshooting distribution of a native, Electron, Tauri, or Node-backed macOS app.