Manually prunes stale project_* memory entries older than 30 days with content preview. Keeps MEMORY.md under the auto-load truncation limit.
Ships in claude-skills-library. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The memory system at ~/.claude/projects/C--Users-frank-Arcanea/memory/ accumulates ~2-3 entries/day. Once MEMORY.md exceeds ~200 lines the auto-loader truncates it and entries silently disappear from future-session context. This skill prevents that without auto-deleting things that might still matter.
feedback, decision, reference, user — these are durable.project_* — these are session snapshots; old ones rarely re-load.~/.claude/projects/C--Users-frank-Arcanea/memory/ for .md filesproject_*.md last-modified > N days ago (default 30)[k]eep | [a]rchive | [p]in | [s]kipmemory/archive/YYYY-MM/, remove from MEMORY.md<original>_pinned.md, ensure indexed in MEMORY.md| Pattern | Recommendation |
|---|---|
project_*_session_*.md (session log) | archive — these are ephemeral by nature |
project_pp_audit_*.md (PP audits) | archive after 60 days |
project_*_strategy.md (strategy docs) | keep or pin — usually evergreen |
project_overnight_*.md | archive — overnight session snapshots |
project_mega_session_*.md | archive — date-bound sessions |
project_*_2026_03_* | archive after 90 days |
| Any with content > 4 KB explaining a decision rationale | suggest pin |
Run via PowerShell in Windows:
powershell -NoProfile -ExecutionPolicy Bypass -File "$env:USERPROFILE/.claude/skills/memory-prune/prune.ps1"
Or set up an alias in your shell:
function prune-memory { & "$env:USERPROFILE/.claude/skills/memory-prune/prune.ps1" }
feedback_*, decision_*, reference_*, user_*Run once per month or whenever MEMORY.md exceeds 180 lines (check via wc -l MEMORY.md).
This skill itself decays only if memory architecture migrates (e.g., to a vector DB). At that point rebuild against the new substrate.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/claude-skills-library:memory-prunefrom claude-skills-library
npx claudepluginhub frankxai/claude-skills-library --plugin claude-skills-library116 skills in this plugin
/acos-metaACOS self-description and configuration skill. Documents how ACOS works, how to extend it, how to add new skills/commands/agents, and how to debug the hook system. Use when building new ACOS capabilities, understanding the system architecture, or onboarding to ACOS for the first time./acos-visual-genGenerate research-grounded visuals using the InfoGenius pipeline. Use when creating infographics, diagrams, educational visuals, or any image that benefits from factual accuracy. Supports 8 visual styles (3D, technical, minimalist, photorealistic, futuristic, vintage, cartoon, standard) and 4 audience levels./agent-hygieneThe quality bar for any agent working on agent definitions, skills, commands, hooks, AGENTS.md or CLAUDE.md, in any repo and any harness. Use at session start, before editing a file under .claude/agents, agents/, .claude/commands or any SKILL.md, before handing work back, and whenever choosing which model tier (Haiku, Sonnet, Opus, Fable) or effort level a task deserves. Carries the estate guardrails, the agent-file contract the linter enforces, the verification line every hand-back ends with, and the routing rule for spending the top tier.Other plugins' skills for the same job