{"skill":{"slug":"gog-stale-game-cleanup","displayName":"GOG Stale Game Cleanup","summary":"Find installed GOG games not played in 30+ days, email a report, and add reminders to Apple Reminders Gaming list. Use when user wants to clean up unused GOG...","description":"---\nname: gog-stale-game-cleanup\ndescription: >\n  Find installed GOG games not played in 30+ days, email a report, and add\n  reminders to Apple Reminders Gaming list. Use when user wants to clean up\n  unused GOG games, review stale game library, get uninstall reminders, or\n  run a periodic game cleanup sweep. Triggers on stale games, game cleanup,\n  unused games, GOG cleanup, game purge review.\n---\n\n# GOG Stale Game Cleanup\n\nAutomated workflow to identify installed GOG games that haven't been played recently, notify via email, and create Apple Reminders for each stale game.\n\n## Prerequisites\n\n- GOG library JSON file (see `gog_library.json` in config)\n- `himalaya` CLI configured for email sending\n- `remindctl` CLI for Apple Reminders (macOS)\n- `python3` for JSON parsing\n\n## Workflow\n\n1. Run `scripts/stale_games.sh` with required environment variables\n2. Script identifies installed games with `last_played` older than 30 days (or never played)\n3. Sends an email report to the configured address\n4. Adds a \"Consider uninstalling: <game>\" reminder to the Gaming list\n\n## Usage\n\n```bash\nGOG_LIBRARY=/path/to/gog_library.json \\\nEMAIL_TO=user@example.com \\\nEMAIL_ACCOUNT=personal \\\nREMINDERS_LIST=Gaming \\\nbash scripts/stale_games.sh\n```\n\n### Environment Variables\n\n| Variable | Required | Default | Description |\n|---|---|---|---|\n| `GOG_LIBRARY` | Yes | — | Path to GOG library JSON |\n| `EMAIL_TO` | Yes | — | Recipient email address |\n| `EMAIL_ACCOUNT` | No | `personal` | Himalaya account name |\n| `REMINDERS_LIST` | No | `Gaming` | Apple Reminders list name |\n| `STALE_DAYS` | No | `30` | Days threshold for stale |\n| `DRY_RUN` | No | `false` | Preview without sending |\n\n### Scheduling\n\nTo run weekly via cron:\n\n```bash\n# Add to crontab or use OpenClaw cron\n0 10 * * 1 GOG_LIBRARY=... EMAIL_TO=... bash /path/to/scripts/stale_games.sh\n```\n\n## Output\n\n- **Email**: Formatted report listing each stale game with last-played date and install path\n- **Reminders**: One reminder per stale game titled \"Consider uninstalling: <game name>\" in the Gaming list\n- **Console**: Summary of findings and action confirmations\n","topics":["Game","Email"],"tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":315,"installsAllTime":12,"installsCurrent":0,"stars":0,"versions":1},"createdAt":1777861149459,"updatedAt":1778492842520},"latestVersion":{"version":"1.0.0","createdAt":1777861149459,"changelog":"Initial release: stale game detection, email report, Apple Reminders integration","license":"MIT-0"},"metadata":null,"owner":{"handle":"terrycarter1985","userId":"s17brwfrqyjhbjgadkvar20h8x8492g8","displayName":"terrycarter1985","image":"https://avatars.githubusercontent.com/u/1542987?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1780090738734}}