概述

在 macOS 上,Apple Notes 是一个常用的笔记应用,但它没有提供官方的命令行接口(CLI)。不过,我们可以通过一些第三方工具和 AppleScript 来实现对 Apple Notes 的自动化操作。本文将介绍如何使用 OpenClaw 来管理 Apple Notes,包括工具安装、配置和使用方法。

openclaw skills

needs setup │ 📝 apple-notes │ Manage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move, and export notes). Use when a user asks OpenClaw to add a │ openclaw-bundled │

│ │ │ note, list notes, search notes, or manage note folders.

这是OpenClaw技能列表中的一个技能

📝 apple-notes 技能

状态: △ needs setup (需要设置)
描述: 通过macOS上的 memo CLI管理Apple备忘录(创建、查看、编辑、删除、搜索、移动和导出备忘录)
来源: openclaw-bundled (OpenClaw内置)

这个技能能做什么?

当用户要求OpenClaw做以下事情时使用这个技能:

  • 添加备忘录
  • 列出备忘录
  • 搜索备忘录
  • 管理备忘录文件夹

为什么显示"needs setup"?

因为这个技能需要额外的设置才能使用。通常需要:

  1. 安装 memo CLI工具
  2. 可能需要的权限配置
  3. 可能的API密钥或认证

如何设置这个技能?

让我查看一下这个技能的详细信息和设置要求:

with find files named "apple-notes" in ~/.nvm/versions/node/v24.14.1/lib/node_modules/openclaw, `find ~/.nvm/versions/node/v24.14.1/lib/node_modules/openclaw -name "apple-notes" -type d`

Tool input

{
  "command": "find ~/.nvm/versions/node/v24.14.1/lib/node_modules/openclaw -name \"apple-notes\" -type d"
}
brew tap antoniorodr/memo && brew install antoniorodr/memo/memo

验证安装

memo notes


Usage: memo notes [OPTIONS]

Options:
-f, --folder TEXT Specify a folder to filter the notes (leave empty to get
all).
-a, --add Add a note to the specified folder. Specify a folder
using the --folder flag.
-e, --edit Edit a note in the specified folder. Specify a folder
using the --folder flag.
-d, --delete Delete a note in the specified folder. Specify a folder
using the --folder flag.
-m, --move Move a note to a different folder.
-fl, --flist List all the folders and subfolders.
-s, --search Fuzzy search your notes.
-r, --remove Remove the folder you specified.
-ex, --export Export your notes to the Desktop.
-nc, --no-cache Bypass the notes cache and fetch fresh data from Notes.
-v, --view INTEGER Display the content of note N from the list.
--help Show this message and exit.

{
  "command": "echo -e \"会议时间:2026-04-14 09:00\\n会议地点:待填写\\n会议主题:待填写\\n\\n议程:\\n1. \\n2. \\n3. \\n\\n需要准备:\\n- \\n- \\n- \" | memo notes -a"
}

更多推荐