Install
openclaw skills install @space-cadet/mem-loadGlobal workflow for loading memory bank files based on recent activity and context Use when the user invokes $mem-load or asks for this workflow by name.
openclaw skills install @space-cadet/mem-loadThis skill is a Codex conversion of a personal Windsurf global workflow. Follow the workflow below, adapting Windsurf-specific slash-command wording to Codex skill invocation. If the workflow mentions running /mem-load, treat that as explicit invocation of $mem-load.
Load relevant memory bank files by analyzing recent activity and context to determine which implementation docs are needed.
read memory-bank/activeContext.md
read memory-bank/session_cache.md
Analyze the loaded context to determine:
Based on the analysis from Step 2:
# Load current task file if ID identified
read memory-bank/tasks/T{ID}.md
# Load most recent session file
read memory-bank/sessions/YYYY-MM-DD-PERIOD.md
Based on the task and session context:
Load these implementation docs if referenced or relevant:
# Load implementation docs as needed (examples)
read memory-bank/implementation-details/[specific-file].md
read memory-bank/techContext.md # Only if technical details needed
read memory-bank/systemPatterns.md # Only if architectural context needed
START
├─ Load activeContext.md + session_cache.md
├─ Identify current task ID and recent session file
├─ Load current task file + recent session file
├─ Check for implementation doc references
│ ├─ References found → Load those specific docs
│ └─ No references → Load based on task type
│ ├─ Implementation task → Load techContext.md
│ ├─ Architecture task → Load systemPatterns.md
│ └─ Other task → No additional docs needed
└─ Complete loading
read memory-bank/activeContext.md
read memory-bank/session_cache.md
# Task file (if current task identified)
read memory-bank/tasks/T{ID}.md
# Recent session file
read memory-bank/sessions/YYYY-MM-DD-PERIOD.md
# Implementation docs (only if referenced or needed)
read memory-bank/implementation-details/[specific-file].md
read memory-bank/techContext.md
read memory-bank/systemPatterns.md