You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add small list of commands to memory for common tool. Either through learnt behaviour or a small tool call. #6532
I would like to stay away from relying on multiple MCP servers for basic features and quality of life while using Codex CLI and prefer to have simple commands locally in memory.
The issue: Codex trying to run commands like github cli then failing and re-trying after every new chat wastes tokens and causes frustration
Potential Fix 1: Adding a user approval gate to fetch online or and openai database for a list of up-to-date commands for the most common user tools (github cli, python, pip, etc...) and adds these commands to memory in the AGENTS.md file or .codex file
Potential Fix 2: After failing a command for a common tool, add the fix to local memory to prevent the issue from continuing after each new chat.
Activity
github-actions commentedon Nov 12, 2025
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
xcodebuild ...) #4987Powered by Codex Action
etraut-openai commentedon Dec 31, 2025
This feature is covered by the new "execution policy" experimental feature, which you can read about here.