agentsclimarketplace

Apple notes multi env setup

Skill ComeOnOliver/skillshub/skills/jeremylongshore/claude-code-plugins-plus-skills/apple-notes-multi-env-setup

🧠 The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.

Install
npx -y skills add ComeOnOliver/skillshub --skill apple-notes-multi-env-setup

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its author says it does

Copied from the file, not written here

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

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

1.8 KB, as published. Nobody here has run it

Apple Notes Multi-Environment Setup

Multiple Account Configuration

// 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

// 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

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.