From apple-notes-pack
Implements RBAC for multi-user Apple Notes automation using account separation and folder permissions with JXA.
How this skill is triggered — by the user, by Claude, or both
Slash command
/apple-notes-pack:apple-notes-enterprise-rbacThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Apple Notes does not have built-in RBAC. For multi-user scenarios, implement access control at the automation layer.
Apple Notes does not have built-in RBAC. For multi-user scenarios, implement access control at the automation layer.
// Apple Notes supports multiple accounts (iCloud, Gmail, etc.)
// Use account separation as a basic access control mechanism
const Notes = Application("Notes");
const accounts = Notes.accounts();
// List all accounts
accounts.forEach(a => {
console.log(`Account: ${a.name()} — ${a.folders().length} folders`);
});
// Restrict operations to specific account
function getAccountByName(name) {
const account = Notes.accounts().find(a => a.name() === name);
if (!account) throw new Error(`Account not found: ${name}`);
return account;
}
// Implement folder-level access control
interface FolderPermission {
folder: string;
allowedUsers: string[];
operations: ("read" | "write" | "delete")[];
}
const PERMISSIONS: FolderPermission[] = [
{ folder: "Shared", allowedUsers: ["*"], operations: ["read"] },
{ folder: "Private", allowedUsers: ["admin"], operations: ["read", "write", "delete"] },
{ folder: "Team", allowedUsers: ["team-lead", "member"], operations: ["read", "write"] },
];
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin apple-notes-packAutomates Apple Notes across multiple accounts (iCloud, Gmail, local) and environments using JXA scripting and osascript. For macOS automation setups.
Automates Apple Notes via JXA. Use when asked to "create notes programmatically", "automate Notes app", "JXA notes scripting", or "organize notes with automation". Covers accounts/folders/notes, HTML bodies, queries, moves, and Objective-C/UI fallbacks for Notes.app automation on macOS.
Manages Apple Notes on macOS: create, search, read, update, delete and organize notes and folders via natural language commands.