apple-notes

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Apple Notes

Apple Notes 管理

Use
memo
to manage Apple Notes directly from the terminal. Notes sync across all Apple devices via iCloud.
使用
memo
直接从终端管理Apple Notes。笔记可通过iCloud在所有Apple设备间同步。

Prerequisites

前提条件

  • macOS with Notes.app
  • Install:
    brew tap antoniorodr/memo && brew install antoniorodr/memo/memo
  • Grant Automation access to Notes.app when prompted (System Settings → Privacy → Automation)
  • macOS 系统且安装有Notes.app
  • 安装方式:
    brew tap antoniorodr/memo && brew install antoniorodr/memo/memo
  • 出现提示时,授予Notes.app自动化权限(系统设置 → 隐私与安全性 → 自动化)

When to Use

使用场景

  • User asks to create, view, or search Apple Notes
  • Saving information to Notes.app for cross-device access
  • Organizing notes into folders
  • Exporting notes to Markdown/HTML
  • 用户要求创建、查看或搜索Apple Notes
  • 将信息保存至Notes.app以实现跨设备访问
  • 将笔记整理至文件夹
  • 将笔记导出为Markdown/HTML格式

When NOT to Use

不适用场景

  • Obsidian vault management → use the
    obsidian
    skill
  • Bear Notes → separate app (not supported here)
  • Quick agent-only notes → use the
    memory
    tool instead
  • Obsidian库管理 → 使用
    obsidian
    技能
  • Bear Notes → 独立应用(此处不支持)
  • 仅Agent使用的快速笔记 → 使用
    memory
    工具替代

Quick Reference

快速参考

View Notes

查看笔记

bash
memo notes                        # List all notes
memo notes -f "Folder Name"       # Filter by folder
memo notes -s "query"             # Search notes (fuzzy)
bash
memo notes                        # 列出所有笔记
memo notes -f "Folder Name"       # 按文件夹筛选
memo notes -s "query"             # 模糊搜索笔记

Create Notes

创建笔记

bash
memo notes -a                     # Interactive editor
memo notes -a "Note Title"        # Quick add with title
bash
memo notes -a                     # 交互式编辑器
memo notes -a "Note Title"        # 快速添加带标题的笔记

Edit Notes

编辑笔记

bash
memo notes -e                     # Interactive selection to edit
bash
memo notes -e                     # 交互式选择并编辑

Delete Notes

删除笔记

bash
memo notes -d                     # Interactive selection to delete
bash
memo notes -d                     # 交互式选择并删除

Move Notes

移动笔记

bash
memo notes -m                     # Move note to folder (interactive)
bash
memo notes -m                     # 交互式将笔记移动至文件夹

Export Notes

导出笔记

bash
memo notes -ex                    # Export to HTML/Markdown
bash
memo notes -ex                    # 导出为HTML/Markdown格式

Limitations

局限性

  • Cannot edit notes containing images or attachments
  • Interactive prompts require terminal access (use pty=true if needed)
  • macOS only — requires Apple Notes.app
  • 无法编辑包含图片或附件的笔记
  • 交互式提示需要终端访问权限(必要时使用pty=true)
  • 仅支持macOS系统 — 需要Apple Notes.app

Rules

规则

  1. Prefer Apple Notes when user wants cross-device sync (iPhone/iPad/Mac)
  2. Use the
    memory
    tool for agent-internal notes that don't need to sync
  3. Use the
    obsidian
    skill for Markdown-native knowledge management
  1. 当用户需要跨设备同步(iPhone/iPad/Mac)时,优先使用Apple Notes
  2. 对于不需要同步的Agent内部笔记,使用
    memory
    工具
  3. 对于原生Markdown的知识管理,使用
    obsidian
    技能