跳到主要内容
知仓学习社ZHICANG

memory-file-maintenance

Keep your AI memory/context file (MEMORY.md, CLAUDE.md, custom instructions) healthy over time — pruning the stale, adding the new, and keeping it s…

不碰外部(只输出文字)无严重或高危命中mohitagw15856/pm-claude-skills

它会碰到什么

扫了多少1 个文本文件,5 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

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

  1. Review against reality. Compare what's in the file to who the person actually is now — files drift as people change.
  2. Prune the dead weight. Remove stale rules, resolved situations, and redundancy — a bloated file dilutes the important stuff and confuses the AI.
  3. Sharpen the vague. Turn fuzzy statements into clear, actionable ones ("be concise" → "lead with the answer, then reasoning") so they actually work.
  4. Resolve contradictions. Surface instructions that conflict (a common cause of inconsistent AI behavior) and pick one.
  5. Add what's missing. Capture new preferences, patterns, and lessons from how the person's actually been working — the file should grow with them.
  6. Re-check privacy. Confirm nothing sensitive (credentials, financial, health, others' personal info) has crept in — and remove it if so.
  7. 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

  • [ ] Reviews the file against who the person actually is now
  • [ ] Prunes stale/redundant/resolved content
  • [ ] Sharpens vague statements into actionable ones
  • [ ] Resolves contradictory instructions
  • [ ] Adds missing recent patterns
  • [ ] Re-checks for sensitive data; sets a maintenance habit

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."

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

同名技能的其他版本

有 3 个不同仓库或目录里都有叫 memory-file-maintenance 的技能。它们内容并不相同,别混用: