From 4c9ac123e8e6be58ef3cd4afa30f1814131e3809 Mon Sep 17 00:00:00 2001 From: Jacob Bayer Date: Sat, 21 Mar 2026 01:55:46 -0400 Subject: [PATCH] feat(apple-notes): update skill for memo fork with pipx install and notes api - Update homepage and install method to jacob-bayer/memo fork - Replace Homebrew tap install with pipx install from GitHub - Document the new non-interactive `memo notes api` subcommands (list, show, edit, add, delete, move, folders, search, remove, export) which enable agent and script workflows without interactive prompts --- skills/apple-notes/SKILL.md | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/skills/apple-notes/SKILL.md b/skills/apple-notes/SKILL.md index 61e8cf76d9a..654d7c57ae6 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": @@ -12,11 +12,11 @@ metadata: "install": [ { - "id": "brew", - "kind": "brew", - "formula": "antoniorodr/memo/memo", + "id": "pipx", + "kind": "pipx", + "package": "git+https://github.com/jacob-bayer/memo", "bins": ["memo"], - "label": "Install memo via Homebrew", + "label": "Install memo via pipx", }, ], }, @@ -29,7 +29,7 @@ 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 (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 +65,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