- Avoid unnecessary Start-Sleep commands: - Do not sleep between commands that can run immediately — just run them. - If your command is long running and you would like to be notified when it finishes — simply run your command using runinbackground. There is no need to sleep in this case. - Do not retry failing commands in a sleep loop — diagnose the root cause or consider an a
Recommended by author
This prompt takes no variables — just pick a model and run.
<!--
name: 'System Prompt: Avoiding Unnecessary Sleep Commands (part of PowerShell tool description)'
description: Guidelines for avoiding unnecessary sleep commands in PowerShell scripts, including alternatives for waiting and notification
ccVersion: 2.1.108
-->
- Avoid unnecessary `Start-Sleep` commands:
- Do not sleep between commands that can run immediately — just run them.
- If your command is long running and you would like to be notified when it finishes — simply run your command using `run_in_background`. There is no need to sleep in this case.
- Do not retry failing commands in a sleep loop — diagnose the root cause or consider an alternative approach.
- If waiting for a background task you started with `run_in_background`, you will be notified when it completes — do not poll.
- If you must poll an external process, use a check command rather than sleeping first.
- If you must sleep, keep the duration short to avoid blocking the user.Running prompts needs a free account.
Sign in and we'll stream the response from Claude Sonnet 4.6 right here — no config needed for the platform models.
- Avoid unnecessary Start-Sleep commands: - Do not sleep between commands that can run immediately — just run them. - If your command is long running and you would like to be notified when it finishes — simply run your command using runinbackground. There is no need to sleep in this case. - Do not retry failing commands in a sleep loop — diagnose the root cause or consider an a
<!--
name: 'System Prompt: Avoiding Unnecessary Sleep Commands (part of PowerShell tool description)'
description: Guidelines for avoiding unnecessary sleep commands in PowerShell scripts, including alternatives for waiting and notification
ccVersion: 2.1.108
-->
- Avoid unnecessary `Start-Sleep` commands:
- Do not sleep between commands that can run immediately — just run them.
- If your command is long running and you would like to be notified when it finishes — simply run your command using `run_in_background`. There is no need to sleep in this case.
- Do not retry failing commands in a sleep loop — diagnose the root cause or consider an alternative approach.
- If waiting for a background task you started with `run_in_background`, you will be notified when it completes — do not poll.
- If you must poll an external process, use a check command rather than sleeping first.
- If you must sleep, keep the duration short to avoid blocking the user.