GOG Stale Games Cleanup — GOG 过期游戏清理
v1.0.0扫描您的 GOG 库中已安装但 30+ 天未玩的游戏,发送包含这些游戏的列表至电子邮件,并为每个游戏添加 Apple Reminders。单一命令的游戏清理工作流。
运行时依赖
安装命令
点击复制本土化适配说明
GOG Stale Games Cleanup — GOG 过期游戏清理 安装说明: 安装命令:["openclaw skills install gog-stale-games-cleanup"]
技能文档
GOG 过期游戏清理 找到您 30+ 天未玩的已安装 GOG 游戏,发送电子邮件摘要,并创建 Apple Reminders,以便您决定是否卸载。 何时使用 用户说“清理我的 GOG 库”、“过期游戏”、“我未玩的游戏”、“卸载提醒” 运行定期游戏库审计 由 cron 触发的每月清理提醒 快速开始 bash scripts/sweep.sh \ --library /path/to/gog_library.json \ --days 30 \ --email personal \ --reminders-list Gaming 参数 标志 默认值 描述 --library config/gog_library.json GOG 库 JSON 文件路径 --days 30 过期阈值(天) --email personal 发送电子邮件的 Himalaya 账户名称 --reminders-list Gaming Apple Reminders 列表名称 --dry-run 关闭 打印操作而不发送电子邮件或创建提醒 它的作用 读取您的 GOG 库 JSON 过滤已安装:true 且 last_played older than 阈值(或 null)的游戏 通过 himalaya 发送 HTML 电子邮件,包含过期游戏列表 将每个过期游戏添加到指定列表的 Apple Reminder 输出示例 GOG 过期游戏清理 — 2026-05-12 找到 2 个过期游戏(>30 天未玩): • Stardew Valley — 最后玩于 2026-03-28 • Cyberpunk 2077 — 从未玩过 发送电子邮件到 john.doe@example.com 添加 2 个提醒到“Gaming”列表 配置 GOG 库 JSON 参见 references/gog_library_schema.json 以获取预期格式。 每个游戏需要: name(字符串) installed(布尔值) last_played(ISO 8601 日期时间或 null) Himalaya 参见 references/himalaya.toml.example。 脚本使用 himalaya 模板发送到指定的 --email 账户。 Apple Reminders 如果列表不存在,则创建指定的 --reminders-list 列表(remindctl list --create)。 Cron 集成 每月运行: # 通过 OpenClaw cron 添加 — 每月 1 日 10:00 openclaw cron add --name "gog-stale-sweep" \ --schedule "0 10 1 " \ --command "bash /path/to/scripts/sweep.sh --library /path/to/gog_library.json" 或者使用 agent 的 cron 工具与 systemEvent payload 触发此技能。