Skip to content

rasimme/memory-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

memory-kit

Templates for OpenClaw agent memory management.

Reusable templates for automated memory curation and workspace hygiene. Designed as a starting point β€” clone, customize, done.


What's inside

🧹 Memory Maintainer (cron/memory-maintainer/)

Cron job template that runs every 3 days to keep MEMORY.md fresh:

  • Reads last 3 daily memory files
  • Extracts lasting facts β†’ MEMORY.md
  • Removes outdated entries
  • Warns if workspace files exceed size limits

Includes multi-agent setup (staggered schedules per agent).

β†’ Setup guide Β· Prompt template

πŸ“Š Workspace Housekeeping (skills/workspace-housekeeping/)

OpenClaw skill with file size limits, cleanup guidelines, and protected-section rules:

File Limit Purpose
AGENTS.md 4KB How the agent works
SOUL.md 2KB Who the agent is
TOOLS.md 3KB What the agent can do
MEMORY.md 10KB What the agent knows

β†’ SKILL.md


What about Session Handoff / Memory Flush?

These are now native OpenClaw features (since 2026.3.x):

  • Session Handoff β†’ bundled session-memory hook (enable via openclaw hooks enable session-memory)
  • Memory Flush β†’ compaction.memoryFlush config in openclaw.json

Previously part of this repo (as ContextVault). Old code is in git history if needed.


Usage

# Clone
git clone https://github.com/rasimme/memory-kit.git
cd memory-kit

# Install the skill
cp -r skills/workspace-housekeeping ~/.openclaw/skills/

# Set up the cron job
# Copy the prompt from cron/memory-maintainer/prompt.md
# Create via OpenClaw cron tool β€” see README in that folder

License

MIT

About

Advanced memory management system for OpenClaw with session persistence, automated curation, and workspace housekeeping

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors