希望增加 /goal 命令并允许 coding plan 导入到 Codex 中使用 || Hope to add /goal command and allow coding plan to be imported into Codex for use
What feature would you like to see?
- 希望增加 /goal 命令
- 参考 Codex 的 /goal 命令,claude code 在 138 版本已经跟进了这个功能
- 允许 coding plan 导入到 Codex 中使用 - codex 作为主流的编程平台,kimi coding plan 不支持实在是不能理解
Additional information
No response
What feature would you like to see?
- Hope to add /goal command
- Refer to the /goal command of Codex, claude code has followed up this function in version 138
- Allow coding plan to be imported into Codex for use - codex As a mainstream programming platform, it is really incomprehensible that kimi coding plan does not support it
Additional information
No response
Hi! I've implemented the /goal command inspired by Codex's goal system in PR #2276. The PR is ready for review.
What's included:
/goal <objective>— create/replace an active goal/goal— show current goal status/goal pause//goal resume//goal clear//goal edit— manage the goal- Stateful goal persistence across turns (stored in session state)
- Auto-continuation on idle — after a user turn completes, if the goal is still active, the agent automatically continues working toward it
- Enhanced continuation prompt with completion audit, fidelity instructions, and budget tracking (inspired by Codex's
continuation.md) UpdateGoaltool — the model can callupdate_goal(status="complete")to mark the goal as finished- Token budget tracking — optional budget; goal transitions to
budget_limitedwhen exceeded - Wire events (
GoalBegin,GoalEnd,GoalStatusUpdate) and telemetry (goal_created,goal_completed,goal_budget_limited)
Regarding the second part of this issue ("allow coding plan to be imported into Codex") — that seems like a separate feature request about plan export/import interoperability. The /goal command in PR #2276 focuses on the long-running task loop behavior. Happy to discuss the plan export idea in a follow-up if there's interest.
All 806 core tests pass. Would love feedback from the maintainers!
@CommanderCrowCode 大佬,你好,非常感谢您的贡献,真的,万分感谢您。首先,不知道你是不是kimi cli的官方人员。第二,你是否试过复杂的任务,非常耗时的任务。Codex cli和Codex APP,有人并行执行超过10个任务,每个任务耗时超过100小时(超过4天)。有人复刻另一个游戏,生成超过10万行代码,包括动画,声音,图像等。例子太多了,数不胜数。第三,Codex cli的/goal确实很好用,但是,我想请教一下,我有3个提示词,每次输入哪个提示词,得根据模型上一轮的输出,以及我上一轮的输入来决定。本质上是,我输入一个数学问题(很难的,比如IMO2025或者普特南竞赛),然后模型进行第一轮解答;然后我输入评估提示词,模型进行评分;如果不是100分(满分设定100分),我就输入优化提示词,模型会输出新一轮解答。以此循环,直到获得满分。这种做法,对于提高模型的正确率和稳定性,非常非常有帮助。我想问,有什么办法可以实现这点吗?我不想一直盯着终端屏幕,等模型输出后,人为判断下一个提示词是什么,然后就输入,太烦了,我希望完全自动化。
Hello @CommanderCrowCode Boss, thank you very much for your contribution, really, thank you very much. First of all, I don’t know if you are an official member of kimi cli. Second, have you tried complex tasks, very time-consuming tasks. Codex cli and Codex APP, someone executes more than 10 tasks in parallel, each task takes more than 100 hours (more than 4 days). Someone copied another game and generated more than 100,000 lines of code, including animations, sounds, images, etc. There are too many examples to count. Third, Codex cli's /goal is really easy to use, but I would like to ask you something. I have three prompt words. Which prompt word to input each time depends on the output of the model in the previous round and my input in the previous round. Essentially, I input a mathematical problem (a difficult one, such as IMO2025 or the Putnam Competition), and then the model performs the first round of solutions; then I input the evaluation prompt words, and the model scores; if it is not 100 points (the full score is set to 100 points), I enter the optimization prompt words, and the model will output a new round of answers. Repeat this until you get a perfect score. This approach is very helpful to improve the accuracy and stability of the model. I would like to ask, is there any way to achieve this? I don’t want to stare at the terminal screen all the time, waiting for the model to be output, and then manually judge what the next prompt word is, and then enter it. It’s too annoying. I want to be completely automated.
@yuwoyizhan I'm not associated with Kimi CLI official. But feature seems easy to implement.
If you give me a few IMO questions to test and your evaluation/optimization prompt, I can test it out.
So far, I have run complex tasks that span hours/days.
@CommanderCrowCode
@CommanderCrowCode 我已经迫不及待,想在kimi cli中使用/goal了,但是,我之前试过2次,总体上花费至少10小时,让kimi cli添加/goal,模仿Codex cli的开源代码,结果都失败了,呜呜呜呜,有一次,设置目标成功,可以设置目标,但是不会执行。Codex cli设置目标后,就会执行。大佬,你能否给一个可执行文件,让我运行这个可执行文件,就能做到在kimi cli中使用/goal。跪求了。
@CommanderCrowCode I can’t wait to use /goal in kimi cli. However, I have tried twice before and spent at least 10 hours in total asking kimi cli to add /goal and imitating the open source code of Codex cli. The results failed. One time, the goal was set successfully and the goal could be set, but it would not be executed. Once the Codex cli sets the target, it will be executed. Boss, can you give me an executable file and let me run this executable file so that I can use /goal in kimi cli. I begged on my knees.
@CommanderCrowCode 经过努力,第三次从零开始的尝试,终于成功了,而且我觉得,效果应该比你的好,哈哈哈哈。
@CommanderCrowCode After hard work, the third attempt from scratch finally succeeded, and I think the effect should be better than yours, hahahaha.
Check this out. See if this works for IMO solution.
https://github.com/CommanderCrowCode/imo-goal-test
Got 100/100 using your grading prompt
This is out of a single prompt with /goal that I have designed. If you like the result, please ping the team so they can add this to Kimi-cli official
@CommanderCrowCode 1.首先,你的答案,6道题的最终答案都是错误的。2.你在这里,如何使用/goal的,或者说,你是不是只进行一轮对话,第一轮对话就使用/goal,输入的提示词是什么
@CommanderCrowCode 1. First of all, your answers, the final answers to the 6 questions are all wrong. 2. How do you use /goal here? In other words, do you only have one round of dialogue? Use /goal in the first round of dialogue. What is the prompt word to enter?