← 返回
未分类 中文

GOG Stale Games Cleaner

Scan your GOG library for installed games not played in 30+ days, email the list, and add reminders to consider uninstalling. One-command cleanup workflow.
扫描你的GOG库,列出30天以上未运行的游戏,发送邮件并提醒考虑卸载,一键清理工作流。
terrycarter1985
未分类 clawhub v1.0.0 1 版本 99586.8 Key: 无需
★ 0
Stars
📥 241
下载
💾 0
安装
1
版本
#latest

概述

GOG Stale Games Cleaner

Find installed GOG games you haven't played in 30+ days, email yourself a report, and create Apple Reminders so you can decide whether to uninstall.

When to Use

  • User wants to clean up their GOG library
  • User asks about stale / unused / forgotten installed games
  • User wants a periodic cleanup reminder workflow
  • Phrases like "stale games", "game cleanup", "haven't played in a while"

When NOT to Use

  • Browsing or searching the GOG catalog → use the gog skill
  • Managing game installs/uninstalls directly → GOG Galaxy client only
  • Scheduling the scan itself → use cron after the skill runs once

Prerequisites

  1. GOG library data — a JSON file at config/gog_library.json in the workspace (exported from GOG Galaxy or manually maintained). Must contain games[] with installed (bool) and last_played (ISO-8601 or null).
  2. Himalaya — CLI email client configured with a personal account (himalaya --version).
  3. remindctl — Apple Reminders CLI (remindctl status). macOS only.
  4. Gaming list — an Apple Reminders list named Gaming (created automatically if missing).

Configuration

All paths are relative to the OpenClaw workspace root unless absolute.

VariableDefaultDescription
---------
GOG_LIBRARY_PATHconfig/gog_library.jsonPath to GOG library JSON
STALE_DAYS30Days since last play to count as stale
REMINDERS_LISTGamingApple Reminders list name
EMAIL_ACCOUNTpersonalHimalaya account to send from
EMAIL_TO(from account)Recipient email; defaults to account address

Script

The main script is scripts/gog-stale-scan.sh. Run it directly or let the agent invoke it.

# Dry run (print only, no email/reminders)
bash scripts/gog-stale-scan.sh --dry-run

# Full run
bash scripts/gog-stale-scan.sh

# Custom stale threshold
STALE_DAYS=60 bash scripts/gog-stale-scan.sh

What It Does

  1. Reads config/gog_library.json
  2. Filters for installed: true games whose last_played is >30 days ago (or null)
  3. Prints a formatted table to stdout
  4. Sends an HTML email via himalaya to your personal account
  5. Adds one Apple Reminders entry per stale game to the Gaming list with a note: "Consider uninstalling — last played YYYY-MM-DD"

Cron Scheduling (Optional)

After a successful run, schedule it monthly:

0 10 1 * *  # 10 AM on the 1st of each month

Use the cron tool with an agentTurn payload that invokes this skill.

Output Example

🧹 Stale GOG Games (not played in 30+ days)
─────────────────────────────────────────────
  Stardew Valley          last played 2026-03-28
  Baldur's Gate 3         last played 2026-04-01
─────────────────────────────────────────────
2 stale games found. Email sent. 2 reminders added to Gaming.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-21 14:47 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Stock Price Alert

terrycarter1985
股价异动实时提醒,支持行情接口、邮件和Sonos语音播报
★ 0 📥 689

Python Support

terrycarter1985
OpenClaw代理的Python语言支持,提供环境配置、依赖管理、代码检查、测试及Python代码执行最佳实践。
★ 0 📥 667

Code Formatter

terrycarter1985
代码格式化最佳实践及常用语言(Python、JavaScript、JSON、Markdown 等)的快速参考,使用 Prettier、Black、ESLint 等工具。
★ 0 📥 667