reset-gpt-budget
Reset the GPT usage limit for the Codex CLI interactive session running in tmux. Always ask the user for confirmation ("Are you sure you want to reset the GPT usage?") before proceeding. Use when the
SKILL.mdreset-gpt-budget/SKILL.md
GitHubReset GPT Budget (Codex Usage Limit)
Use the bundled helper to reset the GPT usage limit for the Codex CLI session:
/home/chihmin/.pi/agent/skills/reset-gpt-budget/scripts/reset-gpt-budget.sh
Workflow
Always ask the user for confirmation before running the helper:
Are you sure you want to reset the GPT usage?
If the user confirms, run the helper script.
The helper:
- Ensures a tmux session named
codex-sessionexists (startscodexif not running). - Sends
/usageto the session and confirms withy. - Reports success.
- Ensures a tmux session named
Guardrails
- Never reset the GPT usage without explicit user confirmation.
- Only interact with the
codex-sessiontmux session. - Do not kill or recreate the session unless explicitly requested.
- If the session is not found, create a fresh one and wait for the TUI to fully load before sending commands.