apple-notes-install-auth

Featured

Set up macOS automation access for Apple Notes via AppleScript, JXA, and Shortcuts. Use when configuring accessibility permissions, setting up osascript access, or initializing Apple Notes automation on macOS. Trigger: "setup apple notes", "apple notes automation", "apple notes permissions".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Apple Notes Install & Auth ## Overview Apple Notes has no REST API. Automation uses macOS scripting technologies: AppleScript, JavaScript for Automation (JXA), Shortcuts, and the `osascript` command-line tool. No SDK to install — but you need macOS accessibility permissions. ## Prerequisites - macOS 13+ (Ventura or later recommended) - Terminal app or iTerm2 - System Preferences > Privacy & Security > Automation permissions ## Instructions ### Step 1: Grant Automation Permissions ```bash # macOS requires explicit permission for scripts to control Notes.app # The first time you run an osascript command targeting Notes, macOS will prompt. # You can also pre-grant in: System Preferences > Privacy & Security > Automation # Test basic Notes access (will trigger permission prompt) osascript -e 'tell application "Notes" to get name of every note in default account' ``` ### Step 2: Verify JXA (JavaScript for Automation) Access ```bash # JXA is the modern alternative to AppleScript # Run JavaScript via osascript with -l JavaScript flag osascript -l JavaScript -e ' const Notes = Application("Notes"); Notes.includeStandardAdditions = true; const noteCount = Notes.defaultAccount.notes.length; `Apple Notes accessible: ${noteCount} notes found`; ' ``` ### Step 3: Create a Wrapper Script ```bash #!/bin/bash # scripts/notes-cli.sh — Wrapper for common Apple Notes operations case "$1" in count) osascript -l JavaScript -e ' const Notes = Application("Notes")...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category