Limit logo

Limit

Community
avenoxai
limit

Show Claude and Codex subscription usage windows in one colored screen, live where possible. Use when the user asks "limit", "quota", "how much usage is left", or before choosing which model/pool to delegate a task to.

Overview

Publisheravenoxai
Repositoryavenoxskills
Skill namelimit
Stars
105
Forks
6
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by avenoxai on GitHub. Read the source before you install it.

Installation

Install the Limit AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/avenoxai/avenoxskills/tree/main/skills/limit
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/avenoxai/avenoxskills.git /tmp/avenoxskills
mkdir -p .claude/skills
cp -r /tmp/avenoxskills/skills/limit .claude/skills/limit
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Limit in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Limit on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Limit is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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):

bash
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:

ReadingDo
Both windows of a pool clearUse the pool normally. Don't hedge or narrate the number.
A window within ~5 points of fullNarrow 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 minWait 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 wallIt 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 unknownDelegate 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.

CodexBar cache files are not live fetches. Older than 45 minutes, future-dated, undated, or expired measurements are unknown. limitReached sentinels contain no trustworthy per-window percentages and are shown as unknown. Multiple accounts require --codex-account ID using the ID from the local snapshot file; records from different accounts are never combined. An unavailable selected account does not fall through to unscoped session data. Session fallback cannot prove that an event belongs to the currently signed-in account.

The Claude live path supports the credentials JSON file, not macOS Keychain-only credentials. In that case it falls back to observations/cache with a warning. The dashboard does not log tokens or follow authenticated HTTP redirects.

--claude-observation file schema

Wire your own statusline/hook to write a small JSON snapshot more often than the /usage cache refreshes, then pass its path with --claude-observation:

json
{"epoch": 1758100000, "five": 18.0, "seven": 92.0, "five_reset": 1758113500, "seven_reset": 1758350000}

epoch (unix seconds), five/seven (0–100, the 5-hour/7-day window percentages) are required; five_reset/seven_reset (unix seconds) are optional. Older than 45 minutes is ignored. All-zero values are treated as unreadable, not an empty pool — an upstream HTTP 429 can write 0 where it means "could not measure".

Limits

  • No per-model weekly windows for Claude (e.g. a Max-plan Opus-specific window) — whatever extra windows the live endpoint returns are shown, but nothing is synthesized if it doesn't return them.
  • CodexBar is optional; without it the script falls back to session rollout files, which are only written while codex is running and can be stale for days.
  • These are subscription usage windows (percent of a rolling quota), not token counts.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Limit AI skill do?

Show Claude and Codex subscription usage windows in one colored screen, live where possible. Use when the user asks "limit", "quota", "how much usage is left", or before choosing which model/pool to delegate a task to.

Why use Limit on TypingMind?

Because you install it once and use it with any model. Limit is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Limit in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/avenoxai/avenoxskills/tree/main/skills/limit. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Limit?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Limit?

As many as you like. As long as a model supports skills, you can use Limit with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Limit AI skill free?

Yes. It is published on GitHub by avenoxai under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇