cognitive-memory/systemd/README.md
Cal Corum 48df2a89ce Initial commit: extract cognitive-memory app from skill directory
Moved application code from ~/.claude/skills/cognitive-memory/ to its own
project directory. The skill layer (SKILL.md, SCHEMA.md) remains in the
skill directory for Claude Code to read.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 16:02:28 -06:00

35 lines
1.1 KiB
Markdown

# Cognitive Memory Systemd Timers
Reference copies of the systemd user units that automate memory maintenance.
## Services
| Unit | Schedule | What it does |
|------|----------|-------------|
| `cognitive-memory-daily` | daily | Decay scores, regenerate CORE.md, refresh MEMORY.md symlinks |
| `cognitive-memory-embed` | hourly | Refresh embeddings (skips if unchanged) |
| `cognitive-memory-weekly` | weekly | Run reflection cycle |
## Install / Update
```bash
# Copy units into place
cp ~/.claude/skills/cognitive-memory/systemd/*.service \
~/.claude/skills/cognitive-memory/systemd/*.timer \
~/.config/systemd/user/
# Reload and enable
systemctl --user daemon-reload
systemctl --user enable --now cognitive-memory-daily.timer
systemctl --user enable --now cognitive-memory-embed.timer
systemctl --user enable --now cognitive-memory-weekly.timer
```
## Verify
```bash
systemctl --user list-timers 'cognitive-memory-*'
systemctl --user start cognitive-memory-daily.service # manual test run
journalctl --user -u cognitive-memory-daily.service --since today
```