AgentSkillsCN

notes

搜索、浏览、创建和删除Apple Notes。当用户询问笔记、想在笔记中查找内容、创建新笔记,或删除笔记时使用。

SKILL.md
--- frontmatter
name: notes
description: Search, browse, create, and delete Apple Notes. Use when user asks about notes, wants to find something in notes, create a new note, or delete notes.
triggers:
  - "notes"
  - "apple notes"
  - "find note"
  - "search notes"
  - "my notes"
  - "list notes"
  - "read note"
  - "create note"
  - "add note"
  - "new note"
  - "delete note"
  - "remove note"

Apple Notes Skill

Search, browse, create, and delete Apple Notes with fuzzy matching.

Prerequisites

Ensure the notes CLI is installed:

bash
if ! command -v notes &> /dev/null; then
  pnpm add -g @cardmagic/notes
fi

Commands

Search notes

bash
notes search "query" [-l limit] [-f folder] [-a after_date]

Recent notes

bash
notes recent [-l limit]

Read a note by ID

bash
notes read <id>

List folders

bash
notes folders [-l limit]

Notes in folder

bash
notes folder "folder_name" [-l limit]

Index statistics

bash
notes stats

Rebuild index

bash
notes index [-f|--force]

Create a note

bash
notes create "Title" --body "Content" [--folder "Folder"]

Delete a note

bash
notes delete "Title" [--folder "Folder"]

Examples

  • Search for "recipe": notes search "recipe"
  • Recent notes: notes recent
  • Notes in Taxes folder: notes folder Taxes
  • Read note ID 123: notes read 123
  • Create a note: notes create "Meeting Notes" --body "Agenda items..."
  • Delete a note: notes delete "Old Draft"