跳到正文
cccskills
免费在 GitHub 公开

capacity

Show usage, limits and reset times for every signed-in AI account (Claude, Codex, Grok) as a card in chat, or a table in a terminal.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core星标 90(GitHub 90 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md3.0 KB
  • agents/openai.yaml124 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

/capacity

Use this when the user says /capacity or asks to see AI account usage.

Show usage, limits, and reset times for every signed-in AI account (Claude, Codex, Grok). The card comes from hq capacity. This skill never reads credentials, Keychain items, or provider APIs.

Step 1: Ask hq for the card

hq capacity --widget

Keep stdout as the fragment. Note the exit code. Do not pass --json with --widget (that is a usage error).

Stop with one step, hq capacity enable, when either of these is true:

  • hq is not on PATH.
  • The command exits 0 and the fragment says capacity is not enabled or collection is off.

Do not render a usage card and do not write the attention sentences in that case. If the widget tool from Step 2 is available and the fragment is that short not-enabled message, pass the fragment through unchanged and then stop. Otherwise print hq capacity enable and stop.

When --widget is an unknown option, or capacity is an unknown command, this hq-cli is too old. Say once that npm i -g @indigoai-us/hq-cli@latest adds the card. If hq capacity itself runs, show its table (Step 3) and stop. If capacity is unknown, stop after the install line. Do not invent a table.

Exit 0 with an HTML fragment means the ledger rendered. Go to Step 2 when mcp__visualize__show_widget is available. Otherwise go to Step 3.

Step 2: Render the card

  1. Call mcp__visualize__read_me once, silently, before the widget. Do not print its result.
  2. Call mcp__visualize__show_widget with widget_code set to the fragment exactly as hq capacity --widget printed it, and title set to ai_account_capacity.
  3. Do not edit the fragment. Do not recompute or retype any number in it.
  4. After the card, write at most 3 short plain sentences. Name only what needs attention: a used-up limit, the account with the most headroom, and the next reset that matters. Use the card's own labels. Do not restate a percent, a count, or a clock time. If nothing needs attention, write nothing after the card.

The card's Refresh button sends /capacity, which runs this skill again.

Step 3: Terminal table

Use this when mcp__visualize__show_widget is not available (terminal Claude Code, Codex, Cursor), or when Step 1 found that --widget is unknown and hq capacity still runs:

hq capacity

Show that table as printed. Do not paste the HTML fragment in its place. Do not recompute its numbers.

Adding an account

To add another signed-in account, point the user to hq capacity login. Do not log in from this skill.

Rules

  • The only command is hq capacity. No credential files, no Keychain, no provider HTTP APIs.
  • hq missing, or capacity not enabled: hq capacity enable, then stop.
  • Refresh re-runs /capacity.
  • Do not change the fragment.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

accept

免费

Accept HQ membership invites from a magic link or raw token.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

adr

免费

Capture qualifying architecture decisions as ADRs in the right HQ or repo location.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

architect

免费

Find shallow modules and propose deepening refactors, ranked with file refs; never edits code. Use when code is hard to change or planning a refactor.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

Generate dark ASCII banner graphics for HQ and social launch assets.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

Compare approaches to best-in-class prior art, merge existing work, verify cruft removal, and recommend the most durable design before PRD work.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

查看 indigoai-us 的全部技能

报告此技能的问题