npx skills add https://github.com/memtensor/memos-cloud-skill --skill memos-cloud-serverCLI を使用してこのスキルをインストールし、ワークスペースで SKILL.md ワークフローの使用を開始します。
MemOS Cloud Server API skill. This skill allows Agents or developers to directly call the MemOS Cloud Platform API to retrieve, add, delete, and feedback on memories.
requests module (pip3 install requests)npx skills add https://github.com/MemTensor/MemOS-Cloud-Skill
git clone https://github.com/MemTensor/MemOS-Cloud-Skill.git
This step is critical. You must configure these variables before using the skill.
Where to configure
~/.bashrc, ~/.zshrc)..env files for OpenClaw/Moltbot/Clawdbot).MEMOS_API_KEY (required; Token auth) — get it at MemOS API ConsoleMEMOS_USER_ID (required; A deterministic user-defined personal identifier, e.g., hashed email, employee ID) — Do not use random or session IDs.MEMOS_API_KEY=YOUR_TOKEN
MEMOS_USER_ID=YOUR_USER_ID
MEMOS_CLOUD_URL (default: https://memos.memtensor.cn/api/openmem/v1)echo 'export MEMOS_API_KEY="mpg-..."' >> ~/.bashrc
echo 'export MEMOS_USER_ID="user-123"' >> ~/.bashrc
source ~/.bashrc
[System.Environment]::SetEnvironmentVariable("MEMOS_API_KEY", "mpg-...", "User")
[System.Environment]::SetEnvironmentVariable("MEMOS_USER_ID", "user-123", "User")
Once installed and configured, this skill empowers your AI Agent (e.g., Trae, Cursor, OpenClaw) to manage your long-term memories autonomously. Simply communicate with your Agent through natural language, and it will intelligently decide when to call the underlying MemOS APIs based on your conversations.
/v1/add/message)When you share preferences, facts, or instructions you want the Agent to remember, it will automatically extract the high-value content and save it to the MemOS cloud.
Example Conversation:
add_message skill) "Got it! I've saved your preferences about Python and dark mode."/v1/search/memory)Before answering complex questions or when explicitly asked, the Agent will search your past memories to provide highly personalized responses.
Example Conversation:
search skill to retrieve your python preferences) "Sure! Here is a set of Python boilerplate code..."/v1/delete/memory)If a memory is outdated or incorrect, simply tell the Agent to forget it.
Example Conversation:
delete skill) "I have removed your old address from my memory."/v1/add/feedback)You can correct the Agent's behavior, and it will reinforce its memory for future interactions.
Example Conversation:
add_feedback skill) "Understood. I will add more details and code comments in the future."