常见问题解决库 Codex Agent 调用工具次数失控:6 个原因 + plan-first 模板 Codex 同一个文件读 8 次、同一个 grep 跑 5 次。修法是预喂结构图、强制先写 plan、按 phase 限制工具。 2026/05/23 #Codex #agent