This is background processing for Claude's memory system, meant to run on a schedule or after big context compactions. It scans recent daily notes and conversations, filters out the noise (heartbeats, weather checks, routine stuff), and writes what actually matters into MEMORY.md. The philosophy is solid: memory formation works better between sessions than during them, so let this run overnight or between work blocks. It's opinionated about structure, merging updates into existing sections rather than appending forever. If you're building a long-running agent that needs to remember decisions and lessons without turning into a bloated archive, this handles the curation work you'd otherwise do manually.

skills.sh installs
750
GitHub stars
23
last updated
Aug 21, 2026

Install

$ npx -y skills add basicmachines-co/basic-memory-skills --skill memory-reflect --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/basicmachines-co/basic-memory-skills
Categories
Git & Pull Requests, Code Review & Quality, Automation & Workflows
First seen
Jun 3, 2026

More from basicmachines-co/basic-memory-skills

All 10
1kunchenguid avatarno-mistakeskunchenguid/axiValidate your code changes through the no-mistakes pipeline - automated code review, tests, lint, docs, push, PR, and CI - before they reach upstream. Use when 750skills.sh installs
2product-on-purpose avatarfoundation-meeting-agendaproduct-on-purpose/pm-skillsProduces an attendee-facing agenda that sets what will be discussed, who owns each topic, and how time will be spent. Supports ten meeting type variants (standu749skills.sh installs
3alirezarezvani avatarmdr-745-specialistalirezarezvani/claude-skillsEU MDR 2017/745 compliance specialist for medical device classification, technical documentation, clinical evidence, and post-market surveillance. Covers Annex 745skills.sh installs
4openclaudia avatarvideo-ad-analysisopenclaudia/openclaudia-skillsDeconstruct and analyze video ad creatives for marketing insights. Use when the user says "analyze this ad", "ad creative analysis", "deconstruct this video ad"742skills.sh installs
5openai avatargpt-5-4-promptingopenai/codex-plugin-ccInternal guidance for composing Codex and GPT-5.4 prompts for coding, review, diagnosis, and research tasks inside the Codex Claude Code plugin738skills.sh installs
6aj-geddes avatarvisual-regression-testingaj-geddes/useful-ai-promptsDetect unintended visual changes in UI by comparing screenshots across versions. Use for visual regression, screenshot diff, Percy, Chromatic, UI testing, and v731skills.sh installs