Codex自动化约 2 分钟

定时清掉僵尸进程

Auto-Clean Stale Codex Processes

要点

  1. 建一个每二十分钟跑的自动化,专门收拾 Codex 留下的脏现场。
  2. 安全杀掉测试后残留的无头进程,并在安全时清一次性缓存。
  3. 顺带做低风险性能巡检;严禁打断正在干活的任务或关掉 Codex。
  4. 用廉价 Luna 跑即可,作者称机温能从烫手降到可日常使用。

原帖开头

Prompt: Create an automation that runs every 20 minutes to keep Codex running smoothly. Safely stop stale or orphaned headless processes, clear disposable caches when safe, and audit for other low-risk performance improvements. Never interrupt active work, close Codex, or delete