返回 Skill 列表
extension
分类: AI Agent 能力无需 API Key

vps-memory

访问Flo在VPS(OpenClaw)上的长期记忆。当用户提到“memory”、“memories”、“remember”、“souviens-toi”、“rappelle-toi”、“save memory”、“search memory”、“VPS memory”、“OpenClaw”,或者提及保存/搜索过去的会话或知识时,始终使用此功能。

person作者: jakexiaohubgithub
<objective> Search or save memories on the VPS via OpenClaw's memory system. </objective> <context> Flo's long-term memory lives on the VPS at `~/.openclaw/workspace/`.

NEVER edit MEMORY.md — it's curated by OpenClaw. Always create new files in memory/.

Key paths on VPS

  • MEMORY.md (curated, READ-ONLY): /root/.openclaw/workspace/MEMORY.md
  • Session memories (CREATE HERE): /root/.openclaw/workspace/memory/
  • SQLite index: /root/.openclaw/memory/main.sqlite </context>

<quick_start> Parse user intent, then run the matching command:

Search memories:

ssh vps 'cd /root/openclaw && docker compose exec openclaw-gateway node dist/index.js memory search "QUERY"'

Save a new memory:

ssh vps 'cat > /root/.openclaw/workspace/memory/YYYY-MM-DD-topic.md << '\''EOF'\''
# Session: YYYY-MM-DD (via Claude Code local)
## Topic
Content here

**Tags:** relevant, tags, here
EOF'

Then reindex:

ssh vps 'cd /root/openclaw && docker compose exec openclaw-gateway node dist/index.js memory index'

<intent_mapping>

  • "search memory" / "cherche dans ma mémoire" / "tu te souviens" → search
  • "save memory" / "retiens ça" / "souviens-toi" / "note ça" → save + reindex
  • "show memories" / "list memories" → search with broad query </intent_mapping> </quick_start>

<success_criteria>

  • Search: returns relevant memory results
  • Save: file created on VPS + reindex completed successfully </success_criteria>