memory-audit

Solid

Audit MEMORY.md against the memory discipline — oversized sections, settled multi-session patterns that belong in knowledge/concepts/, stacked chronicle blocks, stale entries. Produces a move plan as a table for approval, then executes the approved moves atomically. Use when the SessionStart hook reports a tripped cap, when PreCompact blocks on an oversized cache, or when the user says "/memory-kit:memory-audit", "audit memory", "проверь память", "почисти память". Refuses only when no cap is tripped AND no settled-pattern candidate exists.

AI & Automation 34 stars 7 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
51
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Memory audit — the surgical one-file pass This is the **cap-trip response**, not the daily ritual. `/memory-kit:close-session` runs every session and captures; this runs when the hot cache has actually outgrown itself and something must LEAVE it. Keeping them separate is the point: a daily ritual that also has to do surgery becomes a ritual people skip. **Always pause for approval before writing.** The user talks; you write — including here. ## Inputs - `.claude/memory/MEMORY.md` — read in full. - `knowledge/concepts/*.md` — filenames + first 5 lines, for duplicate detection (the directory may not exist yet; the first move creates it). - `context/handoffs/` — to confirm a session narrative already lives there → **drop**, not move. ## Step 1 — classify every section Scan by `## ` heading. For each, count lines and mark exactly one action: | Mark | When | |---|---| | `move (create)` | a settled pattern (confirmed on 3+ distinct dates) with >25 lines of reference detail | | `move (merge)` | same, but a concept article on the topic already exists | | `drop` | a per-session chronicle — it already lives in a handoff; distil at most one settled line | | `update in-place` | stale: names a deleted file, a closed ticket, a superseded decision | | `simplify` | true and useful, but three times longer than it needs to be | | `keep` | earns its lines | ## Step 2 — the move plan (a table, never prose) | # | Section | Lines | Action | Target | Reason | |---|---|---|---|---|---| ...

Details

Author
awrshift
Repository
awrshift/claude-memory-kit
Created
5 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Listed

memory-audit

Audit Claude's persistent auto-memory (MEMORY.md + memory files) against current workspace state; propose stale-entry updates, merges, and deletions for user approval, then apply the approved batch. Use periodically (e.g. when MEMORY.md grows past ~30 entries or quarterly) or when recalled memories keep contradicting the repo.

0 Updated yesterday
hsigstad
AI & Automation Listed

memory-audit

Runs a memory hygiene pass on the project memory/ directory. Reviews all active memory files against the current codebase and archives or supersedes stale entries. Use before major feature work or when memory files feel out of date. Trigger this when someone says: clean up memory, audit memory files, memory is out of date, stale decisions, memory hygiene, are our memory files current, check if decisions are still valid. Do NOT use when searching for a specific memory entry — use /memory-query instead.

6 Updated 1 weeks ago
chuckplayer
Data & Documents Listed

memory-tidy

Keep Claude Code's always-loaded MEMORY.md index healthy — trim over-length entries, move done work to the archive, fold domains into hub files, and give orphaned notes a pointer so they stay findable. Triggers on "/memory-tidy", "tidy memory", "my memory index is huge", "MEMORY.md is over budget", "orphaned memory notes", "clean up memory". Also run it yourself when the memory guard reports RED or the index approaches its budget. Do NOT touch an index another machine owns — ownership is declared in memory_scope.json, never guessed.

0 Updated 2 days ago
tonydzi