正在打开每日关注
正在打开每日关注
分享 Codex 五小时额度临近重置时,利用目标、自动化与子代理维持 Agent 持续工作的经验。
protip for using Codex if your 5 hour limit will soon expire: - set a /goal, the agents can continue past the limit - tell the model to use an automation to wake themselves up again after the limits reset (they can use codexbar for this) - do NOT steer the agent or edit the goal once limits have expired, this pauses them and you are toast until the limits reset - tell them to use subagents instead of child threads - pray that tibo smiles on you and resets the limits anyway
是什么
这是一条面向 Codex 使用者的额度临界期经验帖。Josh(@jjpcodes)建议五小时限额即将耗尽时先设定 /goal,让 Agent 保持任务方向;再安排自动化在额度重置后唤醒自己,并以 codexbar 为实现线索。他提醒,限额耗尽后不要继续引导 Agent 或修改目标,否则可能暂停任务;复杂工作应优先使用 subagents,而非 child threads。结尾用“祈祷 Tibo 重置额度”调侃不确定性。
核心机制 它把长任务组织成“目标设定—额度等待—自动恢复—子代理委派”的链路。核心价值是减少人类守在终端前手动续接的依赖,让代理生命周期与配额窗口协同。但推文没有证明这些行为在所有 Codex 版本、账户策略和运行环境中都一致。
关键洞察 Agent 工程的瓶颈往往是生命周期管理,而不只是生成质量:目标要可恢复,等待要可编排,人工干预要有边界,子任务要能隔离并行。长期编码、夜间执行或批量重构时,检查点、停止条件、失败通知和恢复动作通常比一次性提示词更重要。
边界与风险 自动化可能受权限、设备休眠、登录状态或额度规则变化影响;无人值守运行也可能重复执行、扩大成本或延续错误。采用前应验证当前官方行为,保留日志与人工接管入口,并把“不要修改目标”视为特定状态下的经验提醒,而非普遍禁令。