Harness Notes

Commands

Updated 2026-11-25,

On this page

The command for each task, in each harness. Pick what you are working with, then read across: commands you type in your shell or a script and commands you type inside an open session are listed separately. Commands for renaming sessions are on Thread naming and importing from another harness on Migration.

From your shell

Commands you run in a terminal or script, outside a session.

TaskCodex CLIchecked at 0.162.1
Set up
Install

codex plugin add <PLUGIN[@MARKETPLACE]>

Install a plugin from a configured or remote marketplace.

1 note

-m/--marketplace when the selector has no @MARKETPLACE; --json.

Use
List

codex plugin list

List plugins from configured and remote marketplaces.

1 note

-m filters by marketplace; --available adds uninstalled plugins and requires --json.

Remove
Uninstall

codex plugin remove <PLUGIN[@MARKETPLACE]>

Uninstall a plugin and remove its local cache.

1 note

-m/--marketplace; --json.

Inside a session

Slash commands you type into an open session.

TaskCodex CLIchecked at 0.162.1
Use
Open the manager

/plugins

Open the plugin browser to review, install, uninstall, enable or disable plugins.

1 note

The shell CLI has no enable or disable command; only this browser can toggle a plugin.

Notes and sources

Codex CLI
  • The shell CLI installs and removes plugins but has no enable, disable, update or validate command; the /plugins browser can switch plugins on or off.
  • --worktree starts new sessions in a managed Git worktree and works with codex fork given an explicit session; resume, queue, archive, unarchive and delete reject it at run time.
  • MCP protocol capabilities are recorded in mcp.json; these records cover the operator commands.
  • 0.164.0 TUI: /presets opens ten numbered reusable-input slots (1–9 and 0) for prompts/slash commands, with a keyboard menu and saving through local settings. It is not a skill or model-callable tool.
  • 0.164.0 TUI: /model [model] --reasoning=<level> --speed=<tier> validates available model/effort/tier choices before applying session settings. /permissions <profile-id> [--approval-policy=<policy>] [--reviewer=user|auto_review] discovers and validates the selected permission profile before releasing queued input. These commands are distinct from CLI launch flags.
  • 0.166.0 adds codex doctor --network-only, which runs only the config, network environment, provider HTTP and Responses WebSocket checks.