memos-skill
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.
от rondoflow★ 37 звёзд на GitHub
Установить memos-skill в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
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
- The skill is implemented in Python and uses the
requestslibrary. - It requires two environment variables:
MEMOS_URL– REQUIRED. Base URL of your Memos instance (e.g.,https://demo.usememos.com).MEMOS_TOKEN– REQUIRED. Personal access token for authentication.
- If either
MEMOS_URLorMEMOS_TOKENis not set, the skill will abort with a clear error.
Commands
| Command | Description | Usage example | cd |
|---|---|---|---|
create <content> [visibility] |
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 <id> |
Retrieve a memo by its ID. ID can be in format memos/123 or just 123. |
openclaw skill-run get 123 |
|
delete <id> [force] |
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 j9THXDmYtueosTTeHcC5NA
# Delete a memo
python3 skills/memos/memos.py delete j9THXDmYtueosTTeHcC5NA
# Delete with force
python3 skills/memos/memos.py delete j9THXDmYtueosTTeHcC5NA true
# List memos (default 20)
python3 skills/memos/memos.py list
# List 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](https://demo.usememos.com/memos/{uid})
Example:
If the API returns {"uid": "ABC123xyz", "name": "memos/ABC123xyz", ...}, reference it as:
Created [your memo](https://demo.usememos.com/memos/ABC123xyz)
The URL format is: {MEMOS_URL}/memos/{uid} where uid is extracted from the response.
Error handling
The skill includes comprehensive error handling:
- API Errors: Returns detailed error messages including HTTP status codes and API response details
- Network Errors: Handles timeouts (30s default) and connection failures
- Validation: Validates parameters before making API calls (e.g., visibility options, pageSize range)
- Exit codes: Returns 0 on success, 1 on error when run from command line
- Error output: All errors are output as JSON to stderr for easy parsing
Example error responses:
{
"error": "Memos API Error",
"message": "HTTP 404: Not Found - Memo not found",
"status_code": 404
}
Extending the skill
- Add new commands by following the pattern of existing ones.
- If the Memos API adds new endpoints, you can create corresponding functions.
NOTE: This skill is meant for personal use; never share your MEMOS_TOKEN publicly.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- manifest.json
FAQ
Что делает скилл memos-skill?
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.
Как установить скилл memos-skill?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл memos-skill запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…