Automated stale-game cleanup sweep: finds installed GOG games you haven't played in 30+ days, emails you a digest, and creates Apple Reminders so you can decide whether to uninstall.
config/gog_library.jsonlast_played is 30+ days ago (or never played)himalayaremindctlToolPurposeInstalljqJSON parsingbrew install jq``himalayaSend emailbrew install himalaya``remindctlApple Remindersbrew install steipete/tap/remindctl
personal account (see config/himalaya.toml)bash
bash scripts/gog-cleanup.sh
bash
SKIP_REMINDERS=1 bash scripts/gog-cleanup.sh
bash
SKIP_EMAIL=1 bash scripts/gog-cleanup.sh
bash
STALE_DAYS=60 bash scripts/gog-cleanup.sh
bash
EMAIL_TO="other@example.com" bash scripts/gog-cleanup.sh
The script reads from workspace config/:
FilePurposeconfig/gog_library.jsonGOG game library with install status & last_played timestampsconfig/himalaya.tomlHimalaya email account config (uses personal account)config/reminders_lists.jsonReminders list structure (Gaming list)
To run weekly via cron:
bash
# Add to crontab for Monday 9 AM
0 9 * * 1 /path/to/scripts/gog-cleanup.sh >> /tmp/gog-cleanup.log 2>&1
Or use OpenClaw's cron tool for agent-managed scheduling.
last_played: null (never played) are always included