Install
openclaw skills install minimal-memoryMaintain organized agent memory by tagging entries as GOOD, BAD, or NEUTRAL, storing essentials in MEMORY.md and daily logs for efficient search and cleanup.
openclaw skills install minimal-memoryKeep agent memory lean, searchable, and actionable through structured categorization and two-tier storage.
MEMORY.md = Long-term essentials (GOOD/BAD learnings only) memory/YYYY-MM-DD.md = Daily operations (GOOD/BAD/NEUTRAL tagged)
Tag every memory entry with its value:
| Tag | Meaning | Keep in MEMORY.md? | Example |
|---|---|---|---|
[GOOD] | Worked well, repeat | ✅ Yes | [GOOD] CSV batch format prevents duplicates |
[BAD] | Failed, avoid | ✅ Yes | [BAD] Bird CLI blocked by X anti-automation |
[NEUTRAL] | Facts, context, state | ❌ No | [NEUTRAL] Day 5 of 30-day media plan |
Keep under 150 lines. Only GOOD and BAD entries:
## GOOD - What Works
- `[GOOD]` Cron jobs with CSV batching = zero duplicates
- `[GOOD]` Browser tool > CLI for X.com automation
- `[GOOD]` Moltbook "crypto" submolt for token posts
## BAD - What to Avoid
- `[BAD]` Never use bird CLI for X (anti-bot blocks it)
- `[BAD]` Don't post identical content across platforms
All three categories with full context:
# 2026-02-15
## [GOOD]
- Fixed duplicate posting with 4-batch CSV structure
- Created 10 cron jobs for complete automation
## [BAD]
- Old CSV format caused content duplication (now deprecated)
## [NEUTRAL]
- Day 5 of 30-day media plan
- Posted $ZEN token shill at 07:00 batch
# Search all memory files
~/.openclaw/skills/minimal-memory/scripts/search.sh "duplicate posting"
# Search only GOOD learnings
~/.openclaw/skills/minimal-memory/scripts/search.sh --good "CSV"
# Search only BAD learnings
~/.openclaw/skills/minimal-memory/scripts/search.sh --bad "CLI"
# Recent entries only (last 7 days)
~/.openclaw/skills/minimal-memory/scripts/search.sh --recent "cron job"
# Create today's memory file with template
~/.openclaw/skills/minimal-memory/scripts/daily.sh
# Add entry with auto-tagging
~/.openclaw/skills/minimal-memory/scripts/add.sh GOOD "Browser tool works better than CLI"
# Review and migrate GOOD/BAD to MEMORY.md
~/.openclaw/skills/minimal-memory/scripts/cleanup.sh
# Archive old NEUTRAL entries (>30 days)
~/.openclaw/skills/minimal-memory/scripts/archive.sh
[GOOD] and [BAD] entries❌ Don't skip tagging - every entry needs a category ❌ Don't put NEUTRAL in MEMORY.md ❌ Don't let MEMORY.md grow past 200 lines ❌ Don't keep NEUTRAL entries forever (30 day max) ❌ Don't create topical files - use daily + search
✅ Do search before asking user "did we try this?" ✅ Do migrate GOOD/BAD weekly ✅ Do be specific in failure/success descriptions ✅ Do trust the search script to find context
If MEMORY.md has untagged content: