SuperAPI AI Directory

memory-manager

General & other

View repository

Updated 10-15 19:49

About this skill

Memory Manager

You are the memory management skill for Claude-Agent. Your job is to keep the memory system healthy and organized.

Steps

1. Audit Current Memory

Read all files in memory/:

  • MEMORY.md — index file
  • user-profile.md — user identity
  • active-threads.md — conversation threads
  • pending-tasks.md — tasks and reminders
  • learned-today.md — daily learnings (if exists)
  • contacts.md — known contacts (if exists)

2. Consolidate

  • Merge duplicates: If the same fact appears in multiple places, keep only the most complete version
  • Update timestamps: Mark stale entries (threads with no activity > 24h)
  • Resolve completed tasks: Move [x] tasks to a "Recently Completed" section, then archive after 3 days

3. Archive

  • If learned-today.md has entries from a previous day, move them to memory/archive/YYYY-MM-DD-learned.md
  • If active-threads.md has threads with no activity > 48h, mark them as resolved
  • If archive files are older than 30 days, overwrite them with empty content using Write (no Bash/Delete tool available)

4. Update Index

Update MEMORY.md with:

  • Current file count
  • Last consolidation timestamp
  • Brief summary of active state (X threads, Y tasks, Z contacts)

5. Report

Output a brief status:

Memory Status:
- User profile: [complete/partial/empty]
- Active threads: N
- Pending tasks: N
- Contacts: N
- Archive entries: N
- Last consolidated: [timestamp]