manage-usage-sidebar

manage-usage-sidebar is a skill for Claude Code, Codex from JaceHwang/codex-usage-sidebar. It costs 62 tokens per session (499 once invoked), scanned A, original, MIT.

A control tool for installing, checking, repairing, or removing the native Codex Usage Sidebar, which shows usage information in Codex.

In plain words
What is it for?
Use it to install or refresh the sidebar, check whether it is running, repair it, or uninstall it when explicitly needed.
Why use it?
It helps restore the sidebar after a Codex update and keeps its companion outside the main application so upgrades do not overwrite it.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/jacehwang/codex-usage-sidebar/manage-usage-sidebar
Any agent
npx skills add JaceHwang/codex-usage-sidebar --skill manage-usage-sidebar
Clone the repo
git clone --depth 1 https://github.com/JaceHwang/codex-usage-sidebar

Made for: Claude Code, 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 manage-usage-sidebar

README.md
[![agentmods](https://agentmods.dev/badge/skills/jacehwang/codex-usage-sidebar/manage-usage-sidebar.svg)](https://agentmods.dev/skills/jacehwang/codex-usage-sidebar/manage-usage-sidebar)
Your own site
<a href="https://agentmods.dev/skills/jacehwang/codex-usage-sidebar/manage-usage-sidebar"><img src="https://agentmods.dev/badge/skills/jacehwang/codex-usage-sidebar/manage-usage-sidebar.svg" alt="Measured on agentmods" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 499 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00062 $0.00499
Opus 5 $0.00031 $0.00249
Sonnet 5 $0.00012 $0.00100
Haiku 4.5 $0.00006 $0.00050

Measured 5d ago against content hash e857b3edbcdf, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

manage-usage-sidebar 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 5d 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.

plugins/codex-usage-sidebar/skills/manage-usage-sidebar/SKILL.md · 42 lines

What it actually says

Manage Codex Usage Sidebar

Use the plugin control script. Keep the native companion outside the signed Codex application bundle so official upgrades cannot overwrite it.

Commands

  • Install or refresh: bash "$PLUGIN_ROOT/scripts/sidebar-control.sh" ensure --plugin-root "$PLUGIN_ROOT" --plugin-data "$PLUGIN_DATA"
  • Check: bash "$PLUGIN_ROOT/scripts/sidebar-control.sh" status --plugin-root "$PLUGIN_ROOT" --plugin-data "$PLUGIN_DATA"
  • Repair: bash "$PLUGIN_ROOT/scripts/sidebar-control.sh" repair --plugin-root "$PLUGIN_ROOT" --plugin-data "$PLUGIN_DATA"
  • Uninstall only when explicitly requested: bash "$PLUGIN_ROOT/scripts/sidebar-control.sh" uninstall --plugin-root "$PLUGIN_ROOT" --plugin-data "$PLUGIN_DATA"

On Windows, use the PowerShell control script instead:

$control = Join-Path $env:PLUGIN_ROOT 'scripts\sidebar-control-windows.ps1'
powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Bypass -File $control ensure -PluginRoot $env:PLUGIN_ROOT -PluginData $env:PLUGIN_DATA
powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Bypass -File $control status -PluginRoot $env:PLUGIN_ROOT -PluginData $env:PLUGIN_DATA

The Windows status runtime=stopped reason=not-running means the installed companion is not currently running; it is not a device-validation gate. Run ensure once, or restart Codex so the SessionStart hook starts it automatically. A missing titlebar, unsupported UIA structure, or stale Codex process is reported by the running companion's diagnostic state instead of blocking install.

After install or repair, tell the user that macOS may require one-time Accessibility permission for Codex Usage Sidebar. Never claim that permission was granted unless the operating system reports it.

For language reports, use the sanitized language= and language_source= fields from status. process reflects Codex's effective displayed locale, including Auto; do not request or expose raw process arguments.

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. 5d ago First seen · 42 lines · 62 tokens per session scan A e857b3edbcdf

Subscribe to this mod's changes

manage-usage-sidebar is a skill published in the GitHub repository JaceHwang/codex-usage-sidebar (3 stars, last pushed 3d ago), licensed MIT. It adds 62 tokens to every session and 499 once invoked, about $0.0003 per session on Opus 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-08-31.