원클릭으로
codex-reset-credits
Query the current Codex account's available rate limit reset credits and expiration times.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Query the current Codex account's available rate limit reset credits and expiration times.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Delegate the current task through subagents.
Grill the user relentlessly about a plan or design.
Handoff, migrate, branch, or take over checkpoint context from a source session folder into a target current session folder. Use when the user asks to save restored context into a new session, transfer checkpoint context, or branch a session.
Restore session context read-only from checkpoint files. Use when the user asks to restore, read, recover, resume, or rebuild context from the current checkpoint or a specified session folder without saving, migrating, branching, or writing a target checkpoint.
Review the actual work referenced by checkpoint files and write REVIEW.md. Use when the user asks to review, audit, evaluate, inspect, or critique a current or specified session folder's work without restoring context or continuing implementation.
Save or refresh session checkpoints by writing CONTEXT.md and HISTORY.md. Use when the user asks to save, update, refresh, checkpoint, persist, or record current session context for long-running, multi-session, handoff-based, or review-driven agent work.
| name | codex-reset-credits |
| description | Query the current Codex account's available rate limit reset credits and expiration times. |
查询当前机器上 Codex Desktop 登录账户的 rate limit reset credits, 包括可用数量, 获取时间, 过期时间, 兑换状态和来源标识.
优先使用 scripts/check_reset_credits.py, 它会从 ~/.codex/auth.json 读取当前 Codex 登录态, 调用 https://chatgpt.com/backend-api/wham/rate-limit-reset-credits, 并默认输出脱敏后的 Markdown 摘要.
~/.codex/auth.json 并访问 chatgpt.com; 不要输出 access token.python scripts/check_reset_credits.py
expires_at 从近到远排序.可选参数:
--raw: 输出后端原始 JSON. 只有在用户明确需要排查接口字段时使用, 因为原始响应可能包含邮箱, 头像 URL 或用户标识.--json: 输出脱敏后的 JSON 摘要, 适合需要机器读取时使用.--auth PATH: 指定其他 auth.json 路径.--timeout SECONDS: 调整请求超时时间.access_token.id; 如果用户需要排查, 只展示末尾 8 到 12 位即可.Available reset credit count: 2
Total earned count: 1
| 序号 | 状态 | 过期时间 (UTC+8) | 来源 |
| --- | --- | --- | --- |
| 1 | available | 2026-07-15 02:25:39 | @example |
YYYY-MM-DD HH:MM:SS.status 不是 available, 保留该状态, 不要把它计入可用机会.~/.codex/auth.json 不存在: 告诉用户当前机器没有可用 Codex 登录态, 需要先登录 Codex Desktop.access_token 或 account_id 缺失: 说明 auth 文件结构与预期不一致, 不要猜测 token 位置; 可在不输出敏感值的前提下检查顶层键名.401 或 403: 说明登录态可能过期, 账户不匹配, 或后端权限拒绝; 建议用户重新登录 Codex Desktop 后重试.chatgpt.com 失败, 可稍后重试或在允许网络访问的环境中运行.