apple-notes-deploy-integration
Installation
SKILL.md
Apple Notes Deploy Integration
Overview
Apple Notes automation runs exclusively on macOS — there is no cloud deployment path because Notes.app depends on the local Apple Events subsystem and TCC permissions. Deployment means packaging your JXA/osascript automation as a persistent local service. The three deployment models are: launchd agents for scheduled/recurring tasks, Automator workflows for user-triggered actions, and Apple Shortcuts for cross-app automation. Each has different permission requirements and lifecycle management.
Prerequisites
- An owned interactive macOS user session, an approved launchd label, and explicit TCC consent for the actual client path.
- Immutable versioned scripts with a tested rollback package; do not deploy from a mutable home-directory glob.
- A restricted log directory and a non-production account or folder for initial smoke tests.
Instructions
- Install a versioned artifact into a user-owned directory with restrictive permissions and validate the plist with
plutil -lint. - Bootstrap the agent in the GUI user domain; confirm its label, executable path, and environment exactly match the reviewed release.
- Run a read-only scoped smoke test before enabling scheduled writes.
- Roll back by booting out the exact label and restoring the previously approved artifact; never leave two schedules active.