memory-hygiene

Scan memory markdown files and re-verify stale external references.

7|Updated May 26, 2026
One-click install
npx skills add https://github.com/chrono-meta/forge-harness --skill memory-hygiene-chrono-meta
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-hygiene
Source: https://github.com/chrono-meta/forge-harness/tree/main/plugins/fh-meta/skills/memory-hygiene
Command: npx skills add https://github.com/chrono-meta/forge-harness --skill memory-hygiene-chrono-meta

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the "stale-but-confident" failure mode in AI memory systems, where verified information silently drifts over time but remains highly trusted during retrieval, leading to incorrect or outdated outputs from AI agents. This issue is especially prevalent in online-first harnesses that rely on frequently updated live external resources like GitHub repositories, arXiv records, and DOIs.

Core Features & Use Cases

  • Automated Staleness Scanning: Classifies memory entries by type (project, reference, feedback, user) and applies type-specific staleness thresholds to flag outdated content without manual review.
  • Live Re-verification: Automatically checks stale external references via GitHub CLI or web fetch to confirm if content has drifted, updating verification timestamps for valid entries.
  • Safe Archival Proposals: Flags unused, superseded memory entries for archival with mandatory pre-archive snapshots to prevent accidental data loss, requiring human confirmation for all destructive actions.
  • Use Case: For a team using Claude Code across multiple software projects, this skill runs automatically during harvest loops to catch outdated GitHub repository statuses or obsolete operating rules before they cause incorrect work or wasted effort.

Quick Start

Invoke the memory-hygiene skill to scan all your project memory entries for staleness and receive a list of proposed updates, re-verifications, or archival candidates.

Frequently Asked Questions about memory-hygiene

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

FAQPage Schema
How do I detect stale AI memory in Claude Code projects?

To detect stale AI memory in Claude Code projects, scan memory markdown files to classify entries by type-specific staleness thresholds. This automated memory hygiene process flags outdated content that has drifted from its originally verified state but remains trusted in retrieval systems.

What is a stale-but-confident memory failure in AI agents?

A stale-but-confident memory failure occurs when verified information in AI memory systems silently drifts over time but remains highly trusted during retrieval. This issue leads to incorrect or outdated outputs from AI agents, especially in online-first harnesses relying on frequently updated live external resources.

How do I re-verify external references like GitHub repositories and arXiv records in AI memory?

To re-verify external references like GitHub repositories and arXiv records in AI memory, perform live checks via GitHub CLI or web fetch. This automated memory re-verification confirms if referenced content has drifted and updates verification timestamps for valid entries.

Can I safely archive outdated memory entries without losing data?

You can safely archive outdated memory entries by flagging unused or superseded content for archival with mandatory pre-archive snapshots. This memory hygiene process prevents accidental data loss by requiring human confirmation for all destructive archival actions.

Does memory hygiene scanning work across multiple local and hub project roots?

Memory hygiene scanning works across multiple local and hub project roots by scanning memory markdown files in all configured directories. It applies type-specific staleness thresholds to classify project, reference, feedback, and user memory entries automatically.

When should I run automated memory maintenance in online-first AI harnesses?

You should run automated memory maintenance in online-first AI harnesses during harvest loops to catch outdated GitHub repository statuses or obsolete operating rules. This prevents outdated information from corrupting agent work outputs before they cause incorrect work or wasted effort.