--- name: usememos-api version: "1.0.3" description: Interact with UseMemos instance — a lightweight, self-hosted memo hub. Create, search, list memos and upload attachments. tags: ["memos", "notes", "self-hosted", "knowledge-base", "attachments"] homepage: https://github.com/minstn/usememos source: https://github.com/minstn/usememos metadata: openclaw: requires: env: - USEMEMOS_URL - USEMEMOS_TOKEN bins: - python3 primaryEnv: USEMEMOS_TOKEN --- # UseMemos ## Setup Create a `.env` file in the skill directory (`skills/usememos/.env`): ``` USEMEMOS_URL=http://192.168.0.157:5230 USEMEMOS_TOKEN=your_access_token_here ``` Get your ```USEMEMOS_TOKEN``` from UseMemos instance, login and go to: **Settings > My Account > Access Tokens**, create one there, do not forget to assign expiration (i use **Never** to avoid troubles, but hey there are also arguments against that) **Note:** All scripts automatically load the `.env` file from the skill directory. No need to export variables manually. ## Scripts | Script | Usage | Description | |--------|-------|-------------| | `create_memo.py` | ` [visibility]` | Create a memo (visibility: PRIVATE/PROTECTED/PUBLIC) | | `list_memos.py` | `[limit] [tag]` | List recent memos (default: 10) | | `search_memos.py` | ` [limit]` | Search memos by content | | `upload_attachment.py` | ` [filename] [type]` | Upload a file attachment | | `upload_and_link_attachment.py` | ` [filename] [type]` | Upload and link attachment to a memo | | `memo_comments.py` | ` [args...]` | Manage comments on a memo | All scripts are in `scripts/` and run with `python3 scripts/