Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
basicmachines-co avatar

Memory Reflect

  • 315 installs
  • 3.6k repo stars
  • Updated August 5, 2026
  • basicmachines-co/basic-memory

Memory Reflect is a Claude skill that reviews recent Basic Memory activity and consolidates valuable insights into a curated long-term MEMORY.md file.

About

Memory Reflect is a background routine that reviews recent Basic Memory activity and consolidates valuable insights into long-term memory. A developer schedules it on a cron or heartbeat so an agent distills decisions, lessons, and preferences from daily notes into a curated MEMORY.md. It uses recent_activity, read_note, and search_notes, then logs a short reflection entry.

  • Reviews recent notes and consolidates insights into long-term MEMORY.md
  • Runs on cron/heartbeat or on demand, inspired by sleep-time compute
  • Distills decisions, lessons, and preferences while skipping transient noise

Memory Reflect by the numbers

  • 315 all-time installs (skills.sh)
  • Ranked #2,245 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

memory-reflect capabilities & compatibility

Capabilities
memory consolidation · knowledge graph · note search
Use cases
memory · orchestration
From the docs

What memory-reflect says it does

Review recent activity and consolidate valuable insights into long-term memory.
SKILL.md
Inspired by sleep-time compute — the idea that memory formation happens best *between* active sessions, not during them.
SKILL.md
npx skills add https://github.com/basicmachines-co/basic-memory --skill memory-reflect

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs315
repo stars3.6k
Last updatedAugust 5, 2026
Repositorybasicmachines-co/basic-memory

What it does

Periodically consolidate an agent's recent notes into curated long-term memory during idle time.

Who is it for?

Scheduled, between-session consolidation of an agent's memory so recurring decisions and lessons persist.

Skip if: Capturing a single fact in the moment, which the remember skill covers.

When should I use this skill?

A cron, heartbeat, or post-compaction event fires, or the user asks to reflect on recent memory.

What you get

A curated MEMORY.md updated with consolidated decisions, lessons, and preferences, plus a logged reflection entry.

  • Updated MEMORY.md
  • Reflection log entry in the daily note

Files

SKILL.mdMarkdownGitHub ↗

Memory Reflect

Review recent activity and consolidate valuable insights into long-term memory.

Inspired by sleep-time compute — the idea that memory formation happens best between active sessions, not during them.

When to Run

  • Cron/heartbeat: Schedule as a periodic background task (recommended: 1-2x daily)
  • On demand: User asks to reflect, consolidate, or review recent memory
  • Post-compaction: After context window compaction events

Process

1. Gather Recent Material

Find what changed recently, then read the relevant files:

# Find recently modified notes — use json format for the complete list
# (text format truncates to ~5 items in the summary)
recent_activity(timeframe="2d", output_format="json")

# Read specific daily notes
read_note(identifier="memory/2026-02-27")
read_note(identifier="memory/2026-02-26")

# Check active tasks
search_notes(note_types=["task"], status="active")

2. Evaluate What Matters

For each piece of information, ask:

  • Is this a decision that affects future work? → Keep
  • Is this a lesson learned or mistake to avoid? → Keep
  • Is this a preference or working style insight? → Keep
  • Is this a relationship detail (who does what, contact info)? → Keep
  • Is this transient (weather checked, heartbeat ran, routine task)? → Skip
  • Is this already captured in MEMORY.md or another long-term file? → Skip

3. Update Long-Term Memory

Write consolidated insights to MEMORY.md following its existing structure:

  • Add new sections or update existing ones
  • Use concise, factual language
  • Include dates for temporal context
  • Remove or update outdated entries that the new information supersedes

4. Log the Reflection

Append a brief entry to today's daily note:

## Reflection (HH:MM)
- Reviewed: [list of files reviewed]
- Added to MEMORY.md: [brief summary of what was consolidated]
- Removed/updated: [anything cleaned up]

Guidelines

  • Be selective. The goal is distillation, not duplication. MEMORY.md should be curated wisdom, not a copy of daily notes.
  • Preserve voice. If the agent has a personality/soul file, reflections should match that voice.
  • Don't delete daily notes. They're the raw record. Reflection extracts from them; it doesn't replace them.
  • Merge, don't append. If MEMORY.md already has a section about a topic, update it in place rather than adding a duplicate entry.
  • Flag uncertainty. If something seems important but you're not sure, add it with a note like "(needs confirmation)" rather than skipping it entirely.
  • Restructure over time. If MEMORY.md is a chronological dump, restructure it into topical sections during reflection. Curated knowledge > raw logs.
  • Check for filesystem issues. Look for recursive nesting (memory/memory/memory/...), orphaned files, or bloat while gathering material.

Related skills

FAQ

How often should reflection run?

The skill recommends scheduling it as a periodic background task 1 to 2 times daily, and also running it on demand or after context compaction.

What gets kept versus skipped?

Keep decisions, lessons, preferences, and relationships; skip transient items and anything already captured in MEMORY.md.

AI & Agent Buildingagentsautomationresearch

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.