diff --git a/skills/apple-notes/SKILL.md b/skills/apple-notes/SKILL.md index 61e8cf76d9a..0ca0cafe267 100644 --- a/skills/apple-notes/SKILL.md +++ b/skills/apple-notes/SKILL.md @@ -1,7 +1,7 @@ --- 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 +homepage: https://github.com/jacob-bayer/memo metadata: { "openclaw": @@ -14,10 +14,18 @@ metadata: { "id": "brew", "kind": "brew", - "formula": "antoniorodr/memo/memo", + "tap": "jacob-bayer/tap", + "formula": "memo", "bins": ["memo"], "label": "Install memo via Homebrew", }, + { + "id": "pipx", + "kind": "pipx", + "package": "git+https://github.com/jacob-bayer/memo", + "bins": ["memo"], + "label": "Install memo via pipx", + }, ], }, } @@ -29,7 +37,8 @@ Use `memo notes` to manage Apple Notes directly from the terminal. Create, view, Setup -- Install (Homebrew): `brew tap antoniorodr/memo && brew install antoniorodr/memo/memo` +- Install (Homebrew): `brew tap jacob-bayer/tap && brew install jacob-bayer/tap/memo` +- Install (pipx): `pipx install git+https://github.com/jacob-bayer/memo` - Manual (pip): `pip install .` (after cloning the repo) - macOS-only; if prompted, grant Automation access to Notes.app. @@ -65,10 +74,25 @@ Export Notes - Export to HTML/Markdown: `memo notes -ex` - Exports selected note; uses Mistune for markdown processing. +Non-Interactive API (for agents and scripts) + +Use `memo notes api ` for scripting and agent workflows. All commands are non-interactive and machine-readable. + +- List notes: `memo notes api list [--folder FOLDER] [--format tsv|json|lines]` +- Show note body (Markdown): `memo notes api show ` +- Edit note from stdin: `echo "# Updated content" | memo notes api edit ` +- Add note from stdin: `echo "# New note" | memo notes api add --folder "Folder Name"` +- Delete note: `memo notes api delete ` +- Move note: `memo notes api move ` +- List folders: `memo notes api folders [--format tsv|json]` +- Search notes: `memo notes api search [--folder FOLDER] [--format tsv|json] [--body]` +- Remove folder: `memo notes api remove --force` +- Export notes: `memo notes api export --path /path/to/dir [--markdown]` + Limitations -- Cannot edit notes containing images or attachments. -- Interactive prompts may require terminal access. +- Cannot edit notes containing images or attachments via the API. +- Interactive prompts require terminal access (use `api` subcommands for automation). Notes