claude-configs/skills/cognitive-memory/systemd
Cal Corum 25792a74f4 Gitignore backups/, add memory git sync, update daily service
- .gitignore: Add backups/ to stop noisy session backup rotation diffs
- Remove tracked backup files from index
- skills/cognitive-memory/mcp_server.py: Auto-push to Gitea on memory_store and memory_relate
- skills/cognitive-memory/scripts/memory-git-sync.sh: New git commit+push script
- skills/cognitive-memory/systemd/cognitive-memory-daily.service: Add git sync as fallback

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 23:37:49 -06:00
..
cognitive-memory-daily.service Gitignore backups/, add memory git sync, update daily service 2026-02-19 23:37:49 -06:00
cognitive-memory-daily.timer Reorganize cognitive-memory skill: consolidate scripts, systemd, dev subdirs 2026-02-19 16:02:20 -06:00
cognitive-memory-embed.service Reorganize cognitive-memory skill: consolidate scripts, systemd, dev subdirs 2026-02-19 16:02:20 -06:00
cognitive-memory-embed.timer Reorganize cognitive-memory skill: consolidate scripts, systemd, dev subdirs 2026-02-19 16:02:20 -06:00
cognitive-memory-weekly.service Reorganize cognitive-memory skill: consolidate scripts, systemd, dev subdirs 2026-02-19 16:02:20 -06:00
cognitive-memory-weekly.timer Reorganize cognitive-memory skill: consolidate scripts, systemd, dev subdirs 2026-02-19 16:02:20 -06:00
README.md Reorganize cognitive-memory skill: consolidate scripts, systemd, dev subdirs 2026-02-19 16:02:20 -06:00

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