Sleep Gate

Bridge an agent across a rate-limit window (or other bounded wait) without burning tokens during the wait. Captures durable resume state, runs a pre-sleep checklist, then kicks off `Bash(command="sleep N", run_in_background=true)` so the harness fires a `<task-notification>` on wake. The agent resumes from a breadcrumb file. Use when work continues across a quota reset and the user is stepping away. Do NOT use for context-window pressure, event-driven waits (use Monitor), inside `/loop` (use ScheduleWakeup), or short waits (< ~1 minute).

jonbond5 Updated

File contents

jonbond5/claude-code-skills/tree/main/plugins/agent-waits/skills/sleep-gate commit c98ebdf40f

Frequently asked questions

npx skillmds@latest add jonbond5/sleep-gate