> apple-notes-common-errors

Diagnose and fix common Apple Notes automation errors. Trigger: "apple notes error".

fetch
$curl "https://skillshub.wtf/jeremylongshore/claude-code-plugins-plus-skills/apple-notes-common-errors?format=md"
SKILL.mdapple-notes-common-errors

Apple Notes Common Errors

Error Reference

ErrorCodeRoot CauseFix
Not authorized to send Apple events-1743Missing automation permissionSystem Preferences > Privacy > Automation
AppleEvent timed out-1712Notes.app busy or not runningActivate Notes first; increase timeout
Notes is not runningN/AApp closedAdd Application("Notes").activate()
Can't get folder-1728Folder name mismatchCheck exact folder name including case
Connection is invalid-609Notes crashed during operationRestart Notes.app
User canceled-128Security dialog dismissedRe-run and click Allow

Diagnostic Script

#!/bin/bash
echo "=== Apple Notes Diagnostics ==="
echo -n "Notes.app running: "
pgrep -x Notes > /dev/null && echo "Yes" || echo "No"
echo -n "Note count: "
osascript -l JavaScript -e "Application(\"Notes\").defaultAccount.notes.length" 2>/dev/null || echo "ERROR"
echo -n "Folder count: "
osascript -l JavaScript -e "Application(\"Notes\").defaultAccount.folders.length" 2>/dev/null || echo "ERROR"
echo -n "Accounts: "
osascript -l JavaScript -e "Application(\"Notes\").accounts().map(a => a.name()).join(\", \")" 2>/dev/null || echo "ERROR"
echo "=== Done ==="

Common Fixes

# Reset TCC permissions (if automation denied)
tccutil reset AppleEvents

# Force quit and restart Notes
killall Notes; sleep 2; open -a Notes

# Check iCloud sync status
defaults read com.apple.Notes

Resources

┌ stats

installs/wk0
░░░░░░░░░░
github stars1.7K
██████████
first seenMar 23, 2026
└────────────

┌ repo

jeremylongshore/claude-code-plugins-plus-skills
by jeremylongshore
└────────────