Install
openclaw skills install openclaw-memory-formatManage OpenClaw's multi-layered memory system with structured, searchable markdown files for long-term, daily, and session memories, supporting hybrid semant...
openclaw skills install openclaw-memory-formatOpenClaw's memory system uses multi-layered storage combining semantic and keyword search.
$WORKSPACE/MEMORY.mdmemory/YYYY-MM-DD.mdUse structured format for easy later retrieval:
# 2026-04-01 Daily Memory
## Completed Today
- Researched Claw Code architecture
- Completed MCP orchestration analysis
- Started P0 improvement tasks
## Conversation Summary
- User request: Full analysis of OpenClaw vs Claw-Code
- Systems involved: Tool/Session/MCP/API/Hook/Plugin/Prompt/Skill/Memory/Sandbox/Error
- Output: Complete improvement list (22 items)
## Key Decisions
- MCP process pool needs core modification, P3
- Tool Schema supplements added to TOOLS.md
- Hook examples library created
## Follow-up Items
- [ ] Execute P0 tasks 1-6
- [ ] Verify improvement effects
- [ ] Continue P1 tasks
## Important Files
- $WORKSPACE/MEMORY.md
- $WORKSPACE/claw-code/ (cloned claw-code repository)
## Technical Notes
- Hybrid search: vector 70% + text 30%
- Compaction threshold: 4k tokens reserved space
- Sandbox: Docker network=none, capDrop=ALL
Use semantic search to find relevant memories:
- Returns 6 results by default
- minScore: 0.35
- Supports hybrid search mode
Read specific memory files:
- path: file path (MEMORY.md or memory/YYYY-MM-DD.md)
- from: start line
- lines: line limit
| Condition | Threshold |
|---|---|
| softThresholdTokens | 4000 tokens reserved space |
| forceFlushTranscriptBytes | 2MB force flush |
| reserveTokensFloor | 20000 tokens floor |
| Memory Flush | Compaction | |
|---|---|---|
| Trigger | Context full | Context full |
| Write | memory/YYYY-MM-DD.md | No file write |
| Content | Important memories | Conversation summary |
| Format | Structured markdown | Internal summary |