From Builder Skills
Manages 5-hour and weekly usage limits during long-running or parallel agent work by checking usage between waves, pausing near the cap, and resuming when clear.
How this skill is triggered — by the user, by Claude, or both
Slash command
/builder-skills:stay-within-limitsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Keep long-running agent work inside the current 5-hour and weekly usage windows.
Keep long-running agent work inside the current 5-hour and weekly usage windows. Check usage before launching substantial work and between waves of parallel subagents. If an active 5-hour or weekly limit is at or above 95%, pause new work until the window is clear enough to continue safely.
Prefer a first-party host usage tool when available. In Claude Code, use:
npx -y ccusage@latest blocks --active --json
Use the JSON to identify the active block start, current cost or percentage, and time remaining. On wake, compare the active block start timestamp with the previous one; a new timestamp is stronger evidence than "enough time passed."
If the tool reports cost instead of a direct percentage, convert through the current account limit when known. For Claude Max-style 5-hour blocks, some users prefer an earlier caution threshold around $500-550; treat that as a user-configured guardrail, not a universal rule. The default stop rule is still 95% of the active 5-hour or weekly limit.
When a wake/resume tool is available, schedule a wakeup for:
min(3600, secondsUntilWindowClears)
If the runtime clamps wake delays to 60-3600 seconds, chain wakeups for longer waits. Each wakeup should re-check usage, reschedule if still over budget, and continue only when the window is safely below the threshold.
Make wake prompts self-contained. Include:
Avoid short-interval polling for things the host will notify you about, such as background task or subagent completion. For budget pauses, a prompt-cache miss after a long sleep is acceptable; preserving the limit matters more.
If you pause, tell the user which window is over threshold, the observed usage, when you scheduled or expect the next check, and what work remains. Keep enough state in the wake prompt that the next turn can resume without relying on conversation momentum.
npx claudepluginhub welldundun/frontier-builderio-skills-forkManages 5-hour and weekly usage limits during long-running or parallel agent work by checking usage between waves, pausing near the cap, and resuming when clear.
Runs tasks autonomously until the 5-hour usage window is nearly spent, stopping at a configurable threshold to avoid rate limits. Supports weekly cap with --window 7d and optional queueing for next block.
Governs API budget caps, reset rules, and commit-identity gate for Claude Code. Activates when starting autonomous work, spawning subagents, near a limit, or before a commit.
7plugins reuse this skill
First indexed Jun 11, 2026
Showing the 6 earliest of 7 plugins