Agent skill · creative production · jeremylongshore
apple-notes-core-workflow-a
Build automated note management workflows with Apple Notes JXA scripts.
Why this skill is useful
Adds 3 executable scripts for automating note management in Apple Notes that aren't in public docs.
What it needs
Requires osascript installed locally. About 3k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.
What this skill does
Apple Notes Core Workflow A — Note Management Automation Overview Primary workflow: automate Apple Notes management with batch creation, template-based note generation, folder organization, and content sync from external sources (Markdown files, RSS, calendar events). Prerequisites Approved source files, a named target account and pre-created test folder, and a backup/reconciliation plan for bulk changes. Sanitization for external Markdown, feed, or calendar content before it becomes note HTML. A durable source-record key for every import or move so retries can be reconciled. Instructions 1. Start with synthetic data in the configured local test folder; do not use a default account or create production folders implicitly. 2. Validate and sanitize each source record before conversion, then enqueue one mutation at a time with an idempotency key. 3. Record only opaque source keys and outcomes, inspect a bounded sample, and reconcile counts before widening scope. 4. Stop on a timeout or unexpected folder match; do not rerun a whole batch blindly. Procedure Step 1: Batch Note Creator from Markdown Files Step 2: Note Template Engine (JXA) Step 3: Folder Organization Script Output Batch Markdown file → Apple Notes importer Template engine with meeting/daily/project templates Rule-based folder organization Folder creation on-demand Error Handling Error Cause Solution ------- ------- ---------- Can't move note Note is locked Unlock note in Notes.app first HTML rendering issues Invalid HTML tags Use basic tags: h1, h2, p, ul, li, strong Slow batch import iCloud sync throttling Add 1s delay between note creates Duplicate notes Script run twice Check for existing note by name before creating Examples For a migration rehearsal, import five synthetic Markdown files into a pre-created local test folder and reconcile the five source-record keys. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills jeremylongshore/apple-notes-core-workflow-a