savemaintenance is an Openclaw Skills maintenance pipeline that backs up, reconciles, rebuilds, and audits the three-tier memory system in one deterministic run.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install savemaintenance
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install savemaintenance using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
savemaintenance is an Openclaw Skills utility for keeping the conversation-log.md FTS5 index saved files stack coherent. It detects drift between the log and the filesystem, regenerates the SQLite FTS5 index from scratch, and delivers a reproducible maintenance pass with zero external dependencies.
Use it when saved conversations are edited outside the normal save flow, when files go missing, or when the index becomes stale. The workflow is designed for safe repairs: it snapshots first, supports dry runs, and handles empty logs, renamed files, and bulk imports without manual cleanup.
--dry before writing anything.~/.openclaw/workspace/savemaintenance/ so the pipeline runs inside the workspace.conversation-log.md and topic-index.json before making changes.# Title, sort by newest first, and refresh the header count.memory-index.db at /dev/shm/memory-index.db from scratch using SQLite FTS5.run.sh maintenance pass or use step-based execution and dry run mode for targeted repairs.save skill has already provided memory-index.py.OPENCLAW_WORKSPACE if you do not use the default workspace path.mkdir -p ~/.openclaw/workspace/savemaintenance
mkdir -p ~/.openclaw/workspace/savemaintenance/backups
mkdir -p ~/.openclaw/workspace/savemaintenance/snapshots
test -d ~/.openclaw/workspace/saved || echo 'WARN: ~/.openclaw/workspace/saved/ does not exist yet (run save skill setup first)'
test -f ~/.openclaw/workspace/saved/memory-index.py || echo 'WARN: memory-index.py not found - install the save skill first'
cp -r {baseDir}/. ~/.openclaw/workspace/savemaintenance/
cd ~/.openclaw/workspace/savemaintenance && python3 full-reconcile.py --dry
./run.sh
export OPENCLAW_WORKSPACE="$HOME/.openclaw/workspace"
No pip packages are required; the skill uses Python standard library modules and bundled SQLite FTS5 support.
| Artifact | Default path | Purpose |
|---|---|---|
| Saved conversations | ~/.openclaw/workspace/saved/ |
Source directory containing conversation .md files |
| Conversation log | ~/.openclaw/workspace/saved/conversation-log.md |
Canonical Markdown log of saved conversations |
| Topic index | ~/.openclaw/workspace/saved/topic-index.json |
Companion metadata file that is backed up during maintenance |
| Memory index | /dev/shm/memory-index.db |
Rebuilt SQLite FTS5 database used for search coherence |
| Backup directory | ~/.openclaw/workspace/savemaintenance/backups/ |
Timestamped backups of log and topic index |
| Snapshot directory | ~/.openclaw/workspace/savemaintenance/snapshots/ |
Manual snapshot and restore artifacts |
conversation-log.md entries are sorted by date descending after reconciliation..md file is discovered, the title is extracted from the first # Title line in the file content.run.sh, full-reconcile.py, snapshot.py, and README.md live in the savemaintenance workspace and implement the pipeline and supporting tooling.| Term | Meaning |
|---|---|
| Dead entry | A log record whose referenced .md file no longer exists |
| Orphan file | A saved conversation file on disk that is not represented in the log |
| Coherent index | A freshly rebuilt FTS5 database aligned to the current file set |
| Directory hygiene | Audit signal for missing files, drift, or unexpected workspace state |
| Snapshot tag | Named restore point created with snapshot.py take <tag> |
OPENCLAW_WORKSPACE to point the skill at a custom workspace root instead of ~/.openclaw/workspace.--dry to validate planned changes before writing.--step backup, --step reconcile, --step rebuild, and --step audit for targeted maintenance.run.sh, which snapshots first and then runs the complete pipeline.snapshot.py with auto-timestamped snapshots and named tags./dev/shm/memory-index.db for clean search state regeneration.OPENCLAW_WORKSPACE override for non-default workspace layouts and portable Openclaw Skills setups.Loading
Dali scores and upgrades image and video prompts before generation, preventing wasted credits and improving output quality.

A read-only VPS security preflight that validates OpenClaw exposure, SSH/firewall posture, and deployment readiness on authorized Linux hosts.

A strategy skill that tests whether a market rewards being first, or rewards the durable last mover that wins the endgame.

An analytical framework that audits organizational behaviors and redirects teams from optionality to concrete, falsifiable long-term strategies.

Save is an Openclaw Skills memory system that turns live conversations into durable, searchable local knowledge.

GIF Picker lets Openclaw agents choose a local reaction GIF by tag and return a reliable `MEDIA:` path for chat replies.








































