NazmusSayad

Mysubs — AI skill for Claude Code

AI community

Check AI subscription usage across accounts and providers from the command line.

How to install Mysubs

This entry records only its repository, not the path inside it, so there is no exact command to give. Open NazmusSayad/mysubs and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Mysubs does

Check AI subscription usage across accounts and providers from the command line.

Alternatives in AI

  • Ccstatusline — by sirmalloc - A highly customizable status line formatter for Claude Code CLI that displays model info, git b 5.5k ★
  • onWatch — Open-source Go CLI that tracks AI API quota usage across 7 providers (Synthetic, Z.ai, Anthropic, Codex, GitHu 397 ★
  • Image Use — Use your ChatGPT subscription to generate images from the command line — no OPENAI_API_KEY, no gateway, no dae 373 ★

README

mysubs

Check how much of your AI subscriptions you have used, across accounts and providers, in one place.

Usage

mysubs            # show usage for all accounts
mysubs codex      # show only codex accounts
mysubs work       # show only the account with the alias "work"
mysubs codex:     # show only automatically detected codex accounts
mysubs codex claude zen # select multiple providers or accounts
mysubs -j         # print results as JSON
mysubs -f         # ignore the cache and fetch fresh data

Install

npm install -g mysubs

Configuration

Create `~/.config/mysubs/config.json`. Accounts that already exist on your machine (like Codex or Claude logins) are detected automatically, so you may not need a config file at all.

List your accounts in `accounts`, in the order you want them shown:

{
  "$schema": "https://github.com/NazmusSayad/mysubs/raw/refs/heads/schema/schema.json",
  "contrast": 0.4,
  "nerdFont": true,
  "maxWidth": 120,
  "accounts": [
    { "provider": "claude", "alias": "personal", "configDir": "~/.claude" },
    { "provider": "codex", "auto": true },
    {
      "provider": "codex",
      "alias": "work",
      "name": "Work",
      "configDir": "~/.config/codex"
    },
    { "provider": "codex", "adapter": "opencode-oauth" },
    { "provider": "openrouter", "apiKey": "env:OPENROUTER_API_KEY" },
    {
      "provider": "opencode",
      "product": "go",
      "apiKey": "env:OPENCODE_API_KEY"
    },
    {
      "provider": "opencode",
      "alias": "zen",
      "product": "zen",
      "cookie": "key:opencode-zen"
    },
    { "provider": "copilot", "source": "gh" },
    {
      "provider": "copilot",
      "alias": "copilot-work",
      "source": "token",
      "token": "key:copilot-work"
    }
  ]
}

`{ "provider": "codex", "auto": true }` puts the automatically detected Codex accounts at that position. `name` and `info` on an `auto` entry replace them on every account it detects. Providers that do n