memory-maintain

Consolidate, deduplicate, and prune tasks/memory.md and tasks/lessons.md.

1|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/Joaovsales/coding-agent-workflow --skill memory-maintain-joaovsales
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: memory-maintain
Source: https://github.com/Joaovsales/coding-agent-workflow/tree/main/.agents/skills/memory-maintain
Command: npx skills add https://github.com/Joaovsales/coding-agent-workflow --skill memory-maintain-joaovsales

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Consolidates, deduplicates, and organizes tasks/memory.md and tasks/lessons.md to maintain a healthy, searchable project memory.

Core Features & Use Cases

  • Deduplicate and merge similar memory entries to reduce noise.
  • Prune stale or unused memory; archive outdated patterns and lessons.
  • Promote durable lessons into the memory corpus for long-term benefits.
  • Operates automatically at session start and wrap-up with a controlled cadence.

Quick Start

Run memory-maintain at session wrap-up to prune stale entries and consolidate durable lessons.

Frequently Asked Questions about memory-maintain

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

FAQPage Schema
How do I deduplicate and prune stale project memory entries?▼

To deduplicate and prune project memory, consolidate similar entries in tasks/memory.md and remove stale items using defined thresholds to reduce noise and maintain a searchable memory corpus.

What is the best way to promote durable lessons into long-term project memory?▼

Promoting durable lessons involves extracting validated patterns from tasks/lessons.md and consolidating them into the main memory corpus on a controlled 5-session cadence for long-term benefits.

When should I run memory consolidation and pruning for my session?▼

Memory consolidation and pruning should run automatically at every session start and wrap-up to organize tasks/memory.md and tasks/lessons.md with token-budget-conscious management.

Does automated memory maintenance work without external dependencies?▼

Automated memory maintenance works without external dependencies, relying solely on internal logic to merge entries, prune stale data, and organize tasks/lessons.md files within your project.

How does token-budget-conscious memory organization keep memory healthy?▼

Token-budget-conscious memory organization keeps memory healthy by merging redundant entries and archiving outdated patterns, ensuring the consolidated memory files remain within efficient processing limits.