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가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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 (
--provideraccepts codex, claude, kimi, gemini, copilot, cursor, openrouter, and many more — seecodexbar --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-swapstored backups, which produces two confusing readings. The currently active slot shows as having no stored credentials, because the live login is anactive profileand its backup only materialises when you switch away. Andclaude-swapkeeps alast seenpercentage 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; onlyrefresh token yesinclaude-swap list --token-statusis.
자주 묻는 질문
비밀번호가 필요한가요?
아닙니다. 제공자 조회는 기존 로그인 세션을 사용하며, 명령줄에 비밀 정보를 넣지 않습니다.
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.
댓글
- …
이 저장소의 다른 스킬
beeper
7.4k에이전트가 로컬 Beeper 채팅 기록을 검색해 메시지를 찾고, 모호한 힌트가 어느 채팅이나 연락처를 가리키는지 알아내도록 돕습니다.
cloudflare-registrar
7.4k에이전트가 Cloudflare Registrar에서 도메인 가격과 사용 가능 여부를 확인하고, 확인 단계를 거쳐 도메인을 등록하거나 목록을 조회하도록 돕습니다.
create-cli
7.4k에이전트가 명령줄 도구의 명령, 옵션, 도움말, 출력, 오류를 설계해 사람과 스크립트 모두가 쓸 수 있도록 돕습니다.
frontend-design
7.4k에이전트가 분명한 디자인 방향을 가진 제품 수준의 웹 인터페이스를 만들도록 돕고, 흔한 AI풍 레이아웃은 피합니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.