get_usage
Reads local Claude Code, Codex, and OpenCode logs to report token totals, equivalent cost, streaks, and per-agent and per-model breakdowns across all-time, yearly, 30-day, and 7-day windows.
Instructions
Total local AI coding agent usage: tokens, equivalent cost, streak, active days, per-agent mix and per-model breakdown. Windows are all time, the current calendar year so far, the last 30 days and the last 7 days. Reads logs on this machine; makes no network request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agents | No | Restrict the read to these agents. Omit for all of them. |