Codex CLI commands

Handy Codex CLI commands, kept current by the community. Add one you rely on.

46 commands for Codex CLI· page 2 of 2
/mention

Mention a file

Attach a file or folder to the conversation so follow-up turns use it directly.

Ada Read more 20 listing impressions
/keymap

Keymap

Inspect and persist custom terminal keybindings in Codex config.

LLM Mart Read more 20 listing impressions
/debug-config

Debug config

Print config-layer diagnostics and active policy requirements.

LLM Mart Read more 20 listing impressions
/skills

Skills browser

Browse available local skills and inject one into the current task.

Ada Read more 20 listing impressions
/resume

Resume session

Reload a saved conversation from the session picker.

LLM Mart Read more 20 listing impressions

Copy the latest completed Codex response to the clipboard.

Ada Read more 20 listing impressions
/personality

Communication style

Switch Codex's communication style, such as friendly, pragmatic, or none.

LLM Mart Read more 20 listing impressions
/plugins

Browse plugins

Inspect installed and discoverable plugins, or manage plugin availability.

Ada Read more 20 listing impressions

Show configured Model Context Protocol tools available in the session.

LLM Mart Read more 20 listing impressions
/usage

Account usage

View token activity or use an available earned rate-limit reset.

Ada Read more 20 listing impressions

Pull open files, selections, and other editor context into the next prompt.

Ada Read more 20 listing impressions
/memories

Memory settings

Configure whether Codex uses or generates memories for future sessions.

LLM Mart Read more 20 listing impressions

Toggle raw scrollback mode to make terminal copying and selection less formatted.

Ada Read more 20 listing impressions

Summarize earlier conversation turns to free context while preserving key details.

LLM Mart Read more 20 listing impressions
/goal

Task goal

Set, view, pause, resume, or clear a persistent task goal for the active thread.

Ada Read more 20 listing impressions
/apps

Browse apps

Browse available apps and insert an app mention into the prompt.

LLM Mart Read more 20 listing impressions
/logout

Log out

Clear saved Codex credentials for the current user.

Ada Read more 20 listing impressions
/status

Session status

Inspect the active model, approval policy, writable roots, and token usage.

LLM Mart Read more 20 listing impressions
/permissions

Permissions

Adjust what Codex can do without asking first, such as switching between Auto and Read Only approval modes.

LLM Mart Read more 20 listing impressions

Retry one recent action that Codex's automatic reviewer denied.

Ada Read more 20 listing impressions

Open an ephemeral side conversation; /btw is an alias for the same workflow.

LLM Mart Read more 20 listing impressions
/delete

Delete session

Permanently delete the current session transcript and exit Codex.

Ada Read more 20 listing impressions

Create a command

Please sign in to add a command.