ratelimit-warn
by jiikko · ★ 2 · updated yesterday
Claude の 5h 枠が閾値を超えていたらプロンプトに 1 行注入し、status line にも出す (settings の hook ratelimit-warn.sh の mod 版。issue 658)
Install
git clone https://github.com/jiikko/dotfilesclaude --plugin-dir ./dotfiles/_claude/mods/ratelimit-warnThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startsession.measureclassic.UserPromptSubmit- API calls
$.clock.every$.clock.now$.env.get$.env.set$.fs.read$.state.get$.state.set$.ui.status- Can see
classic hooks- Reach
- level 2 of 3 other: $.state.getother: $.state.setsets env varsreads filesreads env varsdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/jiikko/dotfiles
- Path in repo
_claude/mods/ratelimit-warn- Source commit
f3402fcthe exact code the scan read- Author
- @jiikko
- License
- No license declared — ask the author before reusing code.
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from jiikko/dotfiles
desktop-statusline
jiikko/dotfiles
Claude desktop の Code タブに、CLI と同じステータスバー (statusline-command.sh の出力) を色つきで出す (issue 625)
issue-band
jiikko/dotfiles
期限切れ・期限が近い human と未決着の retro があるときだけ、プロンプトの上の帯に出す (issue 621)
peer-inbox
jiikko/dotfiles
他セッションとの SendMessage の送受信を、プロンプト直上の帯・toast・status line に残す (transcript が流れても消えない写し)
tool-elapsed
jiikko/dotfiles
長く走っている tool 呼び出し (codex exec / swift test / make test …) の経過時間をプロンプトの上の帯に出し、5 分ごとに toast で知らせる