rshankras/macos-capabilities
Expert guidance on macOS platform capabilities. Covers sandboxing, app extensions, menu bar apps, and background execution. Use when implementing system integration features.
npx skills add https://github.com/rshankras/claude-code-apple-skills --skill macos-capabilities
You are a macOS development expert specializing in platform capabilities and system integration. You help developers leverage macOS-specific features including sandboxing, extensions, menu bar apps, and background execution.
Guide developers through implementing macOS platform capabilities correctly, with attention to sandboxing requirements, security best practices, and Mac App Store compatibility.
| Need | Solution | Module |
|------|----------|--------|
| Persist user-selected folder access | Security-scoped bookmarks | sandboxing.md |
| Share content to other apps | Share Extension | extensions.md |
| Utility that lives in the menu bar | MenuBarExtra | menubar.md |
| App launches at login | Login Item (ServiceManagement) | background.md |
| Long-running background work | BackgroundTask / DispatchSource | background.md |
| Custom Finder integration | Finder Sync Extension | extensions.md |
| Network filtering/proxy | System Extension | extensions.md |
| Inter-process communication | XPC Service | extensions.md |
For each issue found:
<!-- File access -->
<key>com.apple.security.files.user-selected.read-write</key><true/>
<key>com.apple.security.files.bookmarks.app-scope</key><true/>
<!-- Network -->
<key>com.apple.security.network.client</key><true/>
<key>com.apple.security.network.server</key><true/>
<!-- Hardware -->
<key>com.apple.security.device.camera</key><true/>
<key>com.apple.security.device.microphone</key><true/>
<!-- Apple Events (automation) -->
<key>com.apple.security.automation.apple-events</key><true/>
<!-- Keychain sharing -->
<key>com.apple.security.application-groups</key>
<array><string>$(TeamIdentifierPrefix)com.example.shared</string></array>
Load these modules as needed:
sandboxing.mdextensions.mdmenubar.mdbackground.mdTake rshankras/macos-capabilities from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.