create-statusline

create-statusline is a skill for Codex from chenrui333/codex-docs. It costs 32 tokens per session (753 once invoked), scanned A, a copy of create-statusline, MIT.

A guide for building a custom MCP statusline for the Codex command-line tool. An MCP server is a program that supplies tools or data to an AI client; here it supplies information shown in the terminal footer.

In plain words
What is it for?
Use it to create or adapt a Python or TypeScript provider, advertise its statusline entrypoint, and render account, usage, or other available terminal information.
Why use it?
It explains how the client discovers the statusline and how the provider returns the data and layout to display. This avoids relying on undocumented or incompatible statusline responses.

Skill for Codex

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

Good fit Use it to create or adapt a Python or TypeScript provider, advertise its statusline entrypoint, and render account, usage, or other available terminal information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chenrui333/codex-docs/create-statusline
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 chenrui333/codex-docs --skill create-statusline
Clone the repo
git clone --depth 1 https://github.com/chenrui333/codex-docs

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/chenrui333/codex-docs/create-statusline/github.svg)](https://agentmods.dev/skills/chenrui333/codex-docs/create-statusline)
Your own site
<a href="https://agentmods.dev/skills/chenrui333/codex-docs/create-statusline"><img src="https://agentmods.dev/badge/skills/chenrui333/codex-docs/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/chenrui333/codex-docs/create-statusline"><img src="https://agentmods.dev/badge/skills/chenrui333/codex-docs/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 753 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 92% copy Near-identical to another mod 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.00753
Opus 5.5 $0.00013 $0.00301
Sonnet 5.5 $0.00006 $0.00151
Haiku 4.5 $0.00003 $0.00075

Measured 6d ago against content hash 934b4a4ad8a6, 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 6d ago.

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

This is a copy

92% identical to create-statusline — 50 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

dot_codex/skills/dot_system/create-statusline/SKILL.md · 29 lines

How it starts

The opening of the file, as written. The whole thing — 29 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 and render 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.

Codex requests the advertised URI with resources/read. Read the displayed thread's snapshot from params._meta["com.openai/codex-statusline-state"]. Return exactly one text resource at that URI, with MIME type application/json and a JSON-encoded UI tree. Optional account and usage fields may be absent. A string renders literal text and null clears the footer.

Use a row with an explicit whole-number gap to group items. Use named theme or status colors to follow the user's theme. Codex accepts up to 64 KiB of UI tree JSON, 16 KiB of UTF-8 leaf text, 256 non-null nodes, and a depth of 16 (root at 0). Each read has one second to finish. After a successful read, Codex waits one second before reading again. An error or timeout stops polling. Reselect the provider in /statusline to restart it.

Enable and verify

Install the provider through an installed plugin or register the stdio command on the connected app-server host. For example, run codex mcp add my-statusline -- python3 -u /absolute/path/to/statusline.py there, using a path and interpreter the host can access. If the workspace is on a separate executor, give the user the provider file to copy to the host and the command to run there. Enable Custom status line in /experimental on the connected app server, then restart the TUI.

Read the full file on GitHub · 29 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. 6d ago Changed 934b4a4ad8a6
  2. 10d ago First seen · 29 lines · 32 tokens per session scan A e7c7e6e8ad01

Subscribe to this mod's changes

create-statusline is a skill published in the GitHub repository chenrui333/codex-docs (5 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 753 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 92% identical to create-statusline, differing in 50 lines, and is treated as a copy.

Related

create-statusline compared with skills from other repositories

create-statusline next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-statuslinechenrui333/codex-docsSkill5todayMITA32Codex
generating-python-installersehoon787/my-codexSkill31todayMITA98Claude Code, Codex
boss-advancedsehoon787/my-codexSkill31todayMITA35Claude Code
gstack-sprintsehoon787/my-codexSkill31todayMITA37Claude Code
academic-english-polishsehoon787/my-codexSkill31todayMITA62Claude Code
boss-briefingsehoon787/my-codexSkill31todayMITA23Claude Code
loopbreezewish/CodexPotterSkill6353mo agoApache-2.0A11Codex