Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

jamsession-get-agent-usage

БесплатноБез исполняемых скриптовНе проверен

Report provider usage, quotas, remaining capacity and reset times; not installation or authentication-only checks.

jamonholmgrenот jamonholmgren★ 26 звёзд на GitHub

Об этом скилле

Get Agent Usage

  1. Run jamsession usage --json for 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.

  2. 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.

  3. 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.

  4. 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.

  5. Fill the Forecast column with one of 📉 Run out, 🎯 Just right or 📈 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.

  6. 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.

  7. 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.

  8. After the table, state how many providers returned usage out of the total. Mention unavailable providers in one concise sentence. If diagnostics show

Полный SKILL.md на GitHub

Установить jamsession-get-agent-usage в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yaml

FAQ

Что делает скилл jamsession-get-agent-usage?

Report provider usage, quotas, remaining capacity and reset times; not installation or authentication-only checks.

Как установить скилл jamsession-get-agent-usage?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл jamsession-get-agent-usage запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить jamsession-get-agent-usage с