Memory Prune
Manual reviewable prune of stale memory entries. Lists project_* entries older than 30 days with content preview; Frank decides per-entry [keep | archive | pin]. Keeps MEMORY.md under the auto-load 200-line truncation. Use when MEMORY.md exceeds 180 lines or session-end after a heavy work week.
Install
/plugin marketplace add frankxai/claude-skills-libraryThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add frankxai/claude-skills-library --skill memory-prunegit clone --depth 1 https://github.com/frankxai/claude-skills-library.git /tmp/claude-skills-library
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills-library/free-skills/memory-prune ~/.claude/skills/memory-prunePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Memory Prune — assisted, never autonomous 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. ## Philosophy - **Never auto-delete.** Auto-decay is silent and corrupts the wisdom layer of memory. - **Bias toward keeping `feedback`, `decision`, `reference`, `user`** — these are durable. - **Bias toward pruning `project_*`** — these are session snapshots; old ones rarely re-load. - **Always show content before deciding.** A 30-day-old project entry might be the one foundational decision you keep needing. ## How it works 1. Walks `~/.claude/projects/C--Users-frank-Arcanea/memory/` for `.md` files 2. Filters to `project_*.md` last-modified > N days ago (default 30) 3. For each candidate prints: - Filename + age in days - First 200 chars of body - Recommended action based on heuristics (see below) 4. Prompts Frank: `[k]eep | [a]rchive | [p]in | [s]kip` 5. Executes: - **archive** → move to `memory/archive/YYYY-MM/`, remove from `MEMORY.md` - **pin** → rename to `<original>_pinned.md`, ensure indexed in `MEMORY.md` - **keep** → no change (will resurface next prune) - **skip** → no change, no resurface this session ## Heuristic recommendations | Pattern | Recommendation | |---|---|
Details
- Skill name
memory-prune- Repository
- frankxai/claude-skills-library
- Path
free-skills/memory-prune/SKILL.md- License
- MIT
- Repo updated
- 18 November 2026
FAQ
What does the Memory Prune skill do?
Manual reviewable prune of stale memory entries. Lists project_* entries older than 30 days with content preview; Frank decides per-entry [keep | archive | pin]. Keeps MEMORY.md under the auto-load 200-line truncation. Use when MEMORY.md exceeds 180 lines or session-end after a heavy work week.
How do I install the Memory Prune skill?
Claude Code plugin: /plugin marketplace add frankxai/claude-skills-library. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Memory Prune popular?
It lives in frankxai/claude-skills-library, which has 48 GitHub stars and 6 forks.
Related skills
Acos Meta
48frankxai/claude-skills-library
ACOS 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 Gen
48frankxai/claude-skills-library
Generate 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 Harness Construction
48frankxai/claude-skills-library
Shape an agent's tools, observations, and recovery without adding a second coordinator. Use when defining a tool, a skill, a hook, or a worktree lane.
Multi Harness Orchestrator
48frankxai/claude-skills-library
Automatically detect tasks suited for delegation to other agent harnesses (Claude Code as canonical, agy/antigravity, gemini, cursor, etc.). Leverage shared .claude catalog (skills, commands, agents, hooks, junctions for agy). Embody Frank DNA. Output exact delegation commands (e.g. claude -p "injected rules + task" --cwd ...). Auto-utilize by shelling harness CLIs with full context from rules/catalog. Combine with repo-mastery for ecosystem tasks. Suggest/lead by choosing best harness or running in parallel. Grok .grok personal excellence seeds only (core to others).
Hooks Automation
48frankxai/claude-skills-library
Automated coordination, formatting, and learning from Claude Code operations using intelligent hooks with MCP integration. Includes pre/post task hooks, session management, Git integration, memory coordination, and neural pattern training for enhanced development workflows. Use when configuring Claude Code hooks, automating pre/post-task coordination, or wiring Git and memory hooks.
Neutron Log
48frankxai/claude-skills-library
Measure whether a token-saving tool actually saves tokens and keeps answers correct. Use before adopting or recommending RTK, headroom, caveman or any compressor, after changing a hook or instruction file, and when someone quotes a savings percentage. Runs a same-task before and after protocol and records only measured numbers.
Browse the most popular Claude skills, all productivity & notes skills, or write your own with the skills generator.