Skip to content

About

Keep your Claude Code / Codex 5h rate-limit windows back-to-back — auto-pings each provider the moment its window resets. | 在 5 小时限额窗口重置的瞬间自动触发计时,让 Claude Code / Codex 的窗口背靠背、不留空档。

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

60 stars

Watchers

0 watching

Forks

Repository files navigation

CCLimitPing

CCLimitPing

Never waste a minute of your Claude Code / Codex 5-hour window.
limitping starts your next rate-limit window the instant the last one resets — automatically.

Release CI Stars Platform MIT

English · 中文

The problem

A new 5h window only starts when you send your first billable request — not when the old one resets. Come back 2 hours late and those 2 hours are gone, and your schedule drifts.

Without limitping   |====== 5h ======|..... idle 2h .....|====== 5h ======|
With limitping      |====== 5h ======|====== 5h ======|====== 5h ======|
                                     ↑ auto-ping at reset

Quick start

curl -fsSL https://raw.githubusercontent.com/wavever/CCLimitPing/main/install.sh | sh
limitping status        # see your 5h / weekly usage and reset countdown
limitping bg start      # keep windows back-to-back in the background

Single binary, no Go required. Uses your existing claude / codex login — no new credentials, no telemetry. Want to look before it spends quota? limitping ping --dry-run.

Highlights

  • ⏱️ Back-to-back windows — pings each provider right after reset, via the official CLI.
  • 🧠 Never interrupts you — CLI hooks detect an active session and let it start the window itself.
  • 🌙 Auto-continue overnight tasks — limitping continue codex types "continue" the moment the limit recovers (Unix only; it needs a PTY).
  • 📊 Real token & cost numbers — today / week / month, from local session transcripts.
  • 🎟️ Don't lose reset credits — lists Codex reset credits and Claude reset cards; optional auto_redeem before expiry.
  • ⌨️ Short to type — every command works as lmp (lmp s, lmp w).
Provider Read usage (zero-quota) Trigger Auth
Claude Code …/api/oauth/usage interactive Claude Code CLI OAuth (Keychain / ~/.claude)
Codex …/backend-api/wham/usage codex exec --ephemeral OAuth (~/.codex/auth.json)

What a ping actually runs, and how usage is read without starting a window: How it works.

Docs

Privacy · Security · Contributing · Code of conduct

License

MIT © wavever

About

Keep your Claude Code / Codex 5h rate-limit windows back-to-back — auto-pings each provider the moment its window resets. | 在 5 小时限额窗口重置的瞬间自动触发计时,让 Claude Code / Codex 的窗口背靠背、不留空档。

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

60 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages