limit

limit is a skill for Codex from avenoxai/avenoxskills. It costs 50 tokens per session (1,135 once invoked), scanned A, original, MIT.

A command-line usage viewer for Claude and Codex subscription windows, showing how much quota remains and when each window resets.

In plain words
What is it for?
Use it before delegating work or when checking remaining usage, reset times, and the reliability of the latest quota reading.
Why use it?
It helps choose whether to continue, wait, narrow a task, or use another model pool when usage is nearly exhausted or the reported data is stale.

Skill for Codex

Written for Codex: reads $CODEX_HOME. Also seen: reads .claude/ paths; reads ~/.codex paths; mentions Codex.

Good fit Use it before delegating work or when checking remaining usage, reset times, and the reliability of the latest quota reading.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/avenoxai/avenoxskills/limit
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.

Any agent
npx skills add avenoxai/avenoxskills --skill limit
Clone the repo
git clone --depth 1 https://github.com/avenoxai/avenoxskills

Made for: 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 limit

README.md
[![agentmods](https://agentmods.dev/badge/skills/avenoxai/avenoxskills/limit/github.svg)](https://agentmods.dev/skills/avenoxai/avenoxskills/limit)
Your own site
<a href="https://agentmods.dev/skills/avenoxai/avenoxskills/limit"><img src="https://agentmods.dev/badge/skills/avenoxai/avenoxskills/limit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for limit

Your own site · 80×15
<a href="https://agentmods.dev/skills/avenoxai/avenoxskills/limit"><img src="https://agentmods.dev/badge/skills/avenoxai/avenoxskills/limit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,135 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00050 $0.01135
Opus 5.5 $0.00020 $0.00454
Sonnet 5.5 $0.00010 $0.00227
Haiku 4.5 $0.00005 $0.00113

Measured 26d ago against content hash 2f15ce729ce5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

limit 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 26d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/limit.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/limit/SKILL.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Limit

Run the script that ships next to this file (python instead of python3 on Windows; adjust the path if you installed the skill somewhere else):

python3 ~/.claude/skills/limit/scripts/limit.py --color always

Show the output verbatim before summarising it — do not paraphrase the numbers.

A window whose warnings include stale, window expired, or live fetch failed is unknown, not empty. Don't treat its percentage as current.

Acting on it

Each window has its own wall, and the reset time matters as much as the percentage:

Reading Do
Both windows of a pool clear Use the pool normally. Don't hedge or narrate the number.
A window within ~5 points of full Narrow the work: fewer parallel jobs, cheapest model that can carry it, sequential. Say the number once.
5-hour window at the wall and resets within ~30 min Wait for the reset. Don't hand off to the other pool or start a long run that will be cut in half.
Weekly window at the wall It won't come back for days: hand the work to the other pool if both of its windows are clear, otherwise keep it in the main loop or queue it.
Both pools at a wall, or a window unknown Delegate nothing. Report both numbers and ask.

The fullest valid window in each pool is binding — a 12% 5-hour window next to an exhausted weekly window means the pool is exhausted. Keep a few percent in reserve for whatever must run at the end of a session (handoff notes, summaries): a job that dies mid-flight costs more than one that never started.

Sources, in order

  • Claude: live https://api.anthropic.com/api/oauth/usage call using the token in ~/.claude/.credentials.json → optional --claude-observation PATH file → ~/.claude.json cache (cachedUsageUtilization, only refreshed by an interactive /usage call, can be hours stale).
  • Codex: CodexBar's local cache: %APPDATA%/CodexBar/codex-accounts/snapshots.json on Windows, ~/Library/Application Support/CodexBar/codex-account-snapshots.json on macOS (Swift Codable format), or $XDG_CONFIG_HOME/CodexBar/codex-accounts/snapshots.json on Linux (~/.config by default, when a compatible writer exists). Then the newest dated core rate_limits event in up to 40 recent files under $CODEX_HOME/sessions/**/*.jsonl (~/.codex by default). File modification time never stands in for measurement time. A malformed trailing line does not erase the last valid event. A newer empty measurement remains unknown.

Read the full file on GitHub · 86 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 26d ago First seen · 86 lines · 50 tokens per session scan A 2f15ce729ce5

Subscribe to this mod's changes

limit is a skill published in the GitHub repository avenoxai/avenoxskills (93 stars, last pushed 22d ago), licensed MIT. It adds 50 tokens to every session and 1,135 once invoked, about $0.0002 per session on Opus 5.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-09-22.

Related

Other skills, from other repositories