codex-setup

codex-setup is a skill for Claude Code, Codex from WaterTian/cc-hud. It costs 43 tokens per session (561 once invoked), scanned A, original, MIT.

A setup and diagnostic tool for the status footer and theme in Codex CLI, a command-line coding assistant. It can set up, check, restore, or style the footer, including investigating quota colors that may be misleading.

In plain words
What is it for?
It is for installing or checking the Codex footer, restoring it or its theme, and applying the bundled cc-hud theme when the display needs changing.
Why use it?
It avoids manual installation and helps distinguish display colors caused by the active theme from actual quota usage. It also provides a way to restore earlier footer or theme settings.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also reads $CODEX_HOME. Also seen: mentions Claude Code; reads ~/.codex paths; mentions Codex.

Part of the cc-hud plugin — 1 skill, 1 command shipped together

Good fit It is for installing or checking the Codex footer, restoring it or its theme, and applying the bundled cc-hud theme when the display needs changing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/watertian/cc-hud/codex-setup
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 WaterTian/cc-hud --skill codex-setup
Clone the repo
git clone --depth 1 https://github.com/WaterTian/cc-hud

Made for: Claude Code, Codex.

Or install cc-hud, the plugin that ships this one along with the rest of its 1 skill, 1 command.

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 codex-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/watertian/cc-hud/codex-setup/github.svg)](https://agentmods.dev/skills/watertian/cc-hud/codex-setup)
Your own site
<a href="https://agentmods.dev/skills/watertian/cc-hud/codex-setup"><img src="https://agentmods.dev/badge/skills/watertian/cc-hud/codex-setup/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 codex-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/watertian/cc-hud/codex-setup"><img src="https://agentmods.dev/badge/skills/watertian/cc-hud/codex-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 561 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.00043 $0.00561
Opus 5.5 $0.00017 $0.00224
Sonnet 5.5 $0.00009 $0.00112
Haiku 4.5 $0.00004 $0.00056

Measured 4d ago against content hash 055558d83183, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codex-setup 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 4d ago.

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.

skills/codex-setup/SKILL.md · 45 lines

What it actually says

Use the packaged CLI; no global npm installation is needed. Resolve the plugin root two directories above this SKILL.md, then run:

node "<plugin-root>/dist/cli.js" setup codex
node "<plugin-root>/dist/cli.js" check codex

For a request to check only, run only check. For a request to restore the previous footer, run restore codex instead of setup. Report the actual result.

Relay the setup/check color note: Codex colors 5h and weekly by the active syntax theme, independent of remaining quota. For a color complaint, check the active tui.theme and tui.status_line_use_colors before diagnosing it; use the color the user reports, never infer the visible color from a percentage. For a requested visual match or a misleading red/green quota color, run theme codex. This installs the bundled native CC-HUD theme, uses a fixed neutral teal accent for limits, and also changes code highlighting. Tell the user to open /theme, search cc-hud, and press Enter for a live preview/application. Theme names aren't slash-command arguments. Use restore-theme codex to restore prior theme preferences when requested. Keep theme changes optional; ordinary footer setup preserves the user's theme. Run theme codex again after an upgrade to refresh an unedited installed theme.

Setup requires Node >=18 and Codex CLI >=0.166.0. It edits only tui.status_line through Codex's configuration API and saves the previous field in $CODEX_HOME/cc-hud-native.json (default ~/.codex). If Codex is not on PATH, set CC_HUD_CODEX to its executable or npm bin/codex.js path.

Tell the user to restart Codex to load the saved footer. Display, refresh, theme, quota data, and truncation stay native. Codex percentages for limits are remaining quota. Neither the native nor bundled theme changes color by percentage: 1% left and 93% left share a color. Its appearance approximates the Claude HUD. Plugin updates need no setup rerun unless the release changes the preset.

If setup or restore detects a later user edit, leave that configuration in place and report the conflict. Do not rewrite TOML manually or change other settings, auth, hooks, MCP servers, or the Codex daemon.

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. 4d ago First seen · 45 lines · 43 tokens per session scan A 055558d83183

Subscribe to this mod's changes

codex-setup is a skill published in the GitHub repository WaterTian/cc-hud (9 stars, last pushed 4d ago), licensed MIT. It adds 43 tokens to every session and 561 once invoked, about $0.0002 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-06.

Related

codex-setup compared with skills from other repositories

codex-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-setupWaterTian/cc-hudSkill94d agoMITA43Claude Code, Codex
hud-configurejohnleeGitHub/claude-hud-enhancedSkill22mo agoMITA18Claude Code
recipe-front-designshinpr/claude-code-workflowsSkill7134d agoMITA22Claude Code
recipe-front-adjustshinpr/claude-code-workflowsSkill7134d agoMITA18Claude Code
txt-copyumputun/cc-thingzSkill4946d agoMITA48Claude Code
sitrepmartineserios/thebranaSkill33d agoMITA32Claude Code
web-design-guidelinesmartineserios/thebranaSkill33d agoMITA37Claude Code