Feature request: dynamic model aliases/macros in Codex CLI sessions
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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