Memos
by @fty4
Manage memos via the Memos API: create, retrieve, delete, and list memos with visibility and pagination support, requiring MEMOS_URL and MEMOS_TOKEN.
clawhub install memosπ About This Skill
SKILL.md for the Memos skill
Purpose
This skill provides a simple interface to the Memos API (https://usememos.com/docs/api). It lets you create, read, delete, and list memos from OpenClaw.
How it works
requests library.MEMOS_URL β REQUIRED. Base URL of your Memos instance (e.g., https://demo.usememos.com).
- MEMOS_TOKEN β REQUIRED. Personal access token for authentication.
MEMOS_URL or MEMOS_TOKEN is not set, the skill will abort with a clear error.Commands
| Command | Description | Usage example | cd |
| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------- | --- |
| create | Create a new memo. visibility defaults to PUBLIC (options: PRIVATE, PROTECTED, PUBLIC). The tag #openclaw is appended automatically. | openclaw skill-run create "Hello world" "PUBLIC" |
| get | Retrieve a memo by its ID. ID can be in format memos/123 or just 123. | openclaw skill-run get 123 |
| delete | Delete a memo. Optional force (true/false) will delete even if it has associated data. | openclaw skill-run delete 123 true |
| list [pageSize] | List memos with pagination. pageSize defaults to 20 (max 1000). | openclaw skill-run list 50 |
Direct Python Usage
You can also run the commands directly with Python:
# Create a memo
python3 skills/memos/memos.py create "My memo content" "PUBLIC"Get a memo by ID
python3 skills/memos/memos.py get j9THXDmYtueosTTeHcC5NADelete a memo
python3 skills/memos/memos.py delete j9THXDmYtueosTTeHcC5NADelete with force
python3 skills/memos/memos.py delete j9THXDmYtueosTTeHcC5NA trueList memos (default 20)
python3 skills/memos/memos.py listList with custom page size
python3 skills/memos/memos.py list 50
All commands return JSON output on success and JSON error messages on stderr when errors occur.
Referencing Memos in OpenClaw
When you create or retrieve a memo, the API returns a memo object with a uid field. To reference a memo in OpenClaw's output, format it as a markdown link:
memo description
Example:
If the API returns {"uid": "ABC123xyz", "name": "memos/ABC123xyz", ...}, reference it as:
Created your memo
The URL format is: {MEMOS_URL}/memos/{uid} where uid is extracted from the response.
Error handling
The skill includes comprehensive error handling:
Example error responses:
{
"error": "Memos API Error",
"message": "HTTP 404: Not Found - Memo not found",
"status_code": 404
}
Extending the skill
NOTE: This skill is meant for personal use; never share your MEMOS_TOKEN publicly.