Problem
The skill has an AppleScript snippet for reading by ID, but no reusable command. After search returns an Apple Notes id, agents should be able to read that note without reconstructing AppleScript manually.
Desired behavior
Add a command:
scripts/commands/read-by-id.sh 'x-coredata://057599AE-8804-461B-91E2-26B2A6EC0C4B/ICNote/p101'
Expected output:
NAME: 📅 #timeline / Kia Cerato Koup
CREATED: 2019-10-22 13:26
MODIFIED: 2026-01-09 19:07
ID: x-coredata://.../ICNote/p101
---TEXT---
...
Optional flags:
scripts/commands/read-by-id.sh --metadata-only 'x-coredata://...'
scripts/commands/read-by-id.sh --preview 500 'x-coredata://...'
Implementation notes
- Use AppleScript
first note whose id is ....
- Escape the note ID safely.
- Return non-zero with a clear error if not found.
Acceptance criteria
- The command reads an existing note by ID.
- The command fails clearly for an invalid ID.
SKILL.md documents using search result IDs with this command.
Problem
The skill has an AppleScript snippet for reading by ID, but no reusable command. After search returns an Apple Notes
id, agents should be able to read that note without reconstructing AppleScript manually.Desired behavior
Add a command:
scripts/commands/read-by-id.sh 'x-coredata://057599AE-8804-461B-91E2-26B2A6EC0C4B/ICNote/p101'Expected output:
Optional flags:
Implementation notes
first note whose id is ....Acceptance criteria
SKILL.mddocuments using search result IDs with this command.