Codex Usage Dashboard
SkillDev toolsUse this skill when the user asks to show, start, open, launch, or display the Codex usage dashboard, quota dashboard, usage meter, 5-hour quota, or weekly quota on the device screen.
Use Codex Usage Dashboard in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Codex Usage Dashboard and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Codex Usage Dashboard skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
About this skill
ESP-Claw Skills Lab
What this skill tells your AI
The instructions your AI receives, as published by espressif/esp-claw-skills-lab in skills/codex_usage_dashboard/SKILL.md and read by Ahel’s review.
Use this skill when the user asks to show, start, open, launch, or display the Codex usage dashboard, quota dashboard, usage meter, 5-hour quota, or weekly quota on the device screen.
This skill runs one Lua dashboard app that uses the board LCD with LVGL and periodically fetches usage data from its configured JSON endpoint.
Prerequisites
- The board must have a supported LCD display available as
display_lcd. - The Lua runtime must include
board_manager,lvgl,capability,json, andsystemmodules. - Users must install a companion Codex plugin on their PC, which provides the JSON endpoint.
- The
http_requestcapability must allow that endpoint.
Script Args Schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Codex usage JSON endpoint, for example http://192.168.1.10:8000/data.json",
"pattern": "^https?://"
}
},
"additionalProperties": false
}
Tool Call Inputs
Run asynchronously because the dashboard stays active until stopped:
{
"path": "/fatfs/skills/codex_usage_dashboard/scripts/codex_usage_dashboard.lua",
"args": {
"url": "http://<pc-ip>:8000/data.json"
},
"name": "codex_usage_dashboard",
"exclusive": "display",
"replace": true,
"timeout_ms": 0
}
Recommended Flow
-
Use board hardware info first if display availability is uncertain.
-
Before proceeding, you must verify both prerequisites with the user:
- Confirm that the Codex usage plugin is installed.
- Ask for and obtain the JSON endpoint URL or IP address.
-
Do not continue unless both prerequisites are satisfied. Confirmation of plugin installation alone is insufficient; the JSON endpoint URL or IP address must also be provided.
-
If the user needs guidance to install the plugin or configure the endpoint, MUST first tell the user that they can view the installation guide here:
https://github.com/2002-luzi/codex-plugins
Then retrieve instructions from:
https://raw.githubusercontent.com/2002-luzi/codex-plugins/refs/heads/main/README.mdhttps://raw.githubusercontent.com/2002-luzi/codex-plugins/refs/heads/main/plugins/codex-usage-lan-plugin/README.md
Use that information to guide the user through plugin installation and endpoint setup.
-
Confirm the script path is
/fatfs/skills/codex_usage_dashboard/scripts/codex_usage_dashboard.lua. -
Start it with
lua_run_script_asyncusing namecodex_usage_dashboard, exclusive groupdisplay,replace: true, andtimeout_ms: 0. -
Report that the dashboard is running, or report the Lua error directly.
-
If the user asks to stop, close, quit, cancel, or clear the display/dashboard, call
lua_stop_async_jobwith namecodex_usage_dashboard.
Behavior
- Draws a pixel-style
CODEX USAGEdashboard. - Shows current local time.
- Fetches usage JSON once at startup, then every 60 seconds.
- Displays 5-hour quota percentage and reset countdown.
- Displays weekly quota percentage and reset countdown.
- Keeps processing LVGL events until the async job is stopped.
Signals
- GitHub stars
- 34
- Forks
- 17
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
codex-usage-dashboard- Source
- github.com/espressif/esp-claw-skills-lab
github.com/espressif/esp-claw-skills-lab