openai / openai/codex

Feature request: dynamic model aliases/macros in Codex CLI sessions

Open
#37,953 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

CLI config enhancement TUI
Dominant language
Rust
Stars
125k
Forks
19.5k
PR merge metrics
PR metrics pending

Description

Feature request

Add configurable aliases or macros in Codex CLI that change the model and reasoning effort dynamically within an already-running session, without opening the nested /model picker.

For example, define aliases in config.toml and invoke them as /model fast or /model deep, with optional keybindings.

Profiles and shell aliases only apply at process startup, so they do not support this workflow.

Codex feedback thread ID: 019fefcd-efb7-7520-ae8f-b1173aeef6c3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the Codex CLI session model-selection flow and its config.toml handling. Define how aliases such as /model fast and /model deep change model and reasoning effort during an existing session, then verify that the nested picker is not required and consider the optional keybinding behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.