360 Secure SkillHub
360 安全技能中心

MH apple-notes

这是macOS专属的苹果笔记管理工具,通过memo CLI实现终端操作,核心功能含创建、查看、编辑、删除、模糊搜索笔记,支持在文件夹间移动,及导出为HTML/Markdown。典型场景包括终端快速记笔记、整理笔记、搜索内容。需安装memo并授予Notes.app权限,输入为终端命令,输出为操作反馈或导出文件。

mohdalhashemi98-hue
mohdalhashemi98-hue
热度 71.36
最近更新 2026-05-11 17:27:08
分类:自动化依赖:代码执行应用场景:笔记整理 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add mh-apple-notes
Metadata
name
apple-notes
description
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 note, list notes, search notes, or manage note folders.
homepage
https://github.com/antoniorodr/memo
metadata
{"openclaw":{"emoji":"📝","os":["darwin"],"requires":{"bins":["memo"]},"install":[{"id":"brew","kind":"brew","formula":"antoniorodr/memo/memo","bins":["memo"],"label":"Install memo via Homebrew"}]}}

Apple Notes CLI

Use memo notes to manage Apple Notes directly from the terminal. Create, view, edit, delete, search, move notes between folders, and export to HTML/Markdown.

Setup

  • Install (Homebrew): brew tap antoniorodr/memo && brew install antoniorodr/memo/memo
  • Manual (pip): pip install . (after cloning the repo)
  • macOS-only; if prompted, grant Automation access to Notes.app.

View Notes

  • List all notes: memo notes
  • Filter by folder: memo notes -f "Folder Name"
  • Search notes (fuzzy): memo notes -s "query"

Create Notes

  • Add a new note: memo notes -a
    • Opens an interactive editor to compose the note.
  • Quick add with title: memo notes -a "Note Title"

Edit Notes

  • Edit existing note: memo notes -e
    • Interactive selection of note to edit.

Delete Notes

  • Delete a note: memo notes -d
    • Interactive selection of note to delete.

Move Notes

  • Move note to folder: memo notes -m
    • Interactive selection of note and destination folder.

Export Notes

  • Export to HTML/Markdown: memo notes -ex
    • Exports selected note; uses Mistune for markdown processing.

Limitations

  • Cannot edit notes containing images or attachments.
  • Interactive prompts may require terminal access.

Notes

  • macOS-only.
  • Requires Apple Notes.app to be accessible.
  • For automation, grant permissions in System Settings > Privacy & Security > Automation.