Awesome-omni-skill memos_crud
Perform CRUD operations on a Memos instance (create, read, update, delete memos).
install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/development/memos_crud" ~/.claude/skills/diegosouzapw-awesome-omni-skill-memos-crud && rm -rf "$T"
manifest:
skills/development/memos_crud/SKILL.mdsource content
Instructions
Use this skill when you need to interact with a Memos server to manage notes/memos. This skill provides a Ruby CLI wrapper around the Memos REST API. Always prefer using this CLI over raw
curl requests to ensure consistent error handling and state management.
prerequisites
- Ensure the
directory is your working directory or you reference the script path correctly.memos_skill - The environment variables in
must be configured (checked automatically by the script)..env
Commands
Run the CLI using
ruby scripts/memos_cli.rb <command> [options].
All commands return JSON.
1. List Memos
Fetch a list of memos. default limit is 50.
ruby scripts/memos_cli.rb list --page-size 10 --state NORMAL
Options:
: Number of items (default 50).--page-size N
: For pagination.--page-token TOKEN
:--state STATE
orNORMAL
.ARCHIVED
: Filter by content.--filter "content.contains('keyword')"
2. Create Memo
Create a new memo.
ruby scripts/memos_cli.rb create --content "My new memo content" --visibility PRIVATE
Options:
: (Required) The content of the memo.--content "STRING"
:--visibility VIS
(default),PRIVATE
, orPROTECTED
.PUBLIC
:--pinned BOOL
ortrue
.false
3. Get Memo
Get a single memo by details.
ruby scripts/memos_cli.rb get --memo memos/123
Options:
: The memo ID (e.g.,--memo ID
or123
).memos/123
4. Update Memo
Update an existing memo. Only detailed fields are updated.
ruby scripts/memos_cli.rb update --memo memos/123 --content "Updated content" --pinned true
Options:
: (Required) Target memo.--memo ID--content "STRING"--visibility VIS--pinned BOOL
: Archive/Unarchive using--state STATE
orARCHIVED
.NORMAL
5. Delete Memo
Delete a memo permanently (or soft delete if the system supports it, but this CLI assumes standard delete).
ruby scripts/memos_cli.rb delete --memo memos/123
Options:
: (Required) Target memo.--memo ID
: params to force delete if applicable.--force true
Output Format
Success:
{ "ok": true, "data": { ...memo object... } }
Error:
{ "ok": false, "error": "Error message", "http_status": 400, "payload": { ... } }