memory-enhancer
SKILL.md
Memory Enhancer
Make OpenClaw's memory work naturally. Capture what matters without explicit asks.
What to Capture
Listen for signals that something should persist across sessions:
- Preferences: "I prefer...", "Always...", "Never...", "Use X instead of Y"
- Corrections: User fixes a repeated mistake or says "I told you before..."
- Decisions: "We decided to...", "Let's go with...", "The plan is..."
- Workflow: "I usually...", "My process is...", "When I say X I mean Y"
- Positive reinforcement: "Perfect", "Yes, like that", "Always do it this way"
- Skill feedback: Corrections after any skill runs — "next time only show top 5", "make it shorter"
Do NOT capture: one-off requests ("just this once"), vague reactions ("ok", "thanks"), or transient task context.
How to Capture
- Use
memory_searchto check if a related entry already exists. - Write to
MEMORY.md:- If the entry relates to a skill, put it under
## Skill Preferences. - For general preferences and decisions, use
## Preferencesor an appropriate existing section. - If a matching entry exists, update or replace it. Don't create duplicates.
- If the entry relates to a skill, put it under
- For context-heavy notes, also append to today's daily log (
memory/YYYY-MM-DD.md). - Keep it concise — one line per entry, actionable phrasing.
- Confirm briefly: "Noted — I'll remember that."
How to Recall
Before responding to any task, memory_search runs automatically via OpenClaw. This skill enhances that by ensuring memories are written in the first place — the part OpenClaw leaves to explicit user requests.
Housekeeping
- Max 30 entries per section in
MEMORY.md. When exceeded: merge duplicates, drop oldest. - When an entry is contradicted by new feedback, replace it — don't keep both.
- If the user corrects something that's already in memory, update memory immediately.
Direct Commands
- "What do you remember?" — summarize key entries from
MEMORY.md. - "Forget {thing}" — remove matching entries.
- "Clear memory about {topic}" — remove related entries.
Weekly Installs
1
Repository
zlatkov/agent-skillsFirst Seen
9 days ago
Security Audits
Installed on
amp1
cline1
openclaw1
opencode1
cursor1
kimi-cli1