skills$openclaw/memory-keeper
crimsondevil3333338.6k

by crimsondevil333333

memory-keeper – OpenClaw Skill

memory-keeper is an OpenClaw Skills integration for productivity workflows. Copy and snapshot all important agent context (MEMORY.md, memory/*.md, AGENTS.md, SOUL.md, etc.) into a dedicated archive directory or repo. Use this skill when you want to back up your memories, context, or configuration files in preparation for maintenance, corruption recovery, or transferring to another host.

8.6k stars5.8k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026productivity

Skill Snapshot

namememory-keeper
descriptionCopy and snapshot all important agent context (MEMORY.md, memory/*.md, AGENTS.md, SOUL.md, etc.) into a dedicated archive directory or repo. Use this skill when you want to back up your memories, context, or configuration files in preparation for maintenance, corruption recovery, or transferring to another host. OpenClaw Skills integration.
ownercrimsondevil333333
repositorycrimsondevil333333/memory-keeper
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @crimsondevil333333/memory-keeper
last updatedFeb 7, 2026

Maintainer

crimsondevil333333

crimsondevil333333

Maintains memory-keeper in the OpenClaw Skills directory.

View GitHub profile
File Explorer
9 files
.
references
usage.md
2.6 KB
scripts
memory_sync.py
6.7 KB
tests
test_memory_sync.py
3.3 KB
_meta.json
468 B
README.md
2.4 KB
SKILL.md
1.6 KB
SKILL.md

name: memory-keeper description: Copy and snapshot all important agent context (MEMORY.md, memory/*.md, AGENTS.md, SOUL.md, etc.) into a dedicated archive directory or repo. Use this skill when you want to back up your memories, context, or configuration files in preparation for maintenance, corruption recovery, or transferring to another host.

Memory Keeper

Memory Keeper is a simple CLI that copies the critical OpenClaw context files (daily memory logs, DESCRIPTION.md, personality documents, heartbeat reminders) into a safe archive destination and optionally commits/pushes them to a configured git repo. It keeps the same file layout so you can restore or inspect the history without grabbing the whole workspace.

Features

  • Snapshots: Copies memory/*.md, MEMORY.md, AGENTS.md, SOUL.md, USER.md, TOOLS.md, HEARTBEAT.md, and optional extras into the archive path while preserving directory structure.
  • Git-friendly: If the target archive is a git repo, Memory Keeper can initialize it, create commits, and push changes to your remote branch (configurable via CLI flags).
  • Portable: Works on any platform; just point --workspace to a workspace root containing those files.

Get started

python3 skills/memory-keeper/scripts/memory_sync.py --target ~/clawdy-memories --commit --message "Sync up" --remote https://github.com/your-org/clawdy-memories.git --push

See references/usage.md for configuration tips, automation recipes, and a troubleshooting guide.

Resources

README.md

Memory Keeper skill

Memory Keeper copies the OpenClaw memory journal files (memory/*.md, MEMORY.md, AGENTS.md, SOUL.md, USER.md, TOOLS.md, HEARTBEAT.md) into a dedicated archive folder or repository. Use it whenever you need a durable snapshot of your agent context before risky operations, updates, or migrations.

Key highlights

  • Automated snapshots: Copies the core documents plus optional globs via --allow-extra while keeping the workspace structure intact.
  • Git-ready: Optionally initializes a repository inside the archive, commits the snapshot, configures a remote, and pushes the new branch.
  • Logs its own work: Every successful run appends a timestamped entry to today’s memory/YYYY-MM-DD.md, so the journal records when and where the archive changed.
  • Friendly failures: If an authentication error happens while configuring or pushing to a remote, the CLI prints a helpful reminder about tokens/SSH keys instead of crashing.

Usage

python3 skills/memory-keeper/scripts/memory_sync.py \
  --target ~/clawdy-memories --commit --message "Post-session" --remote https://github.com/your-org/clawdy-memories.git --push

Pass --skip-memory when you only want the top-level metadata files, or --allow-extra extra-notes.md to snapshot additional assets.

Logging & tokens

Memory Keeper now writes a bullet to memory/YYYY-MM-DD.md after each successful run. Look there for entries like:

- [2026-02-03 12:00:00 IST] Memory Keeper synced to /path/to/archive (commit=True, push=False, remote=https://...)

If a git command fails because the remote needs a token, the CLI will report Git command 'git -C ... <args>' failed and remind you to configure your credential helper or embed the token/SSH key in the URL. This keeps the tool readable even when authentication isn’t set up yet.

Testing

Run the unit tests from the workspace root:

python3 -m unittest discover skills/memory-keeper/tests

These tests cover copying defaults, logging entries, and gracefully handling git errors.

Packaging & releases

When you’re ready to deliver a release, package the skill:

python3 $(npm root -g)/openclaw/skills/skill-creator/scripts/package_skill.py skills/memory-keeper

Share the resulting memory-keeper.skill file via ClawHub or GitHub releases.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install memory-keeper?

Run openclaw add @crimsondevil333333/memory-keeper in your terminal. This installs memory-keeper into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/crimsondevil333333/memory-keeper. Review commits and README documentation before installing.