Installs into .claude/skills of the current project.
Are you the author of Accounts?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mgrin-accounts)
---
name: accounts
description: Read custom Claude and Codex subscription telemetry, or switch captured Claude/Codex accounts in the accounts plugin.
---
# Custom subscription accounts
`bb accounts telemetry [--json]` returns normalized provider observations. Version 1 has
`accounts[]` and separate thread `tokens[]`. Read `providerId`, `scope`, `observedAt`,
`fresh` and `capacity` together. A successful read exits 0 even when capacity is UNKNOWN;
this is a reporting command, not an admission gate.
- `capacity` is subscription headroom only: available, exhausted, unavailable or unknown.
Credits and token counts never make a subscription available.
- Codex's main `codex` bucket controls ordinary capacity. Spark is shown separately.
- Use `email` or `label` for display, never `accountId`. `codex_account_email` comes from
read-only `account/read` (`refreshToken: false`); missing email stays unavailable and
does not invalidate quota. The UI defaults to usage/reset, with diagnostics collapsed.
- A Codex local-session observation without `accountId` cannot identify an account. SDK
quota observations stay thread-scoped and cannot replace the current local snapshot.
- Missing, malformed, stale, future-dated or incomplete main quota is UNKNOWN. A reset
passing is not evidence of recovery: read a fresh observation.
- Codex account rows read the private `~/.config/codex-usage/usage.json` slot cache (256 KiB max). The dotfiles usage-only poller gathers native app-server quota in isolated credential homes every 180 seconds. Stale rows are UNKNOWN. `slot` and `active` identify the live login on disk, not every running process.
The legacy `bb accounts list`, `outage`, `place`, `auto`, `switch`, `log`, `stats` and
`forecast` commands remain Claude-only. In particular, `outage` includes Claude paid
credits by design; it is not the new subscription-only capacity field.
`bb accounts switch <slot>` changes live Claude credentials.
`bb accounts codex use <slot>` changes the live Codex login through the dotfiles
`codex-acct` helper with expected-current identity protection. Capture logins using
`codex-acct capture <slot>` after an official human sign-in. Never read or print auth blobs.
`bb accounts codex auto` runs one decision; `codexAutoSwitch` defaults off. Enable only
after running-session refresh behavior has been verified. `codexSwitchAt` defaults to
97; candidates require fresh free main windows and the helper rechecks capacity during
switching. Cooldown is 120 seconds. Spark and credits cannot make a candidate eligible.
The usage page includes native Codex response tokens by model/repo/directory. Input
includes cache; output includes reasoning; neither maps to quota percent. Missing turn
context is shown as unknown/unresolved. Codex forecasts use each account/window's own
measured quota history; they remain provisional until three days, 1,440 polls, and 1,296
valid adjacent intervals. Forecasts stop at reset and do not predict post-reset use.