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
This commit is contained in:
parent
8a05c05596
commit
4c9ac123e8
@ -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 <subcommand>` 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 <note-id>`
|
||||
- Edit note from stdin: `echo "# Updated content" | memo notes api edit <note-id>`
|
||||
- Add note from stdin: `echo "# New note" | memo notes api add --folder "Folder Name"`
|
||||
- Delete note: `memo notes api delete <note-id>`
|
||||
- Move note: `memo notes api move <note-id> <target-folder>`
|
||||
- List folders: `memo notes api folders [--format tsv|json]`
|
||||
- Search notes: `memo notes api search <query> [--folder FOLDER] [--format tsv|json] [--body]`
|
||||
- Remove folder: `memo notes api remove <folder-name> --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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user