Wardn Hub
MCP ServersSkillsCategoriesAPI docsSubmit server
Submit server
Wardn HubTrusted MCP server directory.

Registry

  • MCP Servers
  • Skills
  • Categories

Resources

  • API docs
  • Score method

Contribute

  • Submit server
  • Advertise
© 2026 Wardn Hub
Wardn Hub
MCP ServersSkillsCategoriesAPI docsSubmit server
Submit server
skills/jeremylongshore/claude-code-plugins-plus-skills/curated-apple-notes-install-auth

curated-apple-notes-install-auth

1
jeremylongshore/claude-code-plugins-plus-skills·OS Automation·Audit pending·Snapshot 1aa14c9c3f30

Summary

This source did not publish a separate summary. Review SKILL.md before using the skill.

SKILL.md

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

# 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

# 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

#!/bin/bash
# scripts/notes-cli.sh — Wrapper for common Apple Notes operations

case "$1" in
  count)
    osascript -l JavaScript -e '
      const Notes = Application("Notes");
      Notes.defaultAccount.notes.length;
    '
    ;;
  list)
    osascript -l JavaScript -e '
      const Notes = Application("Notes");
      const notes = Notes.defaultAccount.notes();
      notes.slice(0, 20).map(n => `${n.id()} | ${n.name()}`).join("\n");
    '
    ;;
  folders)
    osascript -l JavaScript -e '
      const Notes = Application("Notes");
      Notes.defaultAccount.folders().map(f => f.name()).join("\n");
    '
    ;;
  *)
    echo "Usage: notes-cli.sh {count|list|folders}"
    ;;
esac

Step 4: Verify Shortcuts Integration

# Apple Shortcuts can also interact with Notes
# Check available shortcuts
shortcuts list | grep -i note

# Run a shortcut that creates a note
shortcuts run "Create Note" --input-path /dev/stdin <<< "Test content"

Automation Technologies

TechnologyLanguageBest ForDocs
AppleScriptAppleScriptSimple operationsApple Scripting Guide
JXAJavaScriptComplex logic, JSON handlingApple JXA Reference
osascriptCLI wrapperScripts, CI/CDman osascript
ShortcutsVisualNon-developer workflowsShortcuts app
PyXAPythonPython automationpyxa.dev

Output

  • macOS automation permissions granted for Notes.app
  • JXA access verified with note count
  • CLI wrapper script for common operations
  • Shortcuts integration confirmed

Error Handling

ErrorCauseSolution
Not authorized to send Apple eventsMissing automation permissionGrant in System Preferences > Privacy > Automation
Notes got an error: AppleEvent timed outNotes.app not runningLaunch Notes first or add activate
-1743 errAEAppNotAllowedDenied by TCCReset TCC: tccutil reset AppleEvents
execution error: Notes is not runningNotes.app closedAdd tell app "Notes" to activate

Resources

  • Mac Automation Scripting Guide
  • JXA Reference
  • AppleScript Notes Dictionary

Next Steps

Proceed to apple-notes-hello-world for your first note creation.

Related skills

implementing-backup-strategieskubernetes-secrets-managerbuilding-gitops-workflowsmanaging-api-cachemanaging-network-policies