본문으로 건너뛰기
Skillpedia
에이전트7.4k · #13229

codexbar

하는 일

이 스킬은 CodexBar 명령줄 도구를 사용해 AI 서비스 계정의 사용 한도와 남은 크레딧을 읽습니다. AI 요금제에서 얼마나 남았는지 알고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓Codex, Claude 또는 다른 AI 서비스가 얼마나 남았는지 물을 때.
  • ✓사용 한도나 남은 크레딧을 확인하고 싶을 때.
  • ✓사용 한도가 언제 초기화되는지 보고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/steipete/agent-scripts/blob/main/skills/codexbar/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Claude 사용량이 얼마나 남았고, 한도는 언제 초기화되는지 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 CodexBar 도구를 실행합니다. 이 도구는 기존 로그인 세션이나 명령줄 로그인을 읽고, 한도와 초기화 시간을 보고합니다. 명령어에 비밀 정보를 입력하지 않습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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.
자주 묻는 질문

비밀번호가 필요한가요?

아닙니다. 제공자 조회는 기존 로그인 세션을 사용하며, 명령줄에 비밀 정보를 넣지 않습니다.

Claude가 세션 키를 찾을 수 없다고 하면 어떻게 하나요?

스킬은 지원되는 브라우저에서 claude.ai에 로그인하거나 명령줄 대체 방법을 사용하라고 안내합니다.

여러 계정을 확인할 수 있나요?

네. 라벨이나 순번으로 계정을 고르거나, 한 제공자의 모든 계정을 확인할 수 있습니다.

상세 정보

작성자의 원본 설명

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

repo: steipete/agent-scripts

인기도

GitHub 스타
7.4k
순위
#13229
라이선스
MIT
업데이트
2026. 10. 30.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬