You've probably seen Anthropic's "dreaming" feature - the scheduled process that reviews an agent's past sessions, pulls recurring patterns out of them, and curates a memory layer that future sessions read instead of the raw logs. As Anthropic describes it, it's a framework more than a single endpoint: you design the consolidation around your own setup. So I did, for my agency running on Claude Code. The kit is a concrete, folder-based implementation of that same loop: a weekly pass reviews your past sessions, extracts the durable learnings, and curates them into a memory layer each new session loads. By my own cost math - standing this up the way the dreaming write-ups describe versus what the kit actually costs to run - it comes out roughly 97% cheaper. The dreaming input, as described, is the session record: inputs, outputs, tool calls, reasoning, outcomes - the whole log. The kit throws almost all of that away before it spends a token. It strips every tool call and tool result (the scraped pages, the file dumps, the command output, the bulk of any Claude Code session) and sends only the user/assistant text turns to consolidate. If I were to run this as Anthropic designed it, it would cost me roughly $150-250 per month, but with this filtering it only costs me $5 (in API costs). What it does that the managed feature doesn't: - No managed memory service in the middle. To be precise: inference still goes to the Anthropic API on your own key, same as any Claude Code call. It's fully local, but the memory itself is plain markdown in folders you own and git-version, not a black box you query through someone else's service. The only thing that leaves your machine is that filtered slice you'd already be sending to the model anyway. - Shared learning without the leak. During your actual work the load is per-client and deterministic, so client A's data can't surface while you're on client B. The one place the kit reads across clients is a deliberate weekly pass that abstracts recurring findings into a cross-client patterns file - and it's built to write agency-level rules, not specifics. You get the pattern, not the bleed. Anything ambiguous is quarantined for you to file, never guessed.