jamonholmgren/jamsession/jamsession-get-agent-usage
Claude Code and agent skill by jamonholmgren/jamsession
- community
Checking that the SKILL.md file is still in the repository.
Report provider usage, quotas, remaining capacity and reset times; not installation or authentication-only checks.
Install
npx vskill@latest install jamonholmgren/jamsession/jamsession-get-agent-usageSKILL.md
The same SKILL.md was published earlier as jamonholmgren/jamsession/jamsession-get-agent-usage.
Get Agent Usage
- Run
jamsession usage --jsonfor all providers, or `jamsession usage
<provider> --json when the user names one provider. Use usage, not status`, because this task needs structured quota data rather than readiness diagnostics.
- Treat exit status 2 as a valid partial result and format every provider returned.
If the command produces no valid JSON, report the command failure plainly.
- Omit session windows and Codex Spark primary/secondary windows. Present the
remaining useful quota windows in command provider order:
| Provider | Window | Remaining | Resets | Forecast |
|---|
The command lists a weekly window before a 5-hour session window. Failover uses that longer window for its threshold. When a row includes account, show that login in the Provider cell (Claude (personal)) and keep each account's windows separate. Accounts are different quota pools. Do not add them together. When a row includes spend, show that calendar month's usd against budget_usd for that account. Do not add spend across accounts.
- Use title-case provider names, concise window labels, and percentage signs on
remaining_percent. Do not show used_percent. Keep gpt-reserve; it is the Codex base_model_inference weekly bucket, although Codex does not expose which exact models or fallback path consume it. Report only Claude's All Models (weekly) window; omit its separate Fable window. Repeat the provider name on every row, including when it has multiple windows. Put a remaining-quota indicator immediately before the name in the Provider column: ๐ข above 70%, ๐ก above 50% through 70%, ๐ above 0% through 50%, ๐ด at 0%, and โช๏ธ when usage is unavailable. Do not add a Used column. For Cursor, report Included and Auto as separate breakdown rows when available, but omit its API/Other models category entirely; never include that category in a usage report.
- Fill the Forecast column with one of
๐ Run out,๐ฏ Just rightor
๐ Extra. It says where usage lands at reset if the pace so far continues. Project used_percent รท fraction of the window elapsed, using window_minutes and the reset time to find the elapsed fraction. A projection of 110% or more is ๐ Run out, 90% to under 110% is ๐ฏ Just right, and under 90% is ๐ Extra. A window already at 0% remaining is ๐ Run out. A window with 0% used is ๐ Extra. Use an em dash when usage is unavailable, or when the window length or reset is unknown and usage is above 0%. Antigravity exposes no window length: when it has a reset, assume a 7-day window, mark its forecast with an asterisk, and say after the table that the window is assumed. Early in a window the projection is noisy; say so in one sentence after the table when a row's window is under 20% elapsed. State the thresholds once after the table.
- Normalize every reset to Pacific time. Format dates as
Sept 14 (in 7 days).
For today or tomorrow only, add the compact reset time, such as Sept 8 (tomorrow @ 9:12pm). Use calendar-day differences, not elapsed 24-hour periods. Cursor's monthly plan resets on the 21st; when its CLI does not expose a reset, use the next applicable 21st and calculate the day count. Devin may expose only a reset countdown; retain it without inventing a precise reset timestamp. For Muse, preserve observed_at as an โas ofโ note rather than presenting a retained observation as a live balance. A reset of 1970-01-01T00:00:00Z is an empty value: show Not exposed.
- For a provider whose usage is unavailable, include one row with
Usage unavailable in the Window column and em dashes elsewhere. Do not imply that the provider itself is unavailable or unauthenticated. Grok and Copilot collection opens their supported interactive /usage screens through a local Python PTY. Copilot runs in a fresh temporary folder, accepts only the session-local trust prompt, and uses plan mode; do not substitute model-reported usage, session-token counts, or a private API. Devin reads its startup subscription screen without a prompt. Muse uses its official CLI usage/read method, falling back to its local /usage screen in a fresh temporary folder with shell and writes disabled. Preserve the screen's literal as-of/reset text when no full timestamp is exposed. usage_not_observed means neither source provided quota, not that the account is unauthenticated or unused. Do not start a model turn or login/reset to manufacture a report. Antigravity (agy/gemini) reads the native print-mode /usage command without a model turn. Report one row, Gemini Models. Its Claude and GPT window matches Gemini, so omit it.
- After the table, state how many providers returned usage out of the total.
Mention unavailable providers in one concise sentence. If diagnostics show why collection failed, state that briefly; distinguish an unreadable usage screen from an authentication failure. Do not dump raw JSON unless asked.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/jamsession-get-agent-usage/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jamonholmgren/jamsession/jamsession-get-agent-usage)