Apple Notes Local Dev LoopSAFE
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
Overview
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
4f83675ca38aOBSERVED · 2026-10-08Install
Commands as the repository documents them. They are shown, not run.
npm init -y
npm install -D chokidar tsx typescript
Host compatibility
What the documentation claims. We have not run a compatibility test.
| Host | Status | Notes |
|---|---|---|
| claude-code | mentioned |
What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
--- name: apple-notes-local-dev-loop description: 'Set up local development workflow for Apple Notes automation with JXA hot reload. Trigger: "apple notes dev loop". ' 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 Local Dev Loop ## Overview Iterative development workflow for Apple Notes JXA scripts with file watching and test helpers. ## Prerequisites - A local macOS development machine and a test-only `On My Mac` folder, or a fully mocked Notes adapter. - Synthetic test fixtures with no production note content, account names, or credentials. - A source-controlled allowlist of scripts eligible for local execution. ## Instructions ### Step 1: Project Setup ```bash mkdir apple-notes-automation && cd apple-notes-automation npm init -y npm install -D chokidar tsx typescript ``` ### Step 2: JXA Runner with Hot Reload ```typescript // src/dev/watch-runner.ts import { watch } from "chokidar"; import { execSync } from "child_process"; watch("scripts/*.js", { ignoreInitial: true }).on("change", (path) => { console.log(`Changed: ${path} — running...`); try { const output = execSync(`osascript -l JavaScript "${path}"`, { encoding: "utf8" }); console.log(output); } catch (err: any) { console.error(err.stderr); } }); console.log("Watching scripts/*.js for changes..."); ``` ### Step 3: Test Helper ```typescript // src/dev/test-notes.ts import { execSync } from "child_process"; function runJxa(script: string): string { return execSync(`osascript -l JavaScript -e '${script}'`, { encoding: "utf8" }).trim(); } function getNoteCount(): number { return parseInt(runJxa("Application(\"Notes\").defaultAccount.notes.length")); } function createTestNote(title: string): string { return runJxa(` const Notes = Application("Notes"); const note = Notes.Note({name: "${title}", body: "<p>Test</p>"}); Notes.defaultAccount.folders[0].notes.push(note); note.id(); `); } export { runJxa, getNoteCount, createTestNote }; ``` ### Step 4: Dev Scripts ```json { "scripts": { "dev": "tsx src/dev/watch-runner.ts", "test:notes": "tsx src/dev/test-notes.ts" } } ``` ## Output - Hot-reload JXA development with file watching - Test helpers for note CRUD operations - Iterative script development workflow ## Error Handling Stop the watcher when a script fails and surface only the exit status plus a redacted error category. Never hot-run an edited script against a production or synchronized default account. If a test mutation is required, use the designated test folder and reconcile it before the next run. ## Examples Run unit tests against a mock client while editing. When a JXA smoke test is necessary, point it at the designated local test folder with a synthetic title, verify the resulting opaque identifier, and clean it up under a test fixture lifecycle—do not run the watcher against `defaultAccount`. ## Resources - [Mac Automation Scripting Guide](https://developer.apple.com/library/archive/documentation/LanguagesUtilities/Conceptual/MacAutomationScriptingGuide/) - JXA Examples
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (0)
No findings outside the package's declared scope.
Gates applied: no_behavioural_pass.
4f83675ca38afull audit observations/trust-audit/skill/jeremylongshore__apple-notes-local-dev-loop.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 4f83675ca38a | SAFE | B | 89 | first audit |
Questions
What does the Apple Notes Local Dev Loop skill do?
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
Is Apple Notes Local Dev Loop safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Apple Notes Local Dev Loop access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
Which assistants does Apple Notes Local Dev Loop work with?
Its documentation mentions claude-code. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (4f83675ca38a), read on 2026-10-08. The repository is watched, and a new audit runs when it changes — this is the first audit.