From session-budget
Monitors Claude Code session budget and pauses tasks before hitting the 5-hour limit. Useful for automated or long-running contexts.
How this skill is triggered — by the user, by Claude, or both
Slash command
/session-budget:budget-checkThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use when operating in automated or long-running contexts to avoid hitting the 5-hour Claude Code session limit mid-task.
Use when operating in automated or long-running contexts to avoid hitting the 5-hour Claude Code session limit mid-task.
python3 .claude/skills/session-budget/check.py
.env)| Usage | Action |
|---|---|
| < 80% | Proceed normally |
| 80–93% | Proceed; avoid spawning many subagents |
| ≥ 93% | Stop. Report: BUDGET_PAUSE: session at X% — resets at ~HH:MM. Task suspended. |
Reads ~/.claude/projects/**/*.jsonl locally. No API calls or network requests.
Default limit: 30,000,000 weighted tokens (Claude Max 5x, measured 2026-05-15); auto-refined from periodic /usage readings.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub star001-kr/claude-session-budget --plugin session-budget