From apple-notes-pack
Runs bash diagnostics for Apple Notes automation issues on macOS: app/accounts status, note/folder counts via osascript, TCC permissions. Trigger: 'apple notes debug'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/apple-notes-pack:apple-notes-debug-bundleThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
```bash
#!/bin/bash
echo "=== Apple Notes Debug Bundle $(date -Iseconds) ==="
echo "macOS: $(sw_vers -productVersion)"
echo "Notes.app running: $(pgrep -x Notes > /dev/null && echo Yes || echo No)"
echo "Accounts: $(osascript -l JavaScript -e "Application(\"Notes\").accounts().map(a => a.name()).join(\", \")" 2>/dev/null || echo "ERROR")"
echo "Note count: $(osascript -l JavaScript -e "Application(\"Notes\").defaultAccount.notes.length" 2>/dev/null || echo "ERROR")"
echo "Folder count: $(osascript -l JavaScript -e "Application(\"Notes\").defaultAccount.folders.length" 2>/dev/null || echo "ERROR")"
echo "TCC status: $(sqlite3 ~/Library/Application\ Support/com.apple.TCC/TCC.db "SELECT client,allowed FROM access WHERE service='kTCCServiceAppleEvents'" 2>/dev/null || echo "Cannot read TCC")"
echo "=== Done ==="
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin apple-notes-packDiagnoses and fixes Apple Notes automation errors like permissions (-1743), timeouts (-1712), folder mismatches, and invalid connections. Includes bash diagnostics, osascript checks, and TCC resets.
Automates Apple Notes via JXA. Use when asked to "create notes programmatically", "automate Notes app", "JXA notes scripting", or "organize notes with automation". Covers accounts/folders/notes, HTML bodies, queries, moves, and Objective-C/UI fallbacks for Notes.app automation on macOS.
Manages Apple Notes on macOS: create, search, read, update, delete and organize notes and folders via natural language commands.