Langsung ke konten
Skillpedia
Agen7.4k Β· #13229

codexbar

Fungsinya

Skill ini memakai alat baris perintah CodexBar untuk membaca batas penggunaan dan sisa kredit dari akun layanan AI. Skill ini untuk orang yang ingin tahu seberapa banyak paket AI mereka yang tersisa.

Kapan dipakai

  • βœ“Saat Anda bertanya berapa banyak sisa Codex, Claude, atau layanan AI lain yang Anda miliki.
  • βœ“Ketika Anda ingin memeriksa batas laju atau sisa kredit.
  • βœ“Saat Anda ingin melihat kapan batas penggunaan direset.

Link skill

https://github.com/steipete/agent-scripts/blob/main/skills/codexbar/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/steipete/agent-scripts/blob/main/skills/codexbar/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBerapa sisa penggunaan Claude saya, dan kapan batas saya direset?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent menjalankan alat CodexBar, yang membaca sesi masuk yang sudah ada atau login baris perintah, lalu melaporkan batas dan waktu reset. Tidak ada rahasia yang diketik ke dalam perintah.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

CodexBar

Use this when asked about AI subscription usage, rate limits, remaining credits, or "how much Codex/Claude/Kimi do I have left".

CLI

  • Binary: codexbar (Homebrew)
  • Default invocation honors the in-app provider toggles:
codexbar usage
codexbar usage --format json
  • Specific provider (--provider accepts codex, claude, kimi, gemini, copilot, cursor, openrouter, and many more β€” see codexbar --help):
codexbar usage --provider codex --json
codexbar usage --provider claude --json
  • Multiple accounts: --account <label>, --account-index <n>, or --all-accounts (single provider only).

Auth model

Provider fetches ride existing sessions β€” OAuth caches, CLI credentials, or browser cookies. No secrets are passed on the command line.

  • Codex: OpenAI web dashboard via oauth; falls back to Codex CLI.
  • Claude: claude.ai API via browser session cookie; falls back to Claude CLI. "No Claude session key found in browser cookies" means log in to claude.ai in a supported browser (or rely on the CLI fallback).
  • Token-based providers read the CodexBar config file.

Dashboard endpoints

The menu bar app serves its dashboard on loopback. The page pulls /dashboard/v1/snapshot and /cost; there is no /api/* namespace, so those paths 404 rather than telling you that you guessed. The snapshot endpoint requires auth, so when the CLI is unavailable the quickest honest check is to open the dashboard in a browser.

usage --all-accounts polls every account serially and takes well over ninety seconds. If it produces zero bytes on both stdout and stderr, it is not slow, it is blocked: the CLI is a helper inside CodexBar.app, and a pending macOS Gatekeeper prompt stops it dead with no output. Screenshot the screen before debugging the command.

Interpreting output

  • Errors for providers that were never configured are noise, not failures β€” only report providers the user actually uses.
  • Report percentage left, pace vs. expected, and reset time; the pace line ("in deficit"/"in reserve") is the actionable bit.
  • Claude rows read claude-swap stored backups, which produces two confusing readings. The currently active slot shows as having no stored credentials, because the live login is an active profile and its backup only materialises when you switch away. And claude-swap keeps a last seen percentage that keeps rendering for accounts whose credentials are gone, so a dead account can read as healthy for days. A plausible percentage is not proof of a working credential; only refresh token yes in claude-swap list --token-status is.
Pertanyaan umum

Apakah ini memerlukan kata sandi saya?

Tidak. Pencarian penyedia memakai sesi masuk yang sudah ada, dan tidak ada rahasia yang dimasukkan ke baris perintah.

Apa yang harus dilakukan jika Claude melaporkan tidak ada kunci sesi?

Skill ini menyarankan untuk masuk ke claude.ai di peramban yang didukung, atau memakai jalur cadangan baris perintah.

Bisakah skill ini memeriksa beberapa akun?

Bisa. Skill ini bisa memilih akun berdasarkan label atau indeks, atau memeriksa semua akun untuk satu penyedia.

Detail

Deskripsi asli dari pembuat

AI service usage/quota via CodexBar CLI: Codex/OpenAI, Claude, Kimi and other provider limits, credits, reset times.

repo: steipete/agent-scripts

Popularitas

Bintang GitHub
7.4k
Peringkat
#13229
Lisensi
MIT
Diperbarui
30/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa