← ClaudeAtlas

apple-noteslisted

Create, read, search and update notes in the macOS Apple Notes app from the command line, including notes that sync to iPhone and iPad via iCloud. Use when the user wants something in Apple Notes, a note on their phone, an agenda or checklist to carry into a meeting, or mentions Notes.app, iCloud notes, or "on my phone". Not for the Obsidian vault.
magnusrodseth/dotfiles · ★ 2 · Data & Documents · score 65
Install: claude install-skill magnusrodseth/dotfiles
# Apple Notes Drive Notes.app from the shell via `osascript`. A note written to the iCloud account is on the user's phone within seconds, which is the usual reason to reach for this: something they need to carry off the Mac. **This is not the Obsidian vault.** The vault is the durable second brain and has its own skills (`vault`, `note`, `inbox`). Apple Notes is the portable, disposable surface. When a topic deserves both, write the lasting version to the vault and a stripped, phone-readable version here, and do not treat the Apple Note as the source of truth. ## The CLI `scripts/notes.sh` wraps every operation. Content goes in on **stdin as HTML**; the script routes all strings through temp files read as `«class utf8»`, so quotes, backslashes, newlines and æøå survive untouched. Never hand-build an `osascript -e` string with user text in it. ``` notes.sh accounts name <TAB> note count notes.sh folders name <TAB> note count notes.sh list id <TAB> ISO-modified <TAB> name, newest first notes.sh search <query> body substring, case-insensitive, all accounts notes.sh get <id|title> plaintext notes.sh html <id|title> raw HTML body notes.sh create < body.html prints the new note id notes.sh append <id|title> < f.html notes.sh replace <id|title> < f.html notes.sh delete <id|title> moves to Recently Deleted notes.sh show <id|title> opens in the Notes