← Back to Skills Marketplace
chenghaifeng08-creator

Memory Hygiene

by chenghaifeng08-creator · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ⚠ suspicious
283
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install memory-hygiene-automaton
Description
Audit, clean, and optimize Clawdbot's vector memory (LanceDB). Use when memory is bloated with junk, token usage is high from irrelevant auto-recalls, or set...
Usage Guidance
This skill appears to do what it says (audit, wipe, reseed LanceDB memory), but it contains high-impact operational steps you should not run blindly. Before installing or invoking: 1) Back up your existing memory directory (don't run rm -rf without a verified path). 2) Inspect MEMORY.md and other sources for secrets — avoid storing actual tokens/passwords or precise credential values in vector memory. 3) Restrict which agents/users can execute shell commands, gateway restarts, or config.patch actions. 4) Prefer manual runs initially or test on a non-production instance. 5) If you enable the cron job, ensure you have monitoring and backups so automated wipes cannot cause data loss. If you want tighter safety, request the skill be modified to use non-destructive API-level deletes with confirmation prompts and to explicitly forbid storing credential locations or other sensitive material.
Capability Analysis
Type: OpenClaw Skill Name: memory-hygiene-automaton Version: 1.0.2 The skill bundle contains instructions in SKILL.md for destructive file system operations (rm -rf) and the creation of automated cron jobs to wipe and reseed vector memory. While these actions align with the stated goal of 'memory hygiene,' the use of high-risk shell commands and the suggestion to store sensitive data like 'credentials locations' in vector memory represent significant security risks and potential for data loss if executed without strict oversight.
Capability Assessment
Purpose & Capability
Name/description match the actions in SKILL.md: auditing, wiping, reseeding, and disabling auto-capture for a LanceDB-backed vector memory. No unrelated credentials or binaries are requested.
Instruction Scope
Instructions include dangerous, destructive commands (rm -rf ~/.clawdbot/memory/lancedb/) and automated restart/cron instructions. They also advise storing 'accounts, credentials locations, contacts' into memory which could surface secrets if MEMORY.md or source data contains them. The steps are high-impact and should not be run blindly or by an untrusted agent.
Install Mechanism
Instruction-only skill with no install spec or downloaded code. This lowers code-execution supply-chain risk; nothing is written to disk by an installer.
Credentials
The skill requests no environment variables, credentials, or config paths beyond instructing operations on ~/.clawdbot/memory/lancedb/ and gateway actions. There are no extraneous secret requests, but the guidance to store credential locations in memory is a potential privacy concern (not an explicit credential request).
Persistence & Privilege
Skill suggests creating a recurring cron job that will automatically wipe and reseed memory monthly. While the skill itself is not 'always: true', these instructions could be used to grant ongoing destructive behavior if applied. Also instructs gateway config patches and gateway restarts, which are privileged actions—ensure only authorized actors perform them.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install memory-hygiene-automaton
  3. After installation, invoke the skill by name or use /memory-hygiene-automaton
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
- Added a new paid services section (in Chinese) outlining consulting and maintenance offerings for memory optimization. - No changes to core functionality or technical usage. - SKILL.md now includes service descriptions, pricing, and contact information for support.
v1.0.1
Automaton edition - retry
v1.0.0
Initial release — tools for maintaining and optimizing Clawdbot's vector memory. - Enables fast auditing and manual wiping of LanceDB-based memory. - Provides clear instructions for seeding and maintaining essential facts after a wipe. - Explains disabling memory auto-capture to prevent junk accumulation. - Lists best practices for what to intentionally store or avoid in vector memory. - Includes a sample cron job for scheduled memory cleanup and reseeding.
Metadata
Slug memory-hygiene-automaton
Version 1.0.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is Memory Hygiene?

Audit, clean, and optimize Clawdbot's vector memory (LanceDB). Use when memory is bloated with junk, token usage is high from irrelevant auto-recalls, or set... It is an AI Agent Skill for Claude Code / OpenClaw, with 283 downloads so far.

How do I install Memory Hygiene?

Run "/install memory-hygiene-automaton" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Memory Hygiene free?

Yes, Memory Hygiene is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Memory Hygiene support?

Memory Hygiene is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Memory Hygiene?

It is built and maintained by chenghaifeng08-creator (@chenghaifeng08-creator); the current version is v1.0.2.

💬 Comments