- Home
- Skills
- Productivity
- Codex Usage Tray — Live Quota Circles
More screenshots
Works with the AI Agents you already use
Codex Usage Tray — Live Quota Circles
by Frica Chai
This skill puts the same two numbers in the Windows notification area, so you can see them without opening anything.
$7
Codex Usage Tray — Live Quota Circles
Example session with this skill installed
安裝 Codex 使用量小工具
Show my Codex quota in the Windows notification area.
- Read your context and instructions
- Compiled the codex usage tray
Agent: Codex CLI 0.149.1 is installed and logged in ("Logged in using ChatGPT"). I will build the widget into %LOCALAPPDATA%\CodexUsageTray and start it.
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "$env:TEMP\codex-usage-tray\Install-CodexUsageTray.ps1" -Start
C:\Users\you\AppData\Local\CodexUsageTray\CodexUsageTray.exe
Two circles are now in the notification area.
| Circle | Tooltip | Meaning |
|---|---|---|
| Left | Codex 5h剩餘 86%|到 20:36 | 86% of the 5-hour quota left; resets 20:36 local |
| Right | Codex 每週剩餘 45%|到 11月21日 | 45% of the weekly quota left; resets 21 November |
Thirty seconds later both circles still show values, so the automatic refresh is working. The numbers match the Codex account page, and the reset times are local.
Next steps
- If the icons start in the Windows 11 overflow menu, open the up-arrow and drag both onto the visible taskbar.
- Right-click a circle for 立即更新 (refresh now) or 結束小工具 (quit) before installing a new version.
- Add
-StartAtSignInto the installer if you want the widget to start with Windows.
This transcript records a real install run on 2026-11-19. The percentages are that account's values at that moment and change over time.
Connects securely to your tools. The creator never sees your data.
About this skill
Codex shows your remaining quota inside the app. This skill puts the same two numbers in the Windows notification area, so you can see them without opening anything.
What it does
- Adds two small circles to the notification area: the 5-hour window on the left, the weekly window on the right.
- Draws the remaining percentage inside each circle.
- Refreshes every 30 seconds.
- Shows the reset time in your local time zone on hover.
- Turns green above 50%, orange at 21–50%, and red at 20% or below.
- Turns gray and says so when the quota cannot be read.
How it works
- The installer compiles a native windowed EXE into
%LOCALAPPDATA%\CodexUsageTray. - Every 30 seconds the widget starts
codex app-server --listen stdio://as a short-lived child process. - It sends
initializeandaccount/rateLimits/readover stdio. - It maps
windowDurationMins300 to the 5-hour circle and 10080 to the weekly circle. - It displays
100 − usedPercentand convertsresetsAtfrom Unix seconds to local time.
Only the child process started for that refresh is closed. Your other Codex sessions are not touched.
What you get
SKILL.md— agent instructions.README.md— setup, options, troubleshooting.NOTICE.md— licence notice.Install-CodexUsageTray.ps1— a self-contained installer with the widget source embedded.
No EXE is shipped. The executable is built on your own machine from readable C# source.
Requirements
- Windows 10 or 11.
- .NET Framework 4.x (the C# compiler ships with Windows).
- Codex CLI installed.
- A ChatGPT account signed in through
codex login. - PowerShell 5.1 or later.
Verification
A run is complete only when:
- both circles are visible in the notification area;
- each tooltip contains the label, a percentage, and a reset time;
- the percentage equals
100 − usedPercentfor the matching window; - a refresh 30 seconds later still shows values, not
暫時無法取得.
If the CLI cannot read the account, both circles go gray. The widget never shows an invented number.
Limitations
- Windows only. macOS and Linux are not supported.
- It shows the two quotas the Codex account already exposes. It does not report cost, per-project usage, or history.
- Quota endpoints belong to OpenAI and can change. A future Codex CLI update may require a new version of this skill.
- On Windows 11 new tray icons usually start in the overflow menu; drag them onto the visible taskbar once.
Privacy
The widget writes one file, %LOCALAPPDATA%\CodexUsageTray\codex-path.txt, containing the path to codex.exe. It keeps no history, sends nothing to the author, and adds no telemetry. Quota requests use your own Codex CLI login; this package never sees or stores credentials.
Requires Windows 10/11, PowerShell 5.1+, and .NET Framework 4.x. Codex CLI must be installed and signed in. Icons may hide in the overflow menu by default.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 16 days ago
Windows only
- Software
- .NET Framework 4.xCodex CLI signed in with ChatGPTPowerShell 5.1+
Codex CLI must be installed and signed in with codex login before the first run. The installer compiles the widget locally with the C# compiler that ships with Windows.
Permissions
The installer calls the Windows C# compiler once and writes the EXE plus codex-path.txt into %LOCALAPPDATA%\CodexUsageTray. Each refresh starts codex.exe app-server and closes only that child process. The widget itself makes no network calls; the Codex CLI talks to OpenAI with the user's existing login. No admin rights, no credentials, no telemetry.
What's inside
Frequently Asked Questions
New in Productivity
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Productivity.