Skip to content
Back to skills

Usage Limits

DSecurity

Live usage limits for Claude Code (5-hour and weekly) and OpenAI Codex. Shows how much is left, when it resets, pace and forecast, and sets up an always-visible status line with notifications. Use when the user asks how much usage is left, about rate limits or usage limits, or wants a usage-limits status line.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 18, 2026
ai-agentsgoshellnodenodejsgit

Works with

  • claude code

Security analysis

D42/100
  • criticalPipes output to a shell interpreter
  • mediumUses curl or wget to download content
  • criticalDownloads and executes remote scripts — classic supply chain attack

Pro shows the line behind each finding and how to fix it

Scanned November 18, 2026

npx -y skills add raffaeleciccone-analyst/claude-limiti --skill usage-limits --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Usage Limits?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Usage Limits
[![Security: D — Skills Directory](https://www.skillsdirectory.com/api/skills/raffaeleciccone-analyst-usage-limits/badge)](https://www.skillsdirectory.com/skills/raffaeleciccone-analyst-usage-limits)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: usage-limits
description: Live usage limits for Claude Code (5-hour and weekly) and OpenAI Codex. Shows how much is left, when it resets, pace and forecast, and sets up an always-visible status line with notifications. Use when the user asks how much usage is left, about rate limits or usage limits, or wants a usage-limits status line.
---

# Usage limits (claude-limiti)

This skill works with **claude-limiti**, a free, open-source (MIT) tool:
https://github.com/raffaeleciccone-analyst/claude-limiti

It runs locally only: no network connections, no dependencies, Node.js 18 or later. It reads the
limits that Claude Code passes to its status line and, for Codex, the limit lines in Codex's own
session files (`~/.codex/sessions`), never the messages.

Always reply in the user's language, in a few simple lines.

## 1. Is it installed?

Check whether one of these files exists:

- Claude Code: `~/.claude/skills/limiti/report.mjs`
- Codex: `~/.agents/skills/limiti/report.mjs`

If one exists, go to **Showing the limits**. Otherwise go to **Installing**.

## 2. Showing the limits

1. Run `node "<path of report.mjs found above>"`.
2. Summarize the output simply: for each limit, the percentage used, when it resets and whether
   the pace is fine. Put any history chart in a code block so it stays aligned.
3. If the output starts with `NO_DATA` or `NESSUN_DATO`: limits arrive after the first response of a
   session. Claude Code sends them only with a claude.ai Pro, Max or Ultra plan (`/usage` shows the
   same numbers); Codex writes them only when signed in with a ChatGPT account.
4. Give at most one tip, only when useful: if a limit will run out before it resets, suggest a
   lighter model or a lower effort for simple tasks; if everything is on pace, just say so.

To change how the status line looks, the installed `/limiti` skill handles it
(for example "/limiti change the bar style").

## 3. Installing (only after the user says yes)

Before running anything, tell the user in plain words what installing does, and ask for an
explicit yes:

- it downloads the latest release from GitHub; if the computer has no Node.js 18 or later, it also
  downloads the official Node.js LTS from nodejs.org (SHA-256 checked) and keeps only its
  executable in `~/.claude/limiti-runtime` (no admin rights, nothing installed system-wide);
- for Claude Code: copies the skill to `~/.claude/skills/limiti` and sets the `statusLine` entry in
  `~/.claude/settings.json` (a backup is saved once as `settings.json.bak-limiti`). If they already
  have a status line, the installer stops and changes nothing;
- for Codex: only copies a skill to `~/.agents/skills/limiti`; Codex itself is not changed;
- it can be removed at any time (same command with `--remove`).

Nothing needs to be installed first. The install scripts are short and public; if the user wants
to read them first, give these links and wait:
https://github.com/raffaeleciccone-analyst/claude-limiti/blob/main/install.ps1 (Windows) and
https://github.com/raffaeleciccone-analyst/claude-limiti/blob/main/install.sh (macOS, Linux).

Steps, once the user agrees:

1. Run the install command for their system:
   - Windows (PowerShell):
     `irm https://raw.githubusercontent.com/raffaeleciccone-analyst/claude-limiti/main/install.ps1 | iex`
   - macOS / Linux:
     `curl -fsSL https://raw.githubusercontent.com/raffaeleciccone-analyst/claude-limiti/main/install.sh | sh`
2. Options go at the end: `--codex` (only the Codex skill), `--force`, `--remove`.
   - Windows: `& ([scriptblock]::Create((irm https://raw.githubusercontent.com/raffaeleciccone-analyst/claude-limiti/main/install.ps1))) --codex`
   - macOS / Linux: `curl -fsSL https://raw.githubusercontent.com/raffaeleciccone-analyst/claude-limiti/main/install.sh | sh -s -- --codex`
3. If the installer says another status line is already configured, explain the choice and use
   `--force` only if the user explicitly asks to replace it (the old one is saved and restored on
   uninstall).
4. Tell the user to restart Claude Code: the bars appear after the first response.

Updating later: run the same command again (preferences are kept).

## Optional features

Mention them only if the user asks about notifications or customization:

- notifications at 80% and 95% and when a limit resets (Windows, macOS, Linux with notify-send);
- `scheduled_reset` (Windows, off by default): a one-time Windows scheduled task shows the "limit
  reset" notification even with every session closed, then deletes itself. Turn it on only after
  telling the user it creates that task and getting an explicit yes;
- with Codex in use, the Claude Code bar shows Claude and Codex rows with aligned columns.

Never change settings, replace a status line or create scheduled tasks without the user's
explicit agreement.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.