memory-api
БесплатноБез исполняемых скриптовНе проверенUse this sub-skill for EverOS HTTP memory add, flush, search, get, multimodal content, prompt slots, and memory API troubleshooting.
от lza6★ 19 звёзд на GitHubОб этом скилле
EverOS Memory API
Use this sub-skill for application-level memory workflows through the EverOS HTTP API: adding conversations, flushing session buffers, searching user or agent memory, listing memory rows, handling multimodal content, and tuning prompt slots.
Read/run map
- Read API reference for request/response shapes, owner scoping, filter DSL, search methods, and error envelopes.
- Read workflows for add/flush/search loops, live demo-equivalent calls, prompt slots, and multimodal payload patterns.
- Read troubleshooting for provider gates, validation errors, eventual consistency, search misses, and multimodal failures.
- Run memory_http_smoke.py against a running server. It defaults to
/health; add--add-flush-searchonly when writes are intended. - Run dump_everos_openapi.py to inspect the installed package OpenAPI schema without starting a server.
Core endpoints
Use /api/v2 for new integrations:
| Endpoint | Purpose |
|---|---|
POST /api/v2/memory/add |
Add one or more messages to a session buffer; may extract if a boundary trips. |
POST /api/v2/memory/flush |
Force extraction of the current session tail. |
POST /api/v2/memory/search |
Ranked retrieval over user episodes/profiles or agent cases/skills. |
POST /api/v2/memory/get |
Paginated listing over one memory type. |
/api/v1 is a compatibility alias with the same handlers.
Minimal add/flush/search loop
TS=$(($(date +%s) * 1000))
BASE=http://127.0.0.1:8000
curl -s -X POST "$BASE/api/v2/memory/add" \
-H 'Content-Type: application/json' \
-d "{\"session_id\":\"demo-001\",\"messages\":[{\"sender_id\":\"alice\",\"role\":\"user\",\"timestamp\":$TS,\"content\":\"I love climbing in Yosemite every spring.\"}]}"
curl -s -X POST "$BASE/api/v2/memory/flush" \
-H 'Content-Type: application/json' \
-d '{"session_id":"demo-001"}'
curl -s -X POST "$BASE/api/v2/memory/search" \
-H 'Content-Type: application/json' \
-d '{"user_id":"alice","query":"Where do I like to climb?","method":"hybrid","top_k":5}'
Key decisions
messages[].timestampshould be Unix epoch milliseconds.sender_idbecomes the user owner for user-role messages and is path-validated.- Exactly one of
user_idoragent_idis required for/searchand/get. - Use
app_idandproject_idto isolate tenants/projects; defaults aredefault. - Search can be eventually consistent after writes because LanceDB projection is asynchronous.
- Multimodal content items require explicit parser/provider setup; plain string content is safest.
Установить memory-api в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл memory-api?
Use this sub-skill for EverOS HTTP memory add, flush, search, get, multimodal content, prompt slots, and memory API troubleshooting.
Как установить скилл memory-api?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл memory-api запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop 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…
от Anthropicinternal-comms
A 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…
от Anthropicskill-development
This 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…
от Anthropic