stay-within-limits
Installation
SKILL.md
Stay Within Limits
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.
Core Loop
- Run a bounded wave of work. Default to at most 3 parallel subagents unless the user or host gives a different throttle.
- Wait for the wave to finish. Do not interrupt in-flight subagents just to save budget; that usually loses work.
- Check current 5-hour and weekly usage with the host's usage/budget tool.
- If either window is at or above 95%, stop launching work and schedule a self-contained resume when the relevant window should clear.
- On resume, re-check the real window or block before continuing. Do not trust elapsed wall-clock time alone.