Skip to content
cccskills
FreePublished on GitHub

apple-notes-prod-checklist

Check whether a production Mac is ready for Apple Notes automation. Review permissions, iCloud sync, backups, error handling, and compatibility, then produce a readiness summary using read-only checks by default.

OriginalShow the original description

Production checklist for Apple Notes automation deployments. Trigger: "apple notes production checklist".

Run score Not tested

See how to install

Good for

  • Check a Mac before deploying Apple Notes automation
  • Verify permissions in the actual execution context
  • Review sync, backups, and failure alerts
  • Test writes in an approved non-production folder

Files included (1)

  • SKILL.md6.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Apple Notes Production Checklist

Overview

Before deploying Apple Notes automation to a production macOS machine, validate every dependency: TCC permissions, iCloud sync health, Notes.app availability, error handling robustness, and data security. Unlike cloud services where deployment is a push, Apple Notes automation requires physical or remote access to a Mac with a logged-in user session. This checklist ensures nothing is missed before going live.

Prerequisites

  • An owned, interactive macOS host with the target account and an approved automation consent path.
  • A documented backup and restore exercise for the specific notes and folders the automation may change.
  • A non-production test folder or account for any write-path verification; production validation must be read-only by default.

Instructions

  1. Complete the checklist on the exact host and user context that will run the automation.
  2. Verify only the account and folders explicitly in scope; do not enumerate or export unrelated notes.
  3. Treat a failed authorization, sync, or backup check as a deployment stop, not a warning.
  4. Run a write-path test only in the designated test folder, confirm cleanup manually, and retain no note body in logs.

Pre-Deployment Checklist

Permissions and Access

  • TCC automation permission granted (System Settings > Privacy > Automation)
  • Permission tested from the exact context that will run in production (Terminal, launchd, etc.)
  • Full Disk Access granted if reading Notes database directly (not recommended)
  • Script runs without interactive prompts (no "Allow" dialogs left)

Application Configuration

  • Notes.app configured to launch at login (System Settings > General > Login Items)
  • Target Apple ID / iCloud account signed in and syncing
  • "On My Mac" account enabled if local storage is needed
  • Correct default account set for automation scripts

Data and Sync

  • iCloud sync verified working (create note on Mac, verify on iPhone)
  • Backup strategy documented (JSON export on schedule)
  • Exported data files have restricted permissions (chmod 600)
  • No sensitive data written to logs or temp files

Reliability

  • Error handling for all AppleEvent failure codes (-1743, -1712, -609, -1728)
  • Retry logic with exponential backoff for transient failures
  • Write operations throttled (max 1 per second for iCloud sync)
  • Health check script deployed and running on schedule
  • Alerting configured for automation failures (macOS notification or webhook)

Compatibility

  • Script tested on target macOS version (sw_vers)
  • JXA API compatibility verified for target OS (Ventura/Sonoma/Sequoia)
  • Node.js version matches production (if using child_process for osascript)

Validation Script

#!/bin/bash
echo "=== Apple Notes Production Readiness ==="
PASS=0; FAIL=0; WARN=0

check() {
  local label=$1 result=$2
  if [ "$result" = "PASS" ]; then echo "[PASS] $label"; PASS=$((PASS+1))
  elif [ "$result" = "WARN" ]; then echo "[WARN] $label"; WARN=$((WARN+1))
  else echo "[FAIL] $label"; FAIL=$((FAIL+1)); fi
}

# macOS version
VER=$(sw_vers -productVersion)
check "macOS version ($VER)" "$(echo "$VER" | grep -qE '^1[3-9]|^[2-9]' && echo PASS || echo WARN)"

# Notes.app running
check "Notes.app running" "$(pgrep -x Notes > /dev/null && echo PASS || echo FAIL)"

# JXA access
NOTE_COUNT=$(osascript -l JavaScript -e 'Application("Notes").defaultAccount.notes.length' 2>/dev/null)
check "JXA access (${NOTE_COUNT:-0} notes)" "$([ -n "$NOTE_COUNT" ] && echo PASS || echo FAIL)"

# iCloud sync daemon
check "iCloud sync daemon (bird)" "$(pgrep -x bird > /dev/null && echo PASS || echo WARN)"

# Keep readiness validation read-only. Exercise writes separately in a named,
# non-production test folder with an operator present and a verified cleanup plan.

echo ""
echo "=== Results: $PASS passed, $WARN warnings, $FAIL failed ==="
[ "$FAIL" -gt 0 ] && echo "BLOCKED: Fix failures before deploying" && exit 1
[ "$WARN" -gt 0 ] && echo "READY with warnings" && exit 0
echo "READY for production" && exit 0

Error Handling

IssueCauseSolution
Validation passes locally, fails on target MacDifferent macOS version or Apple IDRun validation script on the exact production machine
Write test failsAccount is read-only (Gmail IMAP)Switch to iCloud or "On My Mac" account
Notes.app not at login itemsRemoved after macOS updateRe-add via System Settings > General > Login Items
Health check does not alertNotification permissions denied for TerminalGrant notification permission in System Settings
iCloud sync lag in productionLarge attachment uploadsMonitor with brctl status; set expectations for sync delay

Output

The readiness run prints a pass/warn/fail summary without note contents, IDs, or account identifiers. A non-zero exit means the deployment is blocked. Store only the timestamp, host inventory identifier, and checklist decision in the change record.

Examples

Before a scheduled deployment, run the read-only validation script from the launch context and attach its redacted summary to the change record. If write verification is needed, create and clean up a note in the pre-approved test folder during a supervised maintenance window; do not use a default account folder as a test target.

Resources

Next Steps

For deploying as a launchd service, see apple-notes-deploy-integration. For ongoing monitoring, see apple-notes-observability.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Add a synthetic-data CI gate for customer-owned Abridge integration code. Test consent handling, note-review handoffs, redaction, and rollback behavior with mocked vendor boundaries, without connecting CI to a live Abridge or EHR tenant.

  • Adding regression checks to an Abridge integration repository
  • Testing consent and note-release handling
  • Checking logs for sensitive data exposure
jeremylongshore/tons-of-skills-marketplace2.9KUpdated Oct 25, 2026

Triage Abridge recording, note review, Epic handoff, and access problems using observed symptoms and approved guidance. Identify the affected workflow stage, organize a minimal timeline, and prepare a redacted escalation record for the responsible team.

  • Separate recording problems from upload failures
  • Investigate note creation delays and editor issues
  • Identify the responsible team for Epic handoff failures
jeremylongshore/tons-of-skills-marketplace2.9KUpdated Oct 25, 2026

Map and review an Abridge clinical documentation workflow from consent and recording through draft review, evidence checks, edits, and final disposition. Keep clinician approval explicit, identify failure exits, and separate verified facts from tenant-specific details and pending approvals.

  • Map a clinical note workflow for a care setting
  • Check where consent and patient identity are verified
  • Review draft notes against linked evidence before sign-off
jeremylongshore/tons-of-skills-marketplace2.9KUpdated Oct 25, 2026

Audit how clinician-reviewed Abridge note sections map into Epic templates and downstream workflows. Use approved test records to document destinations, exceptions, evidence, rollback steps, and a go or no-go decision for a specific environment.

  • Checking Abridge note section mappings to Epic templates
  • Auditing a department’s approved documentation handoff
  • Preparing test evidence and a go or no-go decision
jeremylongshore/tons-of-skills-marketplace2.9KUpdated Oct 25, 2026

Review Abridge adoption and workflow value using local usage records, clinician feedback, and verified contract costs. Build an evidence based decision table covering adoption, quality, support burden, and options to expand, hold, or improve the rollout.

  • Reviewing adoption after an Abridge rollout
  • Preparing evidence for a renewal decision
  • Comparing workflow outcomes across care settings
jeremylongshore/tons-of-skills-marketplace2.9KUpdated Oct 25, 2026

Prepare a bounded support bundle for an Abridge issue using allowlisted operational details such as versions, coarse timestamps, and correlation references. Exclude recordings, transcripts, patient identifiers, credentials, and unrestricted logs, then document redactions and review details.

  • Preparing reviewed evidence for an Abridge support case
  • Documenting redactions and excluded data
  • Collecting approved operational details for an incident
jeremylongshore/tons-of-skills-marketplace2.9KUpdated Oct 25, 2026

See all skills by jeremylongshore

Report a problem with this skill