Apple Notes CLI (Skill)
Mandatory tool: Use the shell tool to execute memo commands.
View & Search Notes
- •List ALL notes:
memo notes(Use this for "list my notes", "show my notes", etc.) - •Search notes:
echo "your query" | memo notes -s- •Use this ONLY if the user provides a specific search term.
- •NEVER search for "important" or "active" notes unless the user explicitly used those words.
- •View specific note: After listing/searching, use
memo notes -v N(where N is the index from the output list).
Create Notes (Non-interactive)
- •Quick add with title:
memo notes -a "Note Title"- •This is the preferred method. It creates a note with the specified title.
- •Add to specific folder:
memo notes -f "Folder Name" -a "Note Title"
Folders
- •List all folders:
memo notes -fl
Critical Rules
- •Prefer Listing: When asked to "list" or "show" notes, ALWAYS start with
memo notes. - •No Default Filters: Do not attempt to filter or search unless the user specified a term.
- •Pipes for Search: Always use
echo "query" | memo notes -sbecause the shell tool is non-interactive. - •Sequential Operations: To view a note's content, you first need its index from the list.
- •No Attachments: This tool only supports plain text.
- •macOS Only: Ensure you are on a macOS environment.
Tool Call Examples (JSON)
When using this skill, format your tool calls as follows:
List All Notes
json
{
"name": "shell",
"arguments": {
"command": "memo notes"
}
}
Search for "Project Phoenix"
json
{
"name": "shell",
"arguments": {
"command": "echo \"Project Phoenix\" | memo notes -s"
}
}
Create a Quick Note
json
{
"name": "shell",
"arguments": {
"command": "memo notes -a \"Meeting Notes\""
}
}
Example Commands
- •
memo notes(List everything - Default action) - •
echo "project X" | memo notes -s(Search for project X) - •
memo notes -f "Inbox" -a "Buy milk"(Create note) - •
memo notes -fl(List folders)