🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Memory Daily

by @toller892

Automates daily memory file management. Use when creating, reading, or appending to daily memory notes (memory/YYYY-MM-DD.md). Helps the agent maintain conti...

TERMINAL
clawhub install memory-daily

πŸ“– About This Skill


name: memory-daily description: Automates daily memory file management. Use when creating, reading, or appending to daily memory notes (memory/YYYY-MM-DD.md). Helps the agent maintain continuity across sessions without manual file editing.

memory-daily

Manages daily memory files in memory/YYYY-MM-DD.md.

Functions

ensureToday(memoryDir?)

Creates today's daily file if it doesn't exist. Returns the file path.

append(entry, memoryDir?)

Appends a timestamped entry to today's daily file. Creates the file first if needed.

read(date?, memoryDir?)

Reads a daily file. Defaults to today. Date format: YYYY-MM-DD.

recent(days?, memoryDir?)

Returns content from the last N days (default 2).

Usage

const mem = require('./skills/memory-daily');

// Ensure today's file exists await mem.ensureToday();

// Append an entry await mem.append('## Session Notes\n- Deployed new feature X');

// Read today const today = await mem.read();

// Read last 3 days const recent = await mem.recent(3);

Default memory directory

/memory/

πŸ’‘ Examples

const mem = require('./skills/memory-daily');

// Ensure today's file exists await mem.ensureToday();

// Append an entry await mem.append('## Session Notes\n- Deployed new feature X');

// Read today const today = await mem.read();

// Read last 3 days const recent = await mem.recent(3);