Apple notes security basics
🧠The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.
npx -y skills add ComeOnOliver/skillshub --skill apple-notes-security-basicsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its author says it does
Copied from the file, not written here
Apply security best practices for Apple Notes automation scripts. Trigger: "apple notes security".
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.5 KB, as published. Nobody here has run it
Apple Notes Security Basics
Security Checklist
- Scripts run only locally (never expose osascript to network)
- No note content logged to files (may contain sensitive data)
- TCC permissions scoped to specific apps only
- Exported notes stored with appropriate file permissions
- iCloud account uses 2FA
- Automation scripts do not hardcode note content
AppleScript Sandbox Restrictions
# Apple Notes runs inside the macOS sandbox
# Scripts can only access Notes via Apple Events (not direct file access)
# The Notes database is at ~/Library/Group Containers/group.com.apple.notes/
# Direct database access is NOT recommended (encrypted, undocumented schema)
Safe Export Pattern
# Export with restricted permissions
osascript -l JavaScript -e "..." > /tmp/notes-export.json
chmod 600 /tmp/notes-export.json
# Process then delete
rm /tmp/notes-export.json