Codex Rate Limit Resetのロゴ

Codex Rate Limit Reset

コミュニティ
AFrayde01
codex-rate-limit-reset

Inspect Codex Desktop local state to report standard primary and secondary rate-limit windows plus any locally-stored reset-coupon availability metadata. Use when the user asks when their Codex rate limit resets, how much quota is left, whether reset coupons are available, or whether local Codex state reveals when a reset coupon might expire.

概要

公開者AFrayde01
リポジトリcodex-rate-limits-skill
スキル名codex-rate-limit-reset
スター
26
フォーク
0
同梱ファイル
2
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    AFrayde01がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルCodex Rate Limit ResetをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/AFrayde01/codex-rate-limits-skill/tree/main/codex-rate-limit-reset
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AFrayde01/codex-rate-limits-skill.git /tmp/codex-rate-limits-skill
mkdir -p .claude/skills
cp -r /tmp/codex-rate-limits-skill/codex-rate-limit-reset .claude/skills/codex-rate-limit-reset
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでCodex Rate Limit Resetを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にCodex Rate Limit Resetを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Codex Rate Limit Resetは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Codex Rate Limit Reset

Overview

Read Codex Desktop's local session snapshots and persisted app state to report the latest known standard rate-limit windows and reset-coupon metadata.

When auth is available, prefer the live reset-credit endpoint to report exact coupon expirations. Fall back to local app-state metadata only when the live lookup is unavailable.

Use the helper script instead of hand-parsing .jsonl files.

Workflow

  1. Run the helper script:
bash
python3 scripts/read_rate_limits.py
  1. If the user mentions a specific thread or session file, rerun with one of:
bash
python3 scripts/read_rate_limits.py --thread-id <thread-id>
python3 scripts/read_rate_limits.py --session-file <absolute-path-to-rollout.jsonl>
python3 scripts/read_rate_limits.py --json
  1. If auth auto-discovery fails, point the script at the Desktop auth file explicitly:
bash
python3 scripts/read_rate_limits.py --auth "/Users/<user>/Library/Application Support/Parall/Codex/.codex/auth.json"
  1. Report:
  • the snapshot timestamp
  • the plan type
  • the primary and secondary windows
  • each window's used percent
  • each reset time as an exact local timestamp
  • the relative time remaining until reset
  • rate_limit_reached_type when present
  • reset-coupon availability and exact expirations from the live endpoint when available
  • the live coupon source used, or the local fallback source when the live lookup fails
  • any locally-stored coupon timestamp and what it does or does not mean when fallback data is all that exists
  1. State the evidence boundary clearly:
  • describe the standard windows as the latest local Codex session snapshot
  • describe live coupon data as coming from the Codex/ChatGPT backend reset-credit endpoint
  • describe fallback coupon data as local app-state metadata, not a live server-side account API
  • do not claim an exact coupon expiry unless the live endpoint or another dedicated expiry field exists
  • if only a local timestamp exists, label any derived deadline as an upper bound such as "expires no later than"
  • if no snapshot is found, say so plainly and avoid guessing

Output Rules

  • Prefer exact dates and times over vague phrases like "later today."
  • Keep timezone handling explicit when the user seems confused.
  • If the user only asks "when does it reset?", answer that first, then mention the secondary window if available.
  • If the user asks about reset coupons, answer that before the normal windows.
  • If the live coupon lookup succeeds, prefer the next exact coupon expiry over any derived local estimate.
  • If the only coupon timestamp is a dismissal or observation timestamp, explain that it is not the exact issuance time.
  • If the user asks for raw details or automation, use --json.

Notes

  • The script searches Codex session logs under CODEX_HOME/sessions first.
  • If CODEX_HOME is unset, the script falls back to common Codex Desktop locations, including the macOS app-support path used by Codex Desktop.
  • The script also searches common Codex auth paths, including the macOS app-support auth file used by Codex Desktop.
  • The newest matching snapshot is usually the best answer for the current thread.
  • Coupon metadata should come from the live reset-credit endpoint when available. Local global-state metadata remains a fallback because it may expose available coupon count without a true server-provided expiry timestamp.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Codex Rate Limit Reset」では何ができますか?

Inspect Codex Desktop local state to report standard primary and secondary rate-limit windows plus any locally-stored reset-coupon availability metadata. Use when the user asks when their Codex rate limit resets, how much quota is left, whether reset coupons are available, or whether local Codex state reveals when a reset coupon might expire.

TypingMindでCodex Rate Limit Resetを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Codex Rate Limit Resetはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにCodex Rate Limit Resetをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/AFrayde01/codex-rate-limits-skill/tree/main/codex-rate-limit-resetを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Codex Rate Limit Resetを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Codex Rate Limit Resetは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもCodex Rate Limit Resetを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Codex Rate Limit Reset」は無料ですか?

はい。AFrayde01がGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇