apple-notes
Installation
SKILL.md
apple-notes
Drive Apple Notes from the terminal via memo. Notes sync across Apple devices through iCloud.
Setup check (lazy — do NOT probe every turn)
Do not run a memo --version probe before each request. Just run the
memo command the user asked for directly. Only when a command fails
map the error to a Setup playbook branch:
- stderr mentions
command not found/memo: command not found→ Setup playbook → "memo is not installed". - stderr mentions
osascript/ "Not authorized to send Apple events to Notes" → Setup playbook → "Automation permission denied". - macOS not detected (e.g.
unamereturnsLinux) → reply that this skill is macOS-only and stop. Do NOT try to install anything.
If unsure which branch applies, capture the actual stderr and ask the user before proceeding — never assume.
Setup playbook (when prerequisites are missing)
When a check fails, the agent's job is to OFFER concrete help and EXECUTE the fix itself — not to dump install instructions on the user. Use this dialogue shape: