@andkulikov

Memory Daymaker

OpenClaw plugin for daily memory generation from session transcripts.

Current version
v0.1.0
code-pluginCommunitysource-linked

memory-daymaker

Memory Daymaker is an OpenClaw plugin that rebuilds daily memory files from the conversations OpenClaw actually had.

OpenClaw's built-in memory depends on the agent remembering to write important facts down during normal conversation. On busy days, that is easy to miss. Memory Daymaker treats session transcripts as the source of truth: after a day ends, it summarizes the previous day's conversations, merges the result with any existing memory file, and writes a more complete daily memory record.

Who It Is For

Use this plugin if you want:

  • daily memory files that are generated consistently, even when the agent forgot to write notes during the day
  • a scheduled end-of-day cleanup pass over OpenClaw session history
  • a manual command to rebuild or inspect memory coverage for a specific date
  • backups before existing daily memory files are overwritten

This plugin is a maintenance tool for OpenClaw's file-based memory. It is not a replacement memory backend.

Requirements

  • OpenClaw 2026.4.22 or newer
  • Node.js 20 or newer in the OpenClaw runtime
  • an OpenClaw model configuration capable of running summarization turns

Install

From GitHub after this repository is public:

openclaw plugins install git:github.com/andkulikov/openclaw-memory-daymaker@v0.1.0
openclaw plugins enable memory-daymaker
openclaw gateway restart

From a local checkout:

openclaw plugins install ./memory-daymaker
openclaw plugins enable memory-daymaker
openclaw gateway restart

From npm after the package is published:

openclaw plugins install npm:openclaw-memory-daymaker
openclaw plugins enable memory-daymaker
openclaw gateway restart

Then check that OpenClaw can see it:

openclaw plugins inspect memory-daymaker --runtime

Quick Start

Run a coverage report before generating memory:

openclaw daymaker coverage --date 2026-04-29

Generate memory for one day:

openclaw daymaker run --date 2026-04-29 --verbose

Generate memory for yesterday in the resolved timezone:

openclaw daymaker run --verbose

Schedule

When enabled in the OpenClaw Gateway, Memory Daymaker manages one daily cron job.

Defaults:

  • time: 00:05
  • date processed: previous local day
  • timezone: resolved from the OpenClaw/runtime environment
  • delivery: quiet on success
  • failures: routed through OpenClaw cron failure alerts

The scheduled job survives Gateway restarts. If you disable the plugin schedule, the managed cron job is removed. If the whole plugin is disabled, the managed job is designed to disable itself on its next wake instead of continuing to fail.

Configuration

All fields are optional.

{
  "plugins": {
    "entries": {
      "memory-daymaker": {
        "enabled": true,
        "config": {
          "model": "mini",
          "schedule": {
            "enabled": true,
            "time": "00:05"
          }
        }
      }
    }
  }
}

Common options:

  • model: OpenClaw model alias or provider/model for summarization. If omitted, OpenClaw's normal model defaults are used.
  • schedule.enabled: set to false to remove the managed daily cron job while keeping the plugin installed.
  • schedule.time: local HH:MM time for the daily run.
  • timezone: optional IANA timezone. Defaults to the runtime timezone.
  • memoryDir: optional memory output directory. Defaults to the current OpenClaw workspace memory directory.
  • sessionsDir: optional session transcript directory. Defaults to the current OpenClaw agent sessions directory.
  • backupDir: optional backup directory. Defaults to backups/memory-daymaker under the workspace. Set to "" to disable backups.
  • schedule.failureAlert: optional OpenClaw cron failure-alert override. Leave unset to use OpenClaw defaults.

If your OpenClaw config uses an explicit tools.allow list on OpenClaw 2026.4.22 or 2026.4.23, include cron plus either memory-daymaker or memory-daymaker-run.

What Gets Written

Memory Daymaker writes normal daily memory sections:

## Topic title
- Fact, decision, follow-up, or useful detail.

It does not write a wrapper heading or generated footer. Existing memory for the day is included in the final merge pass so older notes are not discarded just because they were missing from transcripts.

Safety

  • Existing daily memory files are backed up before overwrite unless backups are disabled.
  • Writes are atomic and protected by a per-date lock.
  • Missing session directories are treated as an empty day, not a crash.
  • Heartbeats, startup chatter, cron wrapper text, duplicate session fragments, and large embedded attachments are filtered or compacted before summarization.
  • The plugin does not shell out to Python or local scripts.

Development

npm run smoke
npm run release:check

License

MIT

Source and release

Source repository

andkulikov/openclaw-memory-daymaker

Open repo

Source commit

d18e58286821d535f8107c204b5505ee4211a3f5

View commit

Install command

openclaw plugins install clawhub:openclaw-memory-daymaker

Metadata

  • Package: openclaw-memory-daymaker
  • Created: 2026/05/01
  • Updated: 2026/05/01
  • Executes code: Yes
  • Source tag: v0.1.0

Compatibility

  • Built with OpenClaw: 2026.4.23
  • Plugin API range: >=2026.4.22
  • Tags: latest
  • Files: 12