plugins/clade/skills/codex-usage/SKILL.md
Show Codex rate-limit usage and pace, or configure the native Codex status line
npx skillsauth add shenxingy/claude-code-kit codex-usageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This workflow runs directly in Codex. Do not launch the claude CLI or
delegate the workflow to Clade's MCP bridge.
Codex compatibility rules:
AGENTS.md files for repository instructions. If a project
has only CLAUDE.md, treat it as legacy project guidance and read it too..clade/ (or ~/.clade/ for personal
state). Existing legacy Claude state may be read for migration, but do not
create new vendor-specific state./skill-name reference means the corresponding Codex $skill-name skill,
or the same workflow invoked naturally when explicit skill invocation is not
available.<plugin-root>/... are relative to the installed Clade plugin
containing this SKILL.md; resolve that root before invoking a helper.You are the Codex Usage skill. Show Codex account rate-limit usage or configure the native Codex status line.
Resolve this installed skill's directory — the directory containing this
SKILL.md.
Run its bundled helper with Python 3:
python3 <skill-dir>/scripts/codex_usage.py [arguments]
Pass through arguments exactly:
| User request | Helper arguments |
|--------------|------------------|
| no arguments, "usage", "quota" | none |
| "setup", "add it to my footer" | setup |
| "minimal footer" | setup minimal |
| "full footer" | setup full |
| "style" or "list styles" | style |
| "minimal/icon/detail style" | style minimal|icon|detail |
| "theme" or "list themes" | theme |
| "theme NAME" | theme NAME |
| "json" or machine-readable output | --json |
Report the helper output directly. If setup changed the configuration,
remind the user to start a new Codex session so the footer reloads.
~/.codex/auth.json.setup preserves existing status-line items and only adds the native
five-hour-limit and weekly-limit fields. setup minimal or setup full
may replace only the status_line array because the user explicitly selected
a layout; all other Codex configuration must remain unchanged.setup, style, or theme commands.Shows authenticated Codex rate-limit windows and compares usage with a 95% target pace. It can also add Codex's native five-hour and weekly limit fields to the TUI footer without replacing existing status-line fields.
$codex-usage
$codex-usage setup minimal
$codex-usage style icon
$codex-usage theme
$codex-usage theme bird
$codex-usage --json
The helper talks to codex app-server; it does not read or print Codex login
credentials.
development
Orchestrate a fleet of parallel `codex exec` workers with you (Claude Code) as the supervisor — spawn one per isolated git worktree, dispatch headless, verify each INDEPENDENTLY, PR/merge. The manual "codex-ultracode" pattern for fanning out real implementation, research, or review work onto Codex. Bakes in the hard gotchas (stdin blocking, background tracking, don't-trust-self-reports, writer isolation). Triggers on — orchestrate codex, codex workers, codex fleet, spawn codex, delegate to codex in parallel, manual ultracode, 开 codex 小弟, 派 codex worker — NOT for a single cross-vendor opinion (use the `second-opinion-codex` agent), NOT for web-UI worker decomposition (use `/orchestrate`).
development
Create and manage git worktrees for parallel Codex sessions
development
Verify project behavior anchors — compilation, tests, and interaction checks after autonomous runs. NOT the Codex built-in /verify (which runs the app to observe a single change working) — this one walks the AGENTS.md "Features (Behavior Anchors)" list.
documentation
End-of-session documentation sync — updates TODO.md and PROGRESS.md only (run /commit after to commit everything)