Not in the top 1,000 by GitHub stars

sudoHG/codex-reset-credits-skill

Codex Skill and runbook for querying banked Codex reset credits / Codex 重置机会过期时间查询Skill,可以安装后查询,也支持不安装一次性查询

History

Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.

View weekly changes

codex-reset-credits/SKILL.md

Week of Oct 26, 2026 · Line counts unavailable

Before Not checked yet → After Network or broad shell

First observation → b198024a1e7a

No earlier version was observed for comparison.

Compare on GitHub

View on GitHubAdd to my skills

Verified commit b198024a1e7a43dbe4e03bebf12d8b433df11b45

78GitHub stars
-1star in 7 days
1skill in this repository
0commits in 30 days

Heat

0.1
  • Star growth, last 7 daysNot available
  • Star growth, last 24 hoursNot available
  • Rank movement, last 7 daysNot available
  • Commits, last 30 daysNot available
  • Accounts asking about it through MCP, last 7 daysNot available
  • Hot votes this weekNot available

Heat never changes the order by stars, and sponsorship never touches it. How heat works

Stars over time

Oct 25, 2026Nov 6, 202680

30-day change not yet available: not enough history.

Individual skills in this repository

How it works

codex-reset-credits

When your agent uses it

Query Codex banked reset credits from the local Codex Desktop login state and report available reset count plus expiration times. Use when the user asks to check Codex reset credits, reset opportunities, reset chances, reset count, rate-limit reset credits, or expiration times; also use when the user provides a codex-reset-credits-skill or codex-reset-credits runbook link and asks Codex to query the result directly.

What it loads into context

Frontmatter

97 tokens

Always available to the agent

SKILL.md

637 tokens

When the skill is activated

Reference documents

400 tokens

Loaded on request

Token counts are estimates. Scripts run separately; they are not counted as reference context.

The playbook

  1. Overview
  2. Workflow
  3. Safety Rules
  4. Failure Handling
  5. Link Runbook
  6. Maintenance Reference

Scripts executed separately

  • scripts/query_reset_credits.py

Files

  • SKILL.mdcore2,673 bytes
  • SKILL.mdcore2,673 bytes
  • agents/openai.yamlasset198 bytes
  • references/api.mddoc1,602 bytes
  • scripts/query_reset_credits.pyruns11,013 bytes
Read SKILL.md

# Codex Reset Credits

## Overview

Query Codex banked reset credits through the bundled read-only script. Return a concise, sanitized answer with available count and expiration times.

## Workflow

1. Run the bundled script:

   ```sh
   python3 "$SKILL_DIR/scripts/query_reset_credits.py" --json
   ```
View the complete source on GitHub

Skills included

  • codex-reset-credits

Repository facts

License
MIT
Created
Jun 28, 2026
Last pushed
Jun 30, 2026
Forks
4
Open issues
0
Project activity
Slowing

Before you install

Network or broad shell

Automated signals, not a guarantee

Checked Nov 5, 2026

Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.

Show 1 note
  • codex-reset-credits/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
Show all 24 signals by file

codex-reset-credits/SKILL.md

  • Access to secretsline 52
    [Credential-related source omitted]

codex-reset-credits/references/api.md

  • Network accessline 8
    GET https://chatgpt.com/backend-api/wham/rate-limit-reset-credits
  • Network accessline 16
    [Credential-related source omitted]
  • Access to secretsline 16
    [Credential-related source omitted]
  • Network accessline 17
    - Optional account id from either:   - JWT payload claim `https://api.openai.com/auth.chatgpt_account_id`   - `tokens.account_id` / `tokens.accountId`
  • Network accessline 18
    - JWT payload claim `https://api.openai.com/auth.chatgpt_account_id`
  • Access to secretsline 24
    [Credential-related source omitted]
  • Access to secretsline 47
    [Credential-related source omitted]

codex-reset-credits/scripts/query_reset_credits.py

  • Executable scriptline 1
    #!/usr/bin/env python3
  • Network accessline 26
    DEFAULT_ENDPOINT = "https://chatgpt.com/backend-api/wham/rate-limit-reset-credits"
  • Network accessline 27
    CHATGPT_ACCOUNT_ID_CLAIM = "https://api.openai.com/auth"
  • Access to secretsline 42
    [Credential-related source omitted]
  • Access to secretsline 44
    [Credential-related source omitted]
  • Access to secretsline 95
    [Credential-related source omitted]
  • Access to secretsline 107
    [Credential-related source omitted]
  • Access to secretsline 109
    [Credential-related source omitted]
  • Network accessline 120
    def request_reset_credits(endpoint: str, headers: Dict[str, str], timeout: int) -> Dict[str, Any]:     request = urllib.request.Request(endpoint, headers=headers, method="GET")
  • Network accessline 121
    request = urllib.request.Request(endpoint, headers=headers, method="GET")
  • Network accessline 122
    with urllib.request.urlopen(request, timeout=timeout) as response:
  • Access to secretsline 206
    [Credential-related source omitted]
  • Access to secretsline 208
    [Credential-related source omitted]
  • Access to secretsline 209
    [Credential-related source omitted]
  • Access to secretsline 211
    [Credential-related source omitted]
  • Access to secretsline 212
    [Credential-related source omitted]

How the signals fit together

Facts from a static read of the files at the pinned commit. They describe what the code does, not why.

Declared and executed: 2 facts
Signal confidence: 24 facts

Works with

Agent compatibility, from the files in this repository
AgentStatusEvidenceInstall to
Claude CodeCompatibleStandard SKILL.md codex-reset-credits/SKILL.md.claude/skills/<skill-name>/
CodexCompatibleStandard SKILL.md codex-reset-credits/SKILL.md.agents/skills/<skill-name>/
CursorCompatibleStandard SKILL.md codex-reset-credits/SKILL.md.cursor/skills/<skill-name>/
Gemini CLICompatibleStandard SKILL.md codex-reset-credits/SKILL.md.gemini/skills/<skill-name>/
GitHub CopilotCompatibleStandard SKILL.md codex-reset-credits/SKILL.md.github/skills/<skill-name>/
OpenCodeCompatibleStandard SKILL.md codex-reset-credits/SKILL.md.opencode/skills/<skill-name>/
  • Native The repository ships a manifest, folder or frontmatter field for this agent.
  • Compatible A standard SKILL.md that this agent can read.
  • Unknown No evidence either way.

Derived automatically from paths, manifests and frontmatter. Not tested on each agent.