accounts

accounts is a skill for Claude Code, Codex from MGrin/bb-plugin-accounts. It costs 21 tokens per session (418 once invoked), scanned A, original, MIT.

A skill for reading Claude and Codex subscription information and inspecting Claude account switching. It reports provider, account scope, observation time, freshness, and available subscription capacity without treating the report as a usage gate.

In plain words
What is it for?
Use it to inspect account telemetry, compare account observations, and diagnose unknown or unavailable subscription capacity.
Why use it?
It removes guesswork when checking which account is active or whether subscription capacity is known. It also distinguishes missing or stale information from confirmed availability.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to inspect account telemetry, compare account observations, and diagnose unknown or unavailable subscription capacity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mgrin/bb-plugin-accounts/accounts
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add MGrin/bb-plugin-accounts --skill accounts
Clone the repo
git clone --depth 1 https://github.com/MGrin/bb-plugin-accounts

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for accounts

README.md
[![agentmods](https://agentmods.dev/badge/skills/mgrin/bb-plugin-accounts/accounts/github.svg)](https://agentmods.dev/skills/mgrin/bb-plugin-accounts/accounts)
Your own site
<a href="https://agentmods.dev/skills/mgrin/bb-plugin-accounts/accounts"><img src="https://agentmods.dev/badge/skills/mgrin/bb-plugin-accounts/accounts/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for accounts

Your own site · 80×15
<a href="https://agentmods.dev/skills/mgrin/bb-plugin-accounts/accounts"><img src="https://agentmods.dev/badge/skills/mgrin/bb-plugin-accounts/accounts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 418 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00418
Opus 5 $0.00010 $0.00209
Sonnet 5 $0.00004 $0.00084
Haiku 4.5 $0.00002 $0.00042

Measured 2d ago against content hash ad8a6c557cb4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-15, from the pricing page.

Security

Grade A, and why

accounts scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/accounts/SKILL.md · 32 lines

What it actually says

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.
  • The source invokes only mx spawn availability, bounded to 10 seconds, 256 KiB and at most once per minute across callers. It performs no inference or auth mutation.

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> deliberately changes live Claude credentials. Telemetry has no Codex switch command, routing controls, Pooler integration or credential exports.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 32 lines · 21 tokens per session scan A ad8a6c557cb4

Subscribe to this mod's changes

accounts is a skill published in the GitHub repository MGrin/bb-plugin-accounts (3 stars, last pushed 3d ago), licensed MIT. It adds 21 tokens to every session and 418 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-13.