Add small list of commands to memory for common tool. Either through learnt behaviour or a small tool call.

Resolved 💬 2 comments Opened Nov 12, 2025 by colsonj Closed Dec 31, 2025

What feature would you like to see?

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.

Additional information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗