核动力牛马!基于openai官方博客“Long horizon tasks with Codex”,我研究出了一个让codex运行24小时的skills(内附long task巨型屎山拆分成果展示)

2026-04-13 13:041阅读0评论SEO教程
  • 内容介绍
  • 文章标签
  • 相关推荐
问题描述:

openai的官方博客如下,他们里面使用的模型是gpt-5.3-codex-xhigh,但据我所知现在的gpt-5.3-codex模型基本都有可能降智,为了你的代码质量,请用回gpt-5.2-xhigh,以下链接: Long horizon tasks with Codex

本skills主要是基于我之前的todo list csv的skills的升级版,我来解释一下这个skills的设计思路

1.全场景覆盖,lite模式和full模式兼有,避免因为小任务使用大力气浪费时间。

2.可追踪,codex会把工作记录回写到特定文件夹里面,可以查看其具体工作进度

3.可恢复,可以依据csv进行恢复,当你对话太长压缩无力的时候,直接发送旧csv即可让他接续任务

4.干净、无污染,专门存放到一个文件夹里面进行工作记录,不担心ai到处拉屎。

5.上下文保护,每一步重要工作都进行记录,总规范时刻约束,避免上下文压缩之后遗忘目标。

6.失败即停止,超过一定次数ai无法解决,就自动停下来询问你意见,避免token空转。

skills链接如下,感兴趣的可以点一下stars:

github.com

aicoding-cookbook/skills/codex/taskmaster at main · lili-luo/aicoding-cookbook

Contribute to lili-luo/aicoding-cookbook development by creating an account on GitHub.

本skills需要配合我的agent.md全局规则一起使用才有效(因为可以避免模拟兜底):

github.com/lili-luo/aicoding-cookbook

skills/codex/AGENTS.md

main

# Global Agent Rules ## Language Default to Chinese in user-facing replies unless the user explicitly requests another language. ## Response Style Do not propose follow-up tasks or enhancement at the end of your final answer. ## Debug-First Policy (No Silent Fallbacks) - Do **not** introduce new boundary rules / guardrails / blockers / caps (e.g. max-turns), fallback behaviors, or silent degradation **just to make it run**. - Do **not** add mock/simulation fake success paths (e.g. returning `(mock) ok`, templated outputs that bypass real execution, or swallowing errors). - Do **not** write defensive or fallback code; it does not solve the root problem and only increases debugging cost. - Prefer **full exposure**: let failures surface clearly (explicit errors, exceptions, logs, failing tests) so bugs are visible and can be fixed at the root cause. - If a boundary rule or fallback is truly necessary (security/safety/privacy, or the user explicitly requests it), it must be: - explicit (never silent), - documented, - easy to disable, 此文件已被截断。 显示原始文件

需要在agent.md后面加上一个skills路由表提醒他记得使用这个:

image2314×362 31.7 KB

然后使用这个skills,我让codex拆分了我的一个vibing coding的屎山项目,大概从傍晚干到了第二天的深夜,拆分成果也十分喜人,能正常跑起来,和旧代码功能上没有区别,无bug。

image1992×834 53.3 KB

image1980×1146 212 KB

网友解答:
--【壹】--:

这就新大门打开了


--【贰】--:

一直使用佬的 todo list csv,现在又升级了 马上用上


--【叁】--:

前排学习,感谢佬分享


--【肆】--:

前排支持,感觉会火


--【伍】--:

佬太强了


--【陆】--:

重复问题没法解决的,你最好新建对话。


--【柒】--:

感觉 5.3 codex 很少有重复,5.2 一大堆重复


--【捌】--:

等今晚放出gpt-5.3吧(如果有的话)


--【玖】--:

前排学习


--【拾】--:

请问佬是怎么使用 codex 的?cc吗?还是openclaw


--【拾壹】--:

很强大
请问一下佬,是在codex里面配置好skills以后,使用$taskmanager开始吗


--【拾贰】--:

5.2 的 compact 能力太差了 好像还是会重复执行已经完成的任务,不知道 0.105 有没有修,看他们改了改 compact
要是 5.2 工作 + 5.3 codex 压缩 就用好

用这个 skills 搭配 5.2 之后的 compact 能力怎么样呀


--【拾叁】--:

学习学习


--【拾肆】--:

一般来说会根据任务强度自动触发,如果这样强制的话也行


--【拾伍】--:

太棒了,佬,codex 一直没有skill 直接抄作业了


--【拾陆】--:

codex cli


--【拾柒】--:

学习下 最近一直在用~


--【拾捌】--:

官方更新105也是csv思路


--【拾玖】--:

太期待了