与 macOS Notes 应用程序 (Apple Notes) 集成。 支持创建、列出、阅读、更新、删除和搜索笔记 通过桥接 AppleScript 的简单 Node.js CLI。
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install mac-notes-agent或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install mac-notes-agent⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/mac-notes-agent/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: mac-notes-agent description: | Integrate with the macOS Notes app (Apple Notes). Supports creating, listing, reading, updating, deleting, and searching notes via a simple Node.js CLI that bridges to AppleScript. version: 1.1.0 author: swancho license: CC-BY-NC-4.0 repository: https://github.com/swancho/mac-memo-agent metadata: openclaw: emoji: "📝" ---
This skill lets the agent talk to Apple Notes on macOS using AppleScript (via osascript). It is implemented as a small Node.js CLI:
node skills/mac-notes-agent/cli.js <command> [options]
> Requires macOS with the built-in Notes app and osascript available.
All operations target the default Notes account. Optionally you can specify which folder to use.
---
node skills/mac-notes-agent/cli.js add \
--title "Meeting notes" \
--body "First line\nSecond line\nThird line" \
[--folder "Jarvis"]
--title (required): Note title--body (required): Note body text. Use \n for line breaks.--folder (optional): Folder name. If omitted, uses system default folder. If folder doesn't exist, it will be created.> Line breaks (\n) are converted to tags internally for proper rendering in Notes.
Result (JSON):
{
"status": "ok",
"id": "Jarvis::2026-02-09T08:40:00::Meeting notes",
"title": "Meeting notes",
"folder": "Jarvis"
}
---
node skills/mac-notes-agent/cli.js list [--folder "Jarvis"] [--limit 50]
title, folder, creationDate, and synthetic id.---
# By folder + title
node skills/mac-notes-agent/cli.js get \
--folder "Jarvis" \
--title "Meeting notes"
# By synthetic id
node skills/mac-notes-agent/cli.js get --id "Jarvis::2026-02-09T08:40:00::Meeting notes"
---
node skills/mac-notes-agent/cli.js update \
--folder "Jarvis" \
--title "Meeting notes" \
--body "New content\nReplaces everything"
--id for identification.---
node skills/mac-notes-agent/cli.js append \
--folder "Jarvis" \
--title "Meeting notes" \
--body "\n---\nAdditional notes here"
---
node skills/mac-notes-agent/cli.js delete \
--folder "Jarvis" \
--title "Meeting notes"
---
node skills/mac-notes-agent/cli.js search \
--query "keyword" \
[--folder "Jarvis"] \
[--limit 20]
---
Apple Notes doesn't expose stable IDs. This CLI uses:
(folderName, title)folderName::creationDate::titleWhen multiple notes share the same title, the CLI operates on the most recently created one.
---
osascriptchild_process)安装 Mac 笔记代理 后,可以对 AI 说这些话来触发它
Help me get started with Mac Notes Agent
Explains what Mac Notes Agent does, walks through the setup, and runs a quick demo based on your current project
Use Mac Notes Agent to integrate with the macOS Notes app (Apple Notes)
Invokes Mac Notes Agent with the right parameters and returns the result directly in the conversation
What can I do with Mac Notes Agent in my documents & notes workflow?
Lists the top use cases for Mac Notes Agent, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/mac-notes-agent/ 目录(个人级,所有项目可用),或 .claude/skills/mac-notes-agent/(项目级)。重启 AI 客户端后,用 /mac-notes-agent 主动调用,或让 AI 根据上下文自动发现并使用。
Mac 笔记代理 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Mac 笔记代理 可免费安装使用。请查阅仓库了解许可证信息。
与 macOS Notes 应用程序 (Apple Notes) 集成。 支持创建、列出、阅读、更新、删除和搜索笔记 通过桥接 AppleScript 的简单 Node.js CLI。
Mac 笔记代理 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using Mac Notes Agent
Identifies repetitive steps in your workflow and sets up Mac Notes Agent to handle them automatically