memory-maintain

Prune stale project memories, decay confidence, lint index integrity, and export grouped Markdown.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/ToanPV90/dotfiles --skill memory-maintain
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: memory-maintain
Source: https://github.com/ToanPV90/dotfiles/tree/main/claude/.claude/skills/memory-maintain
Command: npx skills add https://github.com/ToanPV90/dotfiles --skill memory-maintain

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you clean up an auto-memory knowledge store by detecting stale, broken, or low-confidence entries and exporting the result into your KNOWLEDGE.md.

Core Features & Use Cases

  • Prune: Finds stale project memories by age, checks files_related references for missing paths, and flags near-duplicate descriptions for review before any deletion.
  • Decay: Halves confidence for project memories unused for over 90 days, flags very low-confidence items for later pruning, and never deletes automatically.
  • Lint & Export: Performs read-only integrity checks across project memories and KNOWLEDGE.md, and can export grouped Markdown from memory files into a knowledge document.

Quick Start

Use the memory-maintain skill to prune stale memories and optionally update KNOWLEDGE.md by asking: "Run /memory-maintain lint then export my knowledge to KNOWLEDGE.md."

Frequently Asked Questions about memory-maintain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clean up stale project memories and fix broken file references in my knowledge index?▼

To prune stale project memories and fix broken file references, run a linting process that checks files_related paths for missing entries and flags near-duplicate descriptions for review before any deletion.

What is confidence decay for neglected memories and when does it apply?▼

Confidence decay is an automated mechanism that halves confidence scores for project memories unused for over 90 days, flagging very low-confidence items for later pruning without deleting them automatically.

How do I export grouped Markdown from memory files into a knowledge document?▼

You can export grouped Markdown from memory files into a knowledge document by running an export command that compiles your memory entries into a dated KNOWLEDGE.md file with accurate formatting.

Can I automatically delete low-confidence memories during the linting process?▼

No, you cannot automatically delete low-confidence memories during linting; the system ensures safety by never deleting entries without explicit user confirmation, only flagging them for your review.

Does the memory maintenance process support frontmatter-only confidence updates?▼

Yes, the memory maintenance process supports accurate frontmatter-only confidence updates, allowing you to adjust confidence scores in your memory files without modifying the main entry content.