refresh
Skill1 starsChanged 31 days agoMITView on GitHub
Refresh the Codex and Claude usage gauges right now and report the numbers. Use when the user asks for "/refresh", "refresh usage", or "show me my usage now".
12 other projects use a version of this.
Adopted by
Most recently taken up by
- ai-search-guru/getcito-worlds-first-open-source-aio-aeo-or-geo-tooltheir own version, first seen Nov 8, 2026
- kyle-chalmers/ticketwrighttheir own version, first seen Nov 8, 2026
- ansvisor/ansvisortheir own version, first seen Nov 1, 2026
- RightBlogger/bloggingskillstheir own version, first seen Nov 1, 2026
- Tngc93/repo-onboardingtheir own version, first seen Oct 15, 2026
- prPMDev/my-portfolio-kittheir own version, first seen Oct 13, 2026
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- ai-search-guru/getcito-worlds-first-open-source-aio-aeo-or-geo-tool★ 432same name
- ansvisor/ansvisor★ 233same name
- iliasedelkin/jobissimo★ 8same name
- fullymiddleaged/Clawness★ 5same name
- kyle-chalmers/ticketwright★ 4same name
- RightBlogger/bloggingskills★ 4same name
- prPMDev/my-portfolio-kit★ 2same name
- fabio-baumgartner/unternehmer-skills★ 1same name
- mkreindel/seo-toolkit-template★ 1same name
- NikolajSaudella/cue★ 1same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
If that script does not exist, the status line is not set up here.
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
refresh
Both usage gauges refresh in the background at most once every 5 minutes, so the status line can be up to 5 minutes behind. Use this skill when the user wants the current numbers immediately.
Steps
- Note the mtime of the two cache files, then run
~/.claude/scripts/usage-refresh.shwith Bash. It refreshes both caches and prints nothing.- If that script does not exist, the status line is not set up here. Say so, point to
/usage-statusline:setupwhen this skill came with the plugin, and stop.
- If that script does not exist, the status line is not set up here. Say so, point to
- Read the caches:
- Codex —
~/.claude/codex-status/codex-usage.json:rate_limit.primary_window.used_percent(5-hour),rate_limit.secondary_window.used_percent(weekly),rate_limit.primary_window.reset_at(Unix epoch). - Claude —
~/.claude/codex-status/claude-usage.json:five_hour.used_percentage,seven_day.used_percentage,five_hour.resets_at(Unix epoch),fetched_at.
- Codex —
- A cache whose mtime did not change means one of two things — tell them apart by
how old the file is:
- Under a minute old: the poll was skipped on purpose, because the numbers were already current. Nothing is wrong.
- Older than that: this half failed and its numbers are older than they look.
Usual causes are Codex not being logged in (
~/.codex/auth.jsonmissing), the Claude usage endpoint rate-limiting the call (it answers bursts with 429 for a few minutes), or an OAuth token that expired before Claude Code rotated it. Report a stale half as stale rather than presenting old numbers as current.
- Report the numbers in a line or two. The status line picks them up within a second or two.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

