automating-notes

Create and organize Apple Notes with JXA via osascript on macOS.

63|12|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/iBz-04/gloamy --skill automating-notes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: automating-notes
Source: https://github.com/iBz-04/gloamy/tree/main/skills/automating-notes
Command: npx skills add https://github.com/iBz-04/gloamy --skill automating-notes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires PyXA, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates creating and organizing Apple Notes so you do not have to manually navigate accounts and folders to write, move, or update notes.

Core Features & Use Cases

  • JXA-first Apple Notes automation: Creates notes programmatically in the Notes app by using osascript JavaScript as the primary automation method.
  • Account/folder path resolution: Ensures the target folder path exists (including nested folders) under the correct Notes account (iCloud vs On My Mac).
  • Query, move, and manage notes: Uses Notes specifier queries to find notes and then apply updates such as moving or deleting in bulk.
  • Use Case: Generate structured meeting note dossiers like meetings/Company/YYYY-MM-DD-Title and people/First-Last/... from an AI prompt and keep them consistently organized.

Quick Start

Tell the assistant: Create an iCloud Notes note titled "Client Review" under meetings/Acme/2024-07-01-Review with this HTML agenda body: <h1>Client Review</h1><div>Agenda...</div>.

Frequently Asked Questions about automating-notes

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Apple Notes creation using JXA on macOS?

Automating Apple Notes creation with JXA uses osascript JavaScript execution to programmatically generate notes, resolve nested folder paths within iCloud or On My Mac accounts, and apply HTML bodies to structured content like meeting notes.

Can I create a note in a nested Apple Notes folder automatically?

Yes, automating nested Apple Notes folder creation is possible. The script resolves the Notes AEOM hierarchy to ensure the correct account and full nested folder path exists before generating and placing the note.

Does Apple Notes automation support adding an HTML body to notes?

Apple Notes automation supports adding an HTML body to notes. It handles supported HTML formatting safely and includes fallback mechanisms for advanced cases where specific HTML elements might not render correctly within the Notes app.

What's the best way to organize meeting notes in Apple Notes programmatically?

Using JXA-first Apple Notes automation is the best way to organize meeting notes programmatically. It generates structured dossiers like meetings/Company/YYYY-MM-DD-Title and ensures consistent nested folder organization across accounts.

Do I need PyXA to automate Apple Notes with osascript?

You need PyXA as a dependency to facilitate Apple Notes automation. While JXA execution via osascript is the primary method, PyXA is required for the underlying script interactions and specifier queries to function correctly.

Why does my JXA script fail to move notes between Apple Notes accounts?

JXA scripts fail to move notes between Apple Notes accounts when the Notes AEOM hierarchy is not resolved correctly. Proper account and folder specifier queries must be established first to execute bulk updates or moves safely.