memento-defrag

Move low-certainty, unaccessed notes from the vault into archive/.

Updated Oct 1, 2024
One-click install
npx skills add https://github.com/einargudnig/dotfiles --skill memento-defrag
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memento-defrag
Source: https://github.com/einargudnig/dotfiles/tree/main/claude/skills/memento-defrag
Command: npx skills add https://github.com/einargudnig/dotfiles --skill memento-defrag

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Archive stale memento notes. Moves low-certainty, unaccessed notes to archive/. No merging, no deletion. Run periodically to keep the vault tight.

Core Features & Use Cases

  • Archive candidates are identified based on certainty, age, supersedes, and validity-context.
  • Preserve history by never deleting notes; archived notes reside in archive/ and remain accessible in git history and grep.
  • Update wikilinks and project indexes to reflect archived content while keeping active references intact.

Quick Start

Run the defrag routine to move qualifying notes to archive/ without deleting or merging.

Frequently Asked Questions about memento-defrag

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

FAQPage Schema
How do I archive stale notes in my vault without deleting them?

Vault maintenance is automated by moving low-certainty, unaccessed notes into an archive directory. It identifies candidates based on certainty, age, supersedes, and validity-context, updating wikilinks and project indexes to keep active references intact.

What criteria identify notes as stale for vault cleanup?

Candidates are identified based on certainty, age, supersedes, and validity-context criteria. The routine evaluates notes with fields like certainty, date, type, and supersedes to determine which unaccessed items qualify for archival.

Does archiving old notes break wikilinks in my active vault?

No, archiving does not break active references. The routine updates wikilinks and project indexes to reflect archived content while keeping active references intact, ensuring vault maintenance preserves link integrity.

When should I run a vault defrag for project transitions?

Run a vault defrag during project transitions where notes age or become superseded, or for periodic cleanups. It moves low-certainty, unaccessed items to an archive folder to keep your vault tight without deleting or merging historical content.

Does this archival routine merge or delete superseded notes?

No, the routine does not merge or delete superseded notes. It strictly moves low-certainty, unaccessed items to an archive folder, ensuring historical content remains fully accessible in git history and grep.