| name | desktop-mac-connectors |
| description | Use when implementing or reviewing Mac-side knowledge connectors (local filesystem, Spotlight, Apple Notes, Apple Mail, Calendar, Obsidian, Notion, Google Drive, Slack) inside the desktop-mac owner family. |
Hussh Desktop Mac Connectors Skill
Purpose and Trigger
- Primary scope:
desktop-mac-connectors
- Trigger on Mac-side knowledge connector implementation, OAuth refresh handling, AppleScript bridges, and connector revocation propagation.
- Avoid overlap with
desktop-mac-mcp-host and vault-pkm-governance.
Coverage and Ownership
- Role:
spoke
- Owner family:
desktop-mac
Owned repo surfaces:
apps/one-mac/Sources/OneIndexer
Non-owned surfaces:
desktop-mac
mobile-native
backend
Do Use
- Implementing or extending the
Connector SwiftPM protocol per source.
- AppleScript bridges, MailKit, EventKit, FSEvents watchers, and OAuth refresh flows.
- Connector revocation cascades, permission state machines, and ingestion backpressure.
Do Not Use
- Local MCP server or OpenClaw conformance work โ use
desktop-mac-mcp-host.
- Vault encryption or PKM writeback shape changes โ use
vault-pkm-governance.
- Broad Mac-app intake where the connector boundary is unclear.
Read First
docs/future/one-mac-knowledge-base-app.md
apps/one-mac/README.md
hushh-webapp/ios/App/CapApp-SPM/Package.swift
Workflow
- Pick one connector at a time; never bundle connectors across PRs.
- Each connector is its own SwiftPM target with its own permission state machine.
- Persist OAuth refresh tokens in Keychain access group
ai.hushh.one, never in SQLite.
- AppleScript-dependent sources must ship an alternative path for when the bridge is TCC-denied.
- Connector revocation must cascade: invalidate all derived DATs, flush ciphertext blobs for that domain, and append to the local consent log.
Handoff Rules
- If the request is broad Mac-app intake, route it back to
desktop-mac.
- If the work touches the local MCP server, OpenClaw bindings, or CRT minting, use
desktop-mac-mcp-host.
- If the work touches vault encryption, PKM domain shapes, or cloud ciphertext routes, use
vault-pkm-governance.
Required Checks
./bin/hushh native mac build
./bin/hushh native mac test