Agent skill · Audited from source
Apple Notes Sdk Patterns
skill · jeremylongshore/claude-code-plugins-plus-skillsMIT licenceAudited 8 Oct 2026 · source 4f83675ca38a
Is it safe? No — BLOCK, grade D (69/100). We read this skill's source at commit 4f83675ca38a and found no filesystem, network or shell access and no hard-coded secrets. The audit raised 1 finding, 1 critical or high. What it does: Apply production-ready patterns for Apple Notes JXA/AppleScript automation.
Cite
Cite this page
ModelsAtlas. “Apple Notes Sdk Patterns (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/apple-notes-sdk-patterns
Blocked. The page stays public so you can check this skill if someone recommended it to you. The audit found 1 critical or high finding, starting with “Privilege escalation / persistence” in SKILL.md. Do not install it without reading them.
Trust audit
Audit 0.4.1 · source read 8 Oct 2026
BLOCK means the audit found something that could harm you or your machine. Grade D is shared by 749 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | FAIL | 1 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (1)
HIGHPrivilege escalation / persistencereview.unsafe_action · SKILL.md
return execSync(`osascript -l JavaScript -e '${escaped}'`, {- Why
- The runJxa method builds shell commands via template-literal interpolation, and callers embed user-controlled data (folder names, queries, note titles, note bodies) into JXA script strings with only single-quote shell escaping, enabling code injection through double quotes or JXA metacharacters in u
- Fix
- rewrite it so the instruction says plainly what it does, and asks the user before it acts
Audit 0.4.1 · source sha 4f83675ca38a · 8 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherjeremylongshore GitHub userOwner of the repository this skill is read from
- Source folderjeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/apple-notes-pack/skills/apple-notes-sdk-patternsThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict4f83675ca38aA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Apply production-ready patterns for Apple Notes JXA/AppleScript automation.
--- name: apple-notes-sdk-patterns description: 'Apply production-ready patterns for Apple Notes JXA/AppleScript automation. Trigger: "apple notes patterns". ' allowed-tools: Read, Write, Edit, Bash(osascript:*), Grep version: 1.6.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - macos - apple-notes - automation compatibility: Designed for Claude Code --- # Apple Notes SDK Patterns ## Overview Production patterns for Apple Notes automation: JXA wrapper class, error handling, batch operations, and cross-account support. ## Prerequisites - A scoped account/folder configuration resolved outside the JXA source string. - A safe process invocation boundary that passes source and data without shell interpolation. - Durable idempotency tracking for writes and a synthetic local test corpus. ## Instructions 1. Treat names, bodies, queries, and folder identifiers as data—not template fragments or shell arguments. 2. Resolve only explicitly configured accounts and folders, and fail if the target is absent rather than creating it implicitly. 3. Keep list and search results scoped and minimize returned fields; never log note bodies by default. 4. Serialize mutations, record an opaque idempotency key before the call, and reconcile timeouts before retrying. ## Procedure ### Step 1: JXA Client Wrapper (Node.js) ```typescript // src/notes-client.ts import { execSync } from "child_process"; class AppleNotesClient { private runJxa(script: string): string { const escaped = script.replace(/'/g, "\\'"); return execSync(`osascript -l JavaScript -e '${escaped}'`, { encoding: "utf8", timeout: 30000, }).trim(); } listNotes(folder?: string, limit: number = 50): Array<{ id: string; title: string; modified: string }> { const script = folder ? `const Notes = Application("Notes"); const f = Notes.defaultAccount.folders().find(f => f.name() === "${folder}"); (f ? f.notes() : []).slice(0, ${limit}).map(n => JSON.stringify({id: n.id(), title: n.name(), modified: n.modificationDate().toISOString()})).join("\\n")` : `const Notes = Application("Notes"); Notes.defaultAccount.notes().slice(0, ${limit}).map(n => JSON.stringify({id: n.id(), title: n.name(), modified: n.modificationDate().toISOString()})).join("\\n")`; return this.runJxa(script).split("\n").filter(Boolean).map(l => JSON.parse(l)); } createNote(title: string, body: string, folder?: string): string { const folderPart = folder ? `let f = account.folders().find(f => f.name() === "${folder}"); if (!f) { f = Notes.Folder({name: "${folder}"}); account.folders.push(f); }` : "let f = account.folders[0];"; return this.runJxa(` const Notes = Application("Notes"); const account = Notes.defaultAccount; ${folderPart} const note = Notes.Note({name: ${JSON.stringify(title)}, body: ${JSON.stringify(body)}}); f.notes.push(note); note.id(); `); } searchNotes(query: string): Array<{ title: string; folder: string }> { const result = this.runJxa(` const Notes = Application("Notes"); const q = "${query}".toLowerCase(); Notes.defaultAccount.notes().filter(n => n.name().toLowerCase().includes(q) || n.body().toLowerCase().includes(q) ).slice(0, 20).map(n => JSON.stringify({title: n.name(), folder: n.container().name()})).join("\\n"); `); return result.split("\n").filter(Boolean).map(l => JSON.parse(l)); } } export { AppleNotesClient }; ``` ### Step 2: Batch Operations with Throttling ```typescript async function batchCreateNotes( client: AppleNotesClient, notes: Array<{ title: string; body: string; folder?: string }>, delayMs: number = 500, ): Promise<string[]> { const ids: string[] = []; for (const note of notes) { const id = client.createNote(note.title, note.body, note.folder); ids.push(id); await new Promise(r => setTimeout(r, delayMs)); } return ids; } ``` ## Output - Type-safe JXA client wrapper for Node.js - List, create, search operations via osascript - Batch operations with throttling ## Error Handling If source generation, JSON parsing, or an Apple Event call fails, retain the opaque operation key and return a redacted error category. Do not retry a create until the scoped target has been checked for the prior operation. Reject unconfigured folders, over-limit requests, and any input that would require shell-string interpolation. ## Examples For a synthetic import, resolve the test folder from reviewed configuration, enqueue one record with a source-record key, and verify its returned opaque identifier before advancing. For production, use a process API with argument arrays or stdin rather than the illustrative interpolated `execSync` command strings above; keep the adapter implementation in a reviewed module. ## Resources - [Mac Automation Scripting Guide](https://developer.apple.com/library/archive/documentation/LanguagesUtilities/Conceptual/MacAutomationScriptingGuide/) - JXA Examples
Excerpt, first 5,039 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 4f83675
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills git -C claude-code-plugins-plus-skills checkout 4f83675ca38a
The author documents no install command, so this uses the repository directly. Our verdict covers commit 4f83675ca38a only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
Audit history
Every audit, every source change
- ✕BLOCK D 69 / 100
first audit · source
4f83675ca38a
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/jeremylongshore/apple-notes-sdk-patterns/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Deploy and orchestrate Vertex AI ADK agents using A2A protocol. Manages
Add this badge to your README
[](https://modelsatlas.com/skills/jeremylongshore/apple-notes-sdk-patterns/)
<a href="https://modelsatlas.com/skills/jeremylongshore/apple-notes-sdk-patterns/"><img src="https://modelsatlas.com/skills/jeremylongshore/apple-notes-sdk-patterns/badge.svg" alt="ModelsAtlas: BLOCK D"></a>
Questions about Apple Notes Sdk Patterns
What does the Apple Notes Sdk Patterns skill do?
Is Apple Notes Sdk Patterns safe to install?
What can Apple Notes Sdk Patterns access on my machine?
Which assistants does Apple Notes Sdk Patterns work with?
How current is this page?
Sources
- github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/ — the audited source at commit 4f83675ca38a and every finding aboveObserved · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Apple Notes Sdk Patterns skill do?
- Is Apple Notes Sdk Patterns safe to install?
- What can Apple Notes Sdk Patterns access on my machine?