create-statusline

create-statusline is a skill for Codex from openai/codex. It costs 32 tokens per session (1,350 once invoked), scanned A, original, Apache-2.0.

A guide for building a custom terminal status line for the Codex command-line tool using an MCP server. MCP is a standard way for tools and applications to exchange structured data.

In plain words
What is it for?
Use it to create or adapt a provider that shows selected account, usage, or other available information in the terminal footer.
Why use it?
It explains how the tool advertises a footer, receives the current session snapshot, and returns the text or layout to display. This avoids guessing the required status-line protocol.

Skill for Codex ✓ vendor

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it to create or adapt a provider that shows selected account, usage, or other available information in the terminal footer.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openai/codex/create-statusline
View source ↗ openai/codex
About the project

Codex is a coding agent from OpenAI that runs locally in a computer terminal and helps users work with code. It is used by developers from the command line, with related integrations available for code editors and the desktop experience; the catalogue’s add-ons extend its workflows.

openai/codex · 136,901 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add openai/codex --skill create-statusline
Clone the repo
git clone --depth 1 https://github.com/openai/codex

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for create-statusline

README.md
[![agentmods](https://agentmods.dev/badge/skills/openai/codex/create-statusline/github.svg)](https://agentmods.dev/skills/openai/codex/create-statusline)
Your own site
<a href="https://agentmods.dev/skills/openai/codex/create-statusline"><img src="https://agentmods.dev/badge/skills/openai/codex/create-statusline/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for create-statusline

Your own site · 80×15
<a href="https://agentmods.dev/skills/openai/codex/create-statusline"><img src="https://agentmods.dev/badge/skills/openai/codex/create-statusline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,350 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.01350
Opus 5.5 $0.00013 $0.00540
Sonnet 5.5 $0.00006 $0.00270
Haiku 4.5 $0.00003 $0.00135

Measured today against content hash f7f8e7e4146c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-statusline scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

The scan reads SKILL.md. This mod also ships 2 executable files (assets/statusline.py, references/statusline.d.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

codex-rs/skills/src/assets/samples/create-statusline/SKILL.md · 51 lines

How it starts

The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Help the user choose what to show. Reuse an existing stdio MCP server when it already owns the data and is configured globally or supplied by an installed plugin. For a new provider, copy the Python starter and edit render. The TypeScript reference bundled with this skill describes the snapshot and UI tree. If those files are on a different machine from your workspace, write the provider in the workspace using the protocol below.

Advertise the footer

Advertise exactly one valid statusline entrypoint per tool in tools/list. Use the stable server and tool names for the saved selection. Set _meta["openai/ui"].entrypoints to include {"type":"statusline","resourceUri":"ui://my-statusline/footer"}. The tool's title is the label in the picker.

Available UI elements

row, col, and box require a gap, an integer from 0 through 2^53 − 1.

  • col: Stack items vertically. Put each field in its own text or row element. A gap of zero puts the fields on consecutive lines, and a gap of one leaves a blank line between them. Adjacent bare strings render together.
  • row: Group items horizontally. The gap is measured in terminal columns. Set wrap: "wrap" to allow items to flow onto another line, and use justify to position items on each line.
  • box: Choose the axis at runtime with optional direction, which defaults to col. With direction: "row", the box accepts row props and groups adjacent strings into one flex item.
  • spacer: Put {"type":"spacer"} between fields in a row to push the following fields to the right. Spacers on each wrapped line share its spare width, and the row gap applies on both sides. In a content-height column, the spacer occupies a slot with the usual gaps.
  • text: Group styled text. Set preserveWhitespace: true to keep indentation, repeated spaces and tabs across styled children. Set maxLines to an integer from 1 through 2^53 − 1 to limit the block after wrapping. Hidden lines end the visible block with an unlinked ellipsis. Clamping takes precedence over preserveWhitespace on the same element.
  • bold: Render children in bold.
  • italic: Render children in italics.
  • underline: Underline children.
  • code: Display commands and paths with the same children as text. Nest bold inside code to emphasize an argument. Code preserves spaces and line breaks across children, expands tabs at eight-column stops, and uses the terminal theme’s code colors.
  • link: Link the children to an absolute HTTP(S) URL using props.href.
  • badge: Display a short state label, for example {"type":"badge","props":{"color":"success"},"children":["passing"]}. A badge accepts a string, an icon, or one of each in either order. It collapses label whitespace and stays on one line. For a check before the label, use [{"type":"icon","props":{"name":"check"}},"passing"] as the children. Badge color defaults to secondary and can also be info, success, warning, or danger.
  • icon: Render a static glyph named by IconName in the reference. Icons work inline in text and inherit the surrounding style.
  • list: Use {"type":"list","children":["build","test"]} for bullets. Set props.marker to "number" for numbering from one or "none" for unmarked items. Each direct child is one item. Wrapped lines align with the item text.
  • list-item: Group styled fragments into a single list item, for example {"type":"list-item","children":["run ",{"type":"code","children":["tests"]}]}.
  • string: A bare JSON string renders as literal text.

Read the full file on GitHub · 51 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +30 lines f7f8e7e4146c
  2. 12d ago Changed 9c7325cd6cae
  3. 13d ago First seen · 21 lines · 32 tokens per session scan A 2520f084a819

Subscribe to this mod's changes

create-statusline is a skill published in the GitHub repository openai/codex (136,901 stars, last pushed today), licensed Apache-2.0. It adds 32 tokens to every session and 1,350 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-18.

Related

create-statusline compared with skills from other repositories

create-statusline next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-statuslineopenai/codexSkill137ktodayApache-2.0A32Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code
chat-pet-sprite-creationmicrosoft/vscodeSkill196ktodayMITA53Claude Code, Codex