Loading...
Loading...
Manage Apple Notes on macOS — list, search, read, create, append, move, delete, and export notes, and manage folders. Use when the user mentions Apple Notes / 备忘录, "add a note", "my notes", searching their notes, organizing folders, or exporting a note to Markdown/HTML. macOS-only; runs locally against Notes.app — no cloud API, no token.
npx skill4agent add acedatacloud/skills apple-notesNotes.apposascriptin the frontmatter marks this skill as macOS-desktop only — it cannot run on the web / iOS / Android / Windows surfaces (there is no localsurfaces: [mac]there). The skill/connector directory UI reads this to badge the card ("macOS desktop") and steer users to install it from the macOS desktop app. AbsentNotes.app, a skill is assumed available everywhere.surfaces
scripts/notes.pyosascriptpip installbrewpython3NOTES="${SKILL_DIR:-.}/scripts/notes.py" # run from this skill's directory
python3 "$NOTES" folders # smoke-test the connection| Command | Read/Write | Purpose |
|---|---|---|
| read | List folders with note counts |
| read | List notes (newest first): id, title, folder, dates |
| read | Case-insensitive substring match on title + body |
| read | Show one note (metadata + body) |
| read | Export one note to Markdown/HTML/text |
| write | Create a note |
| write | Append text to an existing note |
| write | Move a note to another folder |
| write | Create a folder |
| write | Move a note to Recently Deleted (recoverable) |
{"error": ...}view --format text|htmlexport-oNOTE_IDx-coredata://…listsearchpython3 "$NOTES" folders
python3 "$NOTES" list --limit 20
python3 "$NOTES" list --folder "Work" --limit 50
python3 "$NOTES" search "invoice" --limit 20
python3 "$NOTES" view "x-coredata://…/p42"
python3 "$NOTES" export "x-coredata://…/p42" --format md -o note.md--confirmcreateappendmovenew-folderdelete--confirm--confirm--confirm# Create — dry-run, then confirm
python3 "$NOTES" create --title "Groceries" --body "milk\neggs" # preview
python3 "$NOTES" create --title "Groceries" --body "milk\neggs" --confirm # writes
# Create in a folder, body from a file
python3 "$NOTES" create --title "Spec" --body-file draft.md --folder "Work" --confirm
# Append to an existing note
python3 "$NOTES" append "x-coredata://…/p42" --body "one more line" --confirm
# Move / organize
python3 "$NOTES" new-folder "Archive" --confirm
python3 "$NOTES" move "x-coredata://…/p42" --folder "Archive" --confirm
# Delete → goes to Recently Deleted (recoverable ~30 days)
python3 "$NOTES" delete "x-coredata://…/p42" --confirm--title\n--body--body-filelist--folder--limitsearchappendmoveNOTE_IDlistsearch