Install status-bar and the footer of every Codex session shows the repo, git branch, pull request number, model and context usage, in that order. A one-time install, a one-time pick in /statusline, and it also works in Claude Code.

status-bar puts five facts in the footer of every session: repo · branch · PR number · model · context. They are always in that order, so you stop reading the footer and start glancing at it.
Why bother? Because the expensive mistakes in a long Codex session are quiet ones. You run a command in the wrong clone, commit to the wrong branch, or keep going on a context window that filled up an hour ago. Each of those facts is one git or gh call away, and nobody makes the call before every prompt. A footer makes them free.
A typical Codex footer reads:
marketing · feature/krithi-skills-page · #214 · GPT-5 · ctx 42K (42%)
On a branch with no pull request, the third item reads no-pr.
What each item shows
owner/repo taken from the origin remote, falling back to the folder name when there is no remote.#123 for the open pull request on this branch, no-pr when there is none. It needs the gh CLI. Without it, the item reads no-pr.ctx 42K (42%). The percentage is tokens divided by 100,000, and it is not capped. 150K shows 150%. The colour is green, turns yellow from 80% and red from 100%.The 100K reference is deliberate. The footer answers one question, how big has this session got, and it answers it the same way on every model. A percentage of each model's own window would not. If you prefer that, there is a built-in mode, covered below.
Codex has no plain script hook for the footer. What it has is an experimental Custom status line: a small local MCP server that Codex polls for the footer content. scripts/codex_provider.py is that server, written in Python with no dependencies beyond the standard library.
Two details are worth knowing, because they explain the behaviour you will see.
Codex gives each read one second. Git calls inside the provider therefore have short timeouts. The PR lookup is slower than that, because it goes to GitHub. So it runs in a background thread and is cached for 60 seconds per repo and branch. On the first render the PR slot is empty, and the number appears a few seconds later.
A broken bar must not break the session. If a render fails, the provider returns an error string instead of crashing. And if Codex ever sees an error or a timeout from a provider, it stops polling. That is why the fix for a footer that shows an error is to select the provider again in /statusline.
What the installer changes
install.py makes three moves, in this order:
~/.codex/config.toml (or $CODEX_HOME/config.toml) to config.toml.bak.tui_extensions_statusline = true under [features]. No other key is touched.codex mcp add status-bar -- python3 -u <skill-dir>/scripts/codex_provider.py. If codex is not on the PATH of the shell running the installer, it prints that command so you can run it where Codex runs.One step cannot be scripted. After a restart, open /statusline, choose Choose a status line provider and select Status bar. It is a one-time pick, made in the Codex UI. If the provider is not listed, enable Custom status line in /experimental and restart again.
The fallback
If you would rather not use the experimental feature, --mode builtin sets Codex's own tui.status_line to project-name, git-branch, pull-request-number, model and context-used. Same five items, same order. The difference is context: it becomes a percentage of the model's own window, not of 100K.
Claude Code does support a status-line command, so the Claude Code path is simpler. install.py --host claude sets statusLine in ~/.claude/settings.json to run scripts/statusbar.py. Claude Code pipes a JSON description of the session to that script on stdin, and the script prints one coloured line.
Context tokens come from the session's current usage: input, cache creation and cache read tokens added together. If that field is missing, the script reads the last assistant usage from the tail of the transcript instead. The PR lookup is cached for 60 seconds in a temp file, and the whole script is wrapped so that an exception prints a message rather than breaking the host. Restart the session after installing.
--host both installs both in one run. If a settings file is not valid JSON, the installer stops and changes nothing.
Pick the host first. The default host is Codex. Run the default command from inside Claude Code and it edits the Codex config, not Claude's. The skill's own instructions tell the agent to check which host it is running in before choosing a command, and you should do the same if you run the installer by hand.
python3, and python on Windows.git.gh CLI for the PR number. Without it everything else still works.Run the installer in the same environment Codex runs in. On Windows with WSL, that means inside WSL, since that is where ~/.codex lives.
Install the skill, then restart Codex:
$skill-installer install https://github.com/lowtouch-ai/krithi-skills/tree/main/skills/status-bar
Then ask for it by name:
$status-bar install the status bar
Codex runs the installer, tells you what changed, and asks you to restart and make the one-time pick in /statusline. After that there is nothing to invoke. The footer is simply there in every session, in every repo.
To switch to the built-in fallback, ask for it:
$status-bar install the status bar in builtin mode
To remove it:
$status-bar remove the status bar
That runs install.py --uninstall, which deletes the tui_extensions_statusline key and unregisters the MCP server. In builtin mode it removes tui.status_line. On Claude Code, --host claude --uninstall removes statusLine. In every case the previous file is kept as .bak.
This is a utility skill, not a step in the plan, build, review, validate flow. It does not read or change your code. But it pairs well with that flow. The PR slot tells you at a glance whether the branch you are on already has a pull request, which is the question prepare-pr and review-pr start from. And the context gauge tells you when a session has grown long enough that a fresh one is the cheaper move, which is the habit the cheat sheet recommends.
For update and uninstall steps for the skills in general, see the krithi-skills README.
What does the Codex status bar skill show?
It shows the repo, git branch, pull request number, model and context usage, always in that order. A branch with no open pull request shows no-pr. Context appears as tokens and a percentage, such as ctx 42K (42%).
Why does the PR number appear a few seconds after Codex starts?
Codex gives each footer read one second, and looking up a pull request on GitHub takes longer. The skill fetches the number in a background thread and caches it for 60 seconds per repo and branch, so it shows up on a later refresh.
Why can context go above 100%?
The percentage is tokens divided by a fixed 100,000 budget and is not capped. A session at 150K tokens reads 150% and is shown in red, which tells you how far past the reference it has grown. The built-in mode uses the model's own window instead.
Does status-bar work in Claude Code?
Yes. Run the installer with --host claude and it sets statusLine in ~/.claude/settings.json. Use --host both to set up Codex and Claude Code together. The default host is Codex, so name the host explicitly when you run it from Claude Code.
How do I remove the status bar?
Ask $status-bar remove the status bar, or run install.py --uninstall (add --host claude for Claude Code). The installer deletes only the keys it set, and it keeps a .bak copy of the file it edited.
If you want the whole set instead of one skill, point the installer at the repository root:
$skill-installer install all the skills in the https://github.com/lowtouch-ai/krithi-skills/
This asks Codex to install every skill in the krithi-skills repository in one step, so you do not repeat the install for each one. Restart Codex afterwards so the new skills are picked up.
The set currently covers ten skills:
status-bar: installs a footer that always shows repo, branch, PR number, model and context usage in Codex or Claude Code.validate-pr: tests a pull request by launching it, runs Playwright tests against the PR's exact commit and returns an evidence-backed status.review-pr: reviews a pull request from just its link against its requirements and the Krithi process, scores it and posts the comment when you add post.feature-estimate: turns customer emails, notes and tickets into a traceable requirements register, PRDs, stories and a sprint estimate.prepare-pr: reviews finished work, checks the branch, commits in-scope files and opens the pull request with your approval at each step.migration-estimate: turns a codebase into PRDs, stories and a sprint estimate with human-team and Krithi timelines.plan-builder: turns a ticket into a Plan Mode prompt that changes no code.repo-readme-generator: creates or updates a README and documentation suite from verified repository evidence.appsec-static-audit: runs a source-code-only security audit with compliance mapping.wave-a11y-scan: runs a WAVE-style accessibility scan mapped to WCAG 2.x.Prefer to install one at a time? Use the single-skill command in the install section above.
About the Author

Rejith Krishnan
Founder and CEO
Rejith Krishnan is the Founder and CEO of lowtouch.ai, a platform dedicated to empowering enterprises with private, no-code AI agents. With expertise in Site Reliability Engineering (SRE), Kubernetes, and AI systems architecture, he is passionate about simplifying the adoption of AI-driven automation to transform business operations.
Rejith specializes in deploying Large Language Models (LLMs) and building intelligent agents that automate workflows, enhance customer experiences, and optimize IT processes, all while ensuring data privacy and security. His mission is to help businesses unlock the full potential of enterprise AI with seamless, scalable, and secure solutions that fit their unique needs.