Save this video free

Making OpenClaw Actually Remember Things

Ray Fernando · Watch on YouTube

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Ray Fernando shows how to improve OpenClaw’s long-term recall by enabling its local QMD search backend, which combines keyword and vector retrieval with reranking to find relevant information across Markdown files and imported chat archives. He pairs searchable memory with a three-tier organization system and a nightly dream-cycle optimizer, reporting that AGENTS.md shrank from 7,869 to 1,354 characters while preserving details for on-demand retrieval.

Key takeaways

Chapters

0:00 Why OpenClaw’s Long-Term Memory Failed After Context Compaction
3:58 How OpenClaw Loads Workspace Files and Flushes Memories
6:53 QMD Combines Keyword and Vector Search for Markdown Memories
9:19 Update OpenClaw and Enable the Experimental QMD Backend
12:40 Audit and Shrink AGENTS.md Without Losing Searchable Details
16:45 Build a Nightly Dream Cycle and Morning Brief
22:16 Use Silent Cron Jobs and Safe Memory-Editing Rules
25:32 Apply Progressive Disclosure with a Three-Tier Memory System
32:00 Validate QMD Setup and Reduce Web-Search Prompt-Injection Risk
38:05 Use a Rhetorical Analyzer Skill to Check News Claims
48:35 Share Skills and Build OpenClaw Setups from Official Documentation
54:10 Serve Local Models and Weigh Open-Source AI Tradeoffs
1:00:45 Plan Notion, iOS, and HomePod Integrations for OpenClaw

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:00 Aloha and welcome. Today we're going to fix long-term memory. So I actually have OpenClaw installed on this Mac Mini right here. And so this thing is actually running my whole entire life. And I noticed when I was chatting yesterday that my memory stuff wasn't really working. After things compacted, it says like, hey, I didn't really know what was going on. And so what I found out was that there's this thing called QMD. And this is a new thing that came as part of the update that we're going to go ahead and talk about. We're also going to talk about here about OpenClaw. Basically, OpenClaw has now become in the hands of OpenAI, which is pretty amazing. So Pete Steinberger is now joining the OpenAI team, and he's going to be basically helping them. Like, I think they've set up a whole new foundation and everything like that, and a lot of people are really concerned that this may

0:46 actually tank the project or something like that, and it's actually not. I'm also the belief of Alex Finn where he's also saying that it's very bullish and we're going to talk a little bit more about that. So we're also going to talk a little bit about the memory optimizer skills. So I made a skill around this whole thing and it's a little script that's going to check to make sure that your memory is pretty much compact. Because what most people don't realize is that certain files inside of your memory can get really bloated. So that every time you start to actually prompt your OpenClaw agent, it'll start to like maybe use 2,000 tokens right now. A week from now, it could be 6,000 tokens, it could be 20,000 tokens, because sometimes you'll say, hey, can you

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Ray Fernando.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.