memory-flush

Curate auto-extracted memory candidates into canonical .claude/memory files.

5|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/friedbotstudio/baseline --skill memory-flush-friedbotstudio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-flush
Source: https://github.com/friedbotstudio/baseline/tree/main/.claude/skills/memory-flush
Command: npx skills add https://github.com/friedbotstudio/baseline --skill memory-flush-friedbotstudio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It turns auto-extracted memory candidates into clean, verified canonical notes so the agent does not accumulate noise, duplicates, or stale session artifacts.

Core Features & Use Cases

  • Canonical curation: Reviews pending candidates and promotes keepers into the appropriate memory files with stable keys.
  • Closure and decay handling: Automatically sweeps closed entries, surfaces prose-based closure signals, and manages stale or aged items with user confirmation.
  • Workflow integration: Supports both session-start cleanup and ad-hoc curation, then resets the pending queue after writing updates.
  • Use case: After a long coding session, use this Skill to merge useful discoveries, decisions, and open questions into durable project memory.

Quick Start

Ask the agent to run memory-flush for .claude/memory so it can review pending candidates, promote keepers, and clear the queue.

Frequently Asked Questions about memory-flush

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

FAQPage Schema
How do I curate auto-extracted memory candidates into canonical repository files?

To curate memory candidates, review pending entries in .claude/memory, verify provenance, replace stable keys, promote keepers into canonical files, and reset the pending queue. This prevents duplicate or stale session artifacts from accumulating.

What is the best way to clean up pending memory questions and backlog items after a coding session?

Cleaning up pending memory and backlog items requires a closure sweep to surface prose-based closure signals, manage aged entries with user confirmation, and write verified keepers into canonical memory files before resetting the queue.

When do I need to run a memory curation workflow for .claude/memory?

You need a memory curation workflow when auto-extracted candidates accumulate noise or duplicates, typically at session-start or ad-hoc intervals, to promote durable discoveries and decisions into canonical notes and clear the pending queue.

Does memory curation support both session-start cleanup and ad-hoc verification?

Yes, memory curation supports both session-start cleanup and ad-hoc workflows. It reviews pending questions, backlog items, and canonical memory entries, applying provenance verification and stable-key replacement before resetting the pending queue.

How does closure and decay handling work for stale canonical memory entries?

Closure and decay handling automatically sweeps closed entries, surfaces prose-based closure signals, and identifies stale or aged items. It manages these artifacts by requesting user confirmation before removing or updating canonical memory files.

Why are my repository memory files accumulating duplicate session artifacts?

Repository memory files accumulate duplicates and noise when auto-extracted candidates are not curated. Running a curation workflow verifies provenance, replaces stable keys, promotes valid entries into canonical files, and resets the pending queue to prevent buildup.