Sleep on Done
Puts macOS to sleep immediately after all tasks are finished.
Command
pmset sleepnow
Behavior & Rules
- Absolute Final Step: Always execute
pmset sleepnowas the very last action. All code changes, tests, git operations, and notifications (e.g.slack-notify) must complete first. - Failure Handling: Unless explicitly instructed to sleep regardless of errors, do not sleep if a command or test fails, allowing the user to inspect the failure.
- Execution Patterns:
- Agent-managed: Complete the task, provide the final response, then run
pmset sleepnowas the last command. - Shell chaining:
```bash
command && pmset sleepnow
```