/mac-developer:mac-research-and-debugfrom mac-developer
Use to inspect a macOS, Node.js, web, or browser-extension project before implementation; research current Apple/runtime requirements; or diagnose build, IPC, permission, background-service, signing, performance, and crash failures.
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.
Use the agent's actual research, filesystem, and terminal tools. These scripts are supporting utilities, not automatically available tools or a remote macOS machine.
Read local instructions and git status first. Run:
python3 <skill-directory>/scripts/inspect_project.py /absolute/project/path
The report lists stack evidence and command names, not script bodies or secrets. It is heuristic; read the actual package manifests, workspace configuration, schemes, extension manifest, data model, existing tests, and packaging before choosing an architecture. The scanner skips symlinks, hidden/dependency/build directories, limits traversal and input size, and never invokes project commands.
Run its portable checks with python3 <skill-directory>/scripts/test_inspect_project.py.
On a Mac run sh <skill-directory>/scripts/mac_environment.sh to collect nonsecret
OS/CPU/Xcode/SDK evidence. Do not assume the Linux environment can compile AppKit,
exercise TCC, start login helpers, or prove Gatekeeper acceptance.
Reproduce a minimal failure, capture the first actionable error, form a hypothesis, and change one causal factor. Add a regression test only when it prevents recurrence.
| Symptom | Inspect |
|---|---|
| Works in Terminal, fails as installed app | Bundle paths, executable permissions, cwd, environment/PATH, bundled runtime, signing, architecture, sandbox and resource access |
| Extension cannot reach app | Native host manifest and exact extension ID, absolute executable, executable bit, frame codec, stdout contamination, browser/profile-specific installation |
| Worker disappears | Window/app lifetime, process owner, exit status, service status, user login/background permission, bounded retries and logs |
| Screen/file access fails | Which process requests permission, relevant TCC category, entitlements/usage descriptions, denial recovery and user-selected access |
| App rejected or won't launch | Exact installed artifact, nested signatures, entitlements, Hardened Runtime, notarization log, quarantine and Gatekeeper assessment |
| CPU/memory/energy problem | Instruments Time Profiler/Allocations/Energy, task duration, event-driven wakeups, cancellation, image decode/downsample/OCR work off main actor |
| UI freezes or data races | Main actor blocking, concurrency boundaries, Swift strict-concurrency diagnostics for selected compiler, independent database writers |
Do not run broad reset commands such as TCC resets, delete a user's library, disable SIP/Gatekeeper, or kill unrelated services as a diagnostic shortcut. Use OSLog with privacy-aware fields, correlation IDs and bounded retention; exclude screenshots, credentials, full URLs with secrets, and message payloads.
Load background-services, browser-companion, or mac-release for detailed work at those layers.
Current source entry points and research policy are in source-map.md.
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./browser-companionUse 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./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.