claude-configs/skills/cognitive-memory/systemd/README.md
Cal Corum f0f075461e Reorganize cognitive-memory skill: consolidate scripts, systemd, dev subdirs
- Move session_memory.py, ensure-symlinks.sh into skills/cognitive-memory/scripts/
- Copy systemd units into skills/cognitive-memory/systemd/ with README
- Move PROJECT_PLAN.json, migrate.py into skills/cognitive-memory/dev/
- Add mtime-based embeddings cache to client.py (6x faster semantic recall)
- Default recall to semantic+keyword merge (was keyword-only)
- Update settings.json SessionEnd hook path, MCP allow entry
- Update SKILL.md, feature.json, mcp_server.py docs for new defaults

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

1.1 KiB

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

# 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

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