Skip to content

Codex Status

The codex-like row under the input: model, folder and your segments, then ← for agents and ? for shortcuts on a row of their own.

On this page

Examples

The shared grammar with the look fixed: the same as <CliStatus preset="codex-like" />, so it reads as the codex-like look on its own or inside a session. Every part in all eight looks is on Agent CLI.

Installation

npx knowns-ui@latest add agent-cli-codex
For Claude Code, Cursor or Codex: installs it and wires the props to your own data.

Props

segments
{ id, label, tone?, badge?, wide? }[]
Left to right: the session's, a plugin's own.
hints
ReactNode | false
Defaultthe look's own
Key hints; false hides them.
statusLines
ReactNode[]
Rows of your own under the segments. Off by default.
aside
ReactNode
The right end of the hint row.

When to use

When to use

  • Showing the model and a plugin's own status under a codex-like input.

When not to use

Using with AI

Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:

  • Add the Knowns UI Codex Status to my app and wire it to my own data.
  • I need showing the model and a plugin's own status under a codex-like input. Set that up with the Knowns UI Codex Status.
  • Which Codex Status props do I need for a minimal setup? Show me a short example.

With the server connected, your assistant calls get_component({ name: "codex-status" }) and search_docs({ query: "codex status" }).

Need help?

Stuck on Codex Status, or found something off? We read every message.