Memory-File Maintenance
A personal AI memory file (MEMORY.md, CLAUDE.md, custom instructions) is only as good as it is current — over time it bloats with stale rules, contradicts itself, and drifts from who you actually are now. This tends it: reviews what's there, prunes the dead weight, sharpens the vague, adds the new patterns worth keeping, and sets a light maintenance habit — so your AI keeps understanding the real you. It also re-checks the privacy line on what should never be in there.
What This Skill Produces
- A health review — what in the current file is stale, contradictory, bloated, redundant, or vague — and what important context is missing
- Prune & sharpen edits — removing dead rules and tightening vague ones into clear, actionable statements
- Additions — new patterns, preferences, and lessons worth adding from how you've actually been working/deciding lately
- A conflict check — surfacing and resolving instructions that contradict each other (which confuse the AI)
- A privacy re-check — confirming no credentials, financial, health, or others' personal data has crept in
- A maintenance habit — a light cadence (a quick review every so often, add-a-line-as-you-go) so it stays current
Required Inputs
Ask for these if not provided:
- The current file — your MEMORY.md / CLAUDE.md / custom instructions (paste it)
- What's changed — how your work, preferences, or life have shifted since you wrote it
- Any friction — where the AI has been getting you wrong lately (a clue to what's stale/missing)
- New patterns — recent rules, lessons, or preferences worth capturing
Framework: Prune, Sharpen, Add, Protect
- Review against reality. Compare what's in the file to who the person actually is now — files drift as people change.
- Prune the dead weight. Remove stale rules, resolved situations, and redundancy — a bloated file dilutes the important stuff and confuses the AI.
- Sharpen the vague. Turn fuzzy statements into clear, actionable ones ("be concise" → "lead with the answer, then reasoning") so they actually work.
- Resolve contradictions. Surface instructions that conflict (a common cause of inconsistent AI behavior) and pick one.
- Add what's missing. Capture new preferences, patterns, and lessons from how the person's actually been working — the file should grow with them.
- Re-check privacy. Confirm nothing sensitive (credentials, financial, health, others' personal info) has crept in — and remove it if so.
- Set a light habit. A quick periodic review plus adding a line when a new pattern emerges keeps it current without being a chore.
Output Format
Memory-file review
Prune (remove): [stale · redundant · resolved].
Sharpen (rewrite vaguer → clearer): ["[vague]" → "[clear, actionable]"].
Contradictions to resolve: [conflicting instructions → the one to keep].
Add (from recent patterns): [new preferences/rules/lessons].
Privacy check: [confirm no credentials/financial/health/others' data → remove if found].
Maintenance habit: [a quick periodic review + add-a-line-as-you-go].
Quality Checks
Anti-Patterns
- Only adding, never pruning (bloat).
- Leaving contradictions that confuse the AI.
- Vague rules that don't actually change behavior.
- Letting sensitive data sit in an AI-readable file.
- A one-time cleanup with no ongoing habit.
Example Trigger Phrases
- "Review my CLAUDE.md — it feels outdated."
- "Clean up my AI memory file, it's gotten bloated."
- "My custom instructions aren't working well anymore — fix them."
- "Maintain my MEMORY.md with how I've been working lately."
- "My AI keeps getting me wrong — check my context file."
1---2name: memory-file-maintenance3description: Keep your AI memory/context file (MEMORY.md, CLAUDE.md, custom instructions) healthy over time — pruning the stale, adding the new, and keeping it sharp so your AI keeps getting you right. Use when asked review my memory file, my AI context is outdated, clean up my CLAUDE.md, or maintain my AI instructions. Produces a review of your existing memory/instructions file (what's stale, contradictory, bloated, or missing), edits to prune and sharpen it, additions from recent patterns worth remembering, and a light maintenance habit — because a memory file that isn't tended drifts from who you actually are, with a privacy check on what should never be stored.4---5
6# Memory-File Maintenance
7
8A personal AI memory file (MEMORY.md, CLAUDE.md, custom instructions) is only as good as it is current — over time it bloats with stale rules, contradicts itself, and drifts from who you actually are now. This tends it: reviews what's there, prunes the dead weight, sharpens the vague, adds the new patterns worth keeping, and sets a light maintenance habit — so your AI keeps understanding the real you. It also re-checks the privacy line on what should never be in there.
9
10## What This Skill Produces
11
12- **A health review** — what in the current file is stale, contradictory, bloated, redundant, or vague — and what important context is *missing*
13- **Prune & sharpen edits** — removing dead rules and tightening vague ones into clear, actionable statements
14- **Additions** — new patterns, preferences, and lessons worth adding from how you've actually been working/deciding lately
15- **A conflict check** — surfacing and resolving instructions that contradict each other (which confuse the AI)
16- **A privacy re-check** — confirming no credentials, financial, health, or others' personal data has crept in
17- **A maintenance habit** — a light cadence (a quick review every so often, add-a-line-as-you-go) so it stays current
18
19## Required Inputs
20
21Ask for these if not provided:
22- **The current file** — your MEMORY.md / CLAUDE.md / custom instructions (paste it)
23- **What's changed** — how your work, preferences, or life have shifted since you wrote it
24- **Any friction** — where the AI has been getting you wrong lately (a clue to what's stale/missing)
25- **New patterns** — recent rules, lessons, or preferences worth capturing
26
27## Framework: Prune, Sharpen, Add, Protect
28
291. **Review against reality.** Compare what's in the file to who the person actually is now — files drift as people change.
302. **Prune the dead weight.** Remove stale rules, resolved situations, and redundancy — a bloated file dilutes the important stuff and confuses the AI.
313. **Sharpen the vague.** Turn fuzzy statements into clear, actionable ones ("be concise" → "lead with the answer, then reasoning") so they actually work.
324. **Resolve contradictions.** Surface instructions that conflict (a common cause of inconsistent AI behavior) and pick one.
335. **Add what's missing.** Capture new preferences, patterns, and lessons from how the person's actually been working — the file should grow with them.
346. **Re-check privacy.** Confirm nothing sensitive (credentials, financial, health, others' personal info) has crept in — and remove it if so.
357. **Set a light habit.** A quick periodic review plus adding a line when a new pattern emerges keeps it current without being a chore.
36
37## Output Format
38
39### Memory-file review
40
41**Prune (remove):** [stale · redundant · resolved].
42**Sharpen (rewrite vaguer → clearer):** ["[vague]" → "[clear, actionable]"].
43**Contradictions to resolve:** [conflicting instructions → the one to keep].
44**Add (from recent patterns):** [new preferences/rules/lessons].
45**Privacy check:** [confirm no credentials/financial/health/others' data → remove if found].
46**Maintenance habit:** [a quick periodic review + add-a-line-as-you-go].
47
48## Quality Checks
49- [ ] Reviews the file against who the person actually is now
50- [ ] Prunes stale/redundant/resolved content
51- [ ] Sharpens vague statements into actionable ones
52- [ ] Resolves contradictory instructions
53- [ ] Adds missing recent patterns
54- [ ] Re-checks for sensitive data; sets a maintenance habit
55
56## Anti-Patterns
57- **Only adding**, never pruning (bloat).
58- **Leaving contradictions** that confuse the AI.
59- **Vague rules** that don't actually change behavior.
60- **Letting sensitive data** sit in an AI-readable file.
61- **A one-time cleanup** with no ongoing habit.
62
63## Example Trigger Phrases
64- "Review my CLAUDE.md — it feels outdated."
65- "Clean up my AI memory file, it's gotten bloated."
66- "My custom instructions aren't working well anymore — fix them."
67- "Maintain my MEMORY.md with how I've been working lately."
68- "My AI keeps getting me wrong — check my context file."