• eqwa1

    最近使用codex和cc科研时候,发现完成项目时候5.6sol总是一堆测试,批量修改,但是效果很差,同样的prompt cc加上o5效果能够实现,想请教一下佬友使用平时使用codex有没有什么技巧?希望路过佬友能提点两句,感谢佬友

    主楼
  • sce

    使用codex有没有什么技巧

    可以看下这个帖子,应该会有些帮助

    前言
    最近一直在折腾 OpenAI 的 Codex CLI(就是那个开源的命令行 AI 编程助手),用了一段时间下来,说实话——体验甚至超越了我之前用的 Claude Code。
    不是说 Claude Code 不好,而是 Codex 有几个点让我特别舒服:

    成本可控:按需付费,用多少算多少,对于日常开发来说很友好
    智力在线:可以畅用 GPT-5.2,推理能力和代码质量都相当能打
    可定制性极…

    #1
  • 冰原Bill

    迭代gpt的语料过于离谱,本地通用prompt需要适应新模型而改变。

    比如针对5.6-sol,就应该删掉superpowers,明确加上部署环境不连外网,不要写安全护栏,不要写测试,不要sha sum,禁止加入用户没提到的功能。然后安装ponytail,你自己也能做的事情只开medium或high。

    #2
  • 水母

    想要高效,得用CODEX CLI,并且现在CODEX CLI或者CHATGPT APP,都会有一个毛病,就会自动加载SKILLS,所以得写AGENTS.md,不要让其自动加载SKILLS,还有可以配置一下AGENTS.md。

    有两个推荐:

    github.com

    图片

    GitHub - agentsmd/agents.md: AGENTS.md — a simple, open format for guiding...

    AGENTS.md — a simple, open format for guiding coding agents

    github.com/FerroxLabs/agents-md

    AGENTS.md

    main```

    AGENTS.md

    Drop-in operating instructions for coding agents. Read this file before every task.

    Working code only. Finish the job. Plausibility is not correctness.

    This file follows the AGENTS.md open standard (Linux Foundation / Agentic AI Foundation). Claude Code, Codex, Cursor, Windsurf, Copilot, Aider, Devin, Amp read it natively. For tools that look elsewhere, symlink:

    ln -s AGENTS.md CLAUDE.md
    ln -s AGENTS.md GEMINI.md```
    
    ---
    
    ## 0. Non-negotiables
    
    These rules override everything else in this file when in conflict:
    
    1. **No flattery, no filler.** Skip openers like "Great question", "You're absolutely right", "Excellent idea", "I'd be happy to". Start with the answer or the action.
    ```此文件已被截断。 显示原始文件
    #3

发表回复

登录后回复