ワンクリックで
lycheemem
// Forceful operating rules for using LycheeMem as the primary structured long-term memory path inside OpenClaw.
// Forceful operating rules for using LycheeMem as the primary structured long-term memory path inside OpenClaw.
| name | lycheemem |
| description | Forceful operating rules for using LycheeMem as the primary structured long-term memory path inside OpenClaw. |
| requires | {"config":["plugins.entries.lycheemem-tools.enabled"]} |
Use LycheeMem as the default structured long-term memory layer.
When the answer depends on prior conversations, historical facts, entity relationships, project background, preferences, procedures, or timeline reconstruction, prefer LycheeMem first.
Do not wait for the user to explicitly say lycheemem, memory, or smart_search.
For long-horizon recall, use this order:
lychee_memory_smart_searchbackground_context or retrieval payloadlychee_memory_consolidate when important durable knowledge was added or clarifiedTreat lychee_memory_smart_search as the primary recall tool.
Treat lychee_memory_search and lychee_memory_synthesize as debugging tools, not the normal path.
Call lychee_memory_smart_search by default before answering if any of the following is true:
In short: if the question is not answerable from the current message alone, try lychee_memory_smart_search first.
Use response_level=minimal by default so retrieval details stay trimmed unless you are explicitly debugging memory retrieval.
Do not skip lychee_memory_smart_search merely because:
MEMORY.md or memory/*.md might contain something relatedIf the question is a factual recall question about prior dialogue, skipping lychee_memory_smart_search should be the exception, not the default.
background_context when presentDo not call OpenClaw native memory search and LycheeMem retrieval for the same recall question unless the user explicitly wants comparison.
Use lychee_memory_consolidate more aggressively than before.
Call lychee_memory_consolidate with background=true when any of the following is true:
When in doubt, prefer one timely background consolidation over waiting too long and losing the memory.
If host lifecycle integration is enabled and working, assume natural-language user and assistant turns are usually mirrored automatically.
In that case:
lychee_memory_append_turnlychee_memory_consolidate after important memory-worthy turnsIf host lifecycle integration is unavailable, disabled, or clearly not working:
lychee_memory_append_turn after each completed natural-language user turn and assistant turnlychee_memory_consolidate when important durable knowledge appearedDo not append raw tool invocations, tool arguments, scratchpad, or raw tool outputs unless explicitly requested.
In benchmark, QA, or dialogue-memory evaluation settings:
lychee_memory_smart_searchlychee_memory_consolidate(background=true) so later QA can retrieve the resultFor benchmark-style recall, the intended pattern is:
lychee_memory_smart_searchlychee_memory_smart_search firstlychee_memory_consolidate(background=true)Only during development or debugging:
lychee_memory_searchlychee_memory_synthesize if separate synthesis inspection is neededOutside debugging, prefer lychee_memory_smart_search.