Skip to content
Back to skills

Apple Notes Multi Env Setup

ASecurity

Configure Apple Notes automation for multiple accounts and environments. Trigger: "apple notes multi account".

  • 67 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 10, 2026
developmentjavascripttypescriptjavabashdocumentation

Security analysis

A100/100

Scanned November 10, 2026

npx -y skills add ComeOnOliver/skillshub --skill apple-notes-multi-env-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Apple Notes Multi Env Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Apple Notes Multi Env Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/comeonoliver-apple-notes-multi-env-setup/badge)](https://www.skillsdirectory.com/skills/comeonoliver-apple-notes-multi-env-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: apple-notes-multi-env-setup
description: |
  Configure Apple Notes automation for multiple accounts and environments.
  Trigger: "apple notes multi account".
allowed-tools: Read, Write, Edit, Bash(osascript:*), Grep
version: 1.0.0
license: MIT
author: Jeremy Longshore <jeremy@intentsolutions.io>
tags: [saas, macos, apple-notes, automation]
compatible-with: claude-code
---

# Apple Notes Multi-Environment Setup

## Multiple Account Configuration
```javascript
// Apple Notes supports multiple accounts simultaneously
const Notes = Application("Notes");
const accounts = Notes.accounts();

// iCloud account (default)
const iCloud = accounts.find(a => a.name() === "iCloud");
// Gmail account
const gmail = accounts.find(a => a.name() === "Gmail");
// On My Mac (local only)
const local = accounts.find(a => a.name() === "On My Mac");

// Target specific account
function createNoteInAccount(accountName, title, body) {
  const account = Notes.accounts().find(a => a.name() === accountName);
  if (!account) throw new Error(`Account ${accountName} not found`);
  const note = Notes.Note({ name: title, body: body });
  account.folders[0].notes.push(note);
  return note.id();
}
```

## Environment-Based Configuration
```typescript
// src/config/environments.ts
interface NotesEnvConfig {
  accountName: string;
  defaultFolder: string;
  autoSync: boolean;
}

const ENVIRONMENTS: Record<string, NotesEnvConfig> = {
  personal: { accountName: "iCloud", defaultFolder: "Personal", autoSync: true },
  work: { accountName: "Gmail", defaultFolder: "Work", autoSync: true },
  local: { accountName: "On My Mac", defaultFolder: "Notes", autoSync: false },
};
```

## Resources

- [Mac Automation Scripting Guide](https://developer.apple.com/library/archive/documentation/LanguagesUtilities/Conceptual/MacAutomationScriptingGuide/)
- [JXA Examples](https://jxa-examples.akjems.com/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.