Skip to content

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

Closed

Description

@colsonj

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

Activity

  1. added
    enhancement
    on Nov 12, 2025
  2. added
    CLI
    context
    on Nov 12, 2025
  3. etraut-openai commented on Dec 31, 2025

    @etraut-openai
    Contributor

    This feature is covered by the new "execution policy" experimental feature, which you can read about here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIcontextenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions