Codex Mode
Use this skill to switch the global Codex App plugin set for the next session. The current conversation does not hot-reload plugins after the config changes.
Commands
Run the bundled script from this skill directory:
python3 scripts/codex_mode.py list
python3 scripts/codex_mode.py status
python3 scripts/codex_mode.py dry-run nextjs
python3 scripts/codex_mode.py apply nextjs
python3 scripts/codex_mode.py restore
Workflow
- If the user says only
mode, runpython3 scripts/codex_mode.py listand ask which specialized mode they want. - If the user says
mode list, runlist. - If the user says
mode status, runstatus. - If the user says
mode restore, rundry-run restore, summarize the diff, ask for confirmation, then runrestoreif confirmed. - If the user says
mode <name>without--yes, rundry-run <name>, summarize the diff, and ask for confirmation before applying. - If the user says
mode <name> --yes, runapply <name>directly.
Keep responses short. Do not autodetect a project type. The user chooses the mode.
Modes
Specialized modes are:
vitenextjsreact-nativeiostvosmacosai-app
restore returns to the base plugin set.
Safety
- The script changes only managed
[plugins."<plugin-id>"].enabledvalues in~/.codex/config.toml. - The script creates a timestamped backup under
~/.codex/backups/codex-mode/before every write. - After applying, tell the user to open a new Codex App conversation or restart the app/workspace for the new plugin context to load.