Current limits
current_limitsRetrieve remaining Claude usage limits for 5-hour, weekly, and per-model windows, plus per-product breakdowns for Claude Code, chat, and Cowork. Optionally log the current snapshot before it resets.
Instructions
Asks Anthropic what is left right now: the 5-hour, weekly and per-model (Fable) limits, plus the per-product breakdown (Claude Code / chat / Cowork). Reads Claude Code's credentials from the macOS keychain and sends them only to api.anthropic.com. record=true appends one sample to data/usage-log.jsonl — the breakdown covers only the current weekly window and is gone once that window rolls over, so it is worth recording now and then.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | No | Append one sample to the log file |