Install
openclaw skills install context-memoizeCaches and manages frequently used context fragments to avoid redundant processing by saving, listing, and clearing cached data.
openclaw skills install context-memoizeCaches frequently used context fragments to reduce redundant processing.
When user says "缓存这个上下文" or "memoize this context" - save the current context for reuse.
Use a simple file-based cache:
# Save context fragment
echo "$CONTENT" >> ~/.openclaw/context-cache/fragments.md
# List cached fragments
ls ~/.openclaw/context-cache/
# Clear cache
rm -rf ~/.openclaw/context-cache/
This skill can be called from AGENTS.md Session Startup to pre-load cached context:
if [ -f ~/.openclaw/context-cache/fragments.md ]; then
cat ~/.openclaw/context-cache/fragments.md
fi