Skip to content

Commit 85e02df

Browse files
committed
Configure the Codex TUI status line
Add a project-local `tui.status_line` order so terminal sessions show repository context, token use, and available subscription limits consistently.
1 parent 95a6812 commit 85e02df

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

.codex/config.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#:schema https://developers.openai.com/codex/config-schema.json
2+
3+
[tui]
4+
status_line = [
5+
"model-with-reasoning",
6+
"project-name",
7+
"git-branch",
8+
"context-used",
9+
"total-input-tokens",
10+
"total-output-tokens",
11+
"five-hour-limit",
12+
"weekly-limit",
13+
]
14+
15+
# vim: set ff=unix fenc=utf8 et sw=4 ts=4 sts=4 tw=79:

CLAUDE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ This section indexes the tools.
2828
- `AGENTS.md` at the repository root is a symlink to `CLAUDE.md`.
2929
- `.agents/skills/` is a symlink to `.claude/skills/`, the repository skill
3030
location recognized by Codex.
31+
- `.codex/config.toml` configures the Codex TUI status line with the model,
32+
project, branch, context, token, and subscription-usage fields.
3133
- `.codex/hooks.json` wires Codex `PreToolUse` and `PostToolUse` events to the
3234
shared hook scripts.
3335
- `.codex/hooks/` is a symlink to `.claude/hooks/`.

0 commit comments

Comments
 (0)