Executes Bash commands after user-specified delays like 30s, 5m, or 1h30m. Parses durations to seconds, runs short delays (<10m) synchronously or long ones in background with task IDs.
npx claudepluginhub joshuarweaver/cascade-code-general-misc-1 --plugin paulrberg-agent-skillsThis skill uses the workspace's default tool permissions.
Wait for a specified duration, then execute a Bash command.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
Wait for a specified duration, then execute a Bash command.
30s, 5m, 1h, 1h30m)| Format | Example | Meaning |
|---|---|---|
Xs | 30s | 30 seconds |
Xm | 5m | 5 minutes |
Xh | 1h | 1 hour |
XhYm | 1h30m | 1 hour 30 minutes |
XhYmZs | 1h5m30s | 1 hour 5 min 30 s |
Convert the duration argument to seconds:
h), minutes (m), and seconds (s) componentshours * 3600 + minutes * 60 + secondsParsing logic:
duration="$1"
seconds=0
# Extract hours
if [[ $duration =~ ([0-9]+)h ]]; then
seconds=$((seconds + ${BASH_REMATCH[1]} * 3600))
fi
# Extract minutes
if [[ $duration =~ ([0-9]+)m ]]; then
seconds=$((seconds + ${BASH_REMATCH[1]} * 60))
fi
# Extract seconds
if [[ $duration =~ ([0-9]+)s ]]; then
seconds=$((seconds + ${BASH_REMATCH[1]}))
fi
For durations up to 10 minutes (600 seconds):
Run synchronously using the Bash tool with appropriate timeout:
sleep <seconds> && <command>
Set the Bash tool's timeout parameter to at least (seconds + 60) * 1000 milliseconds.
For durations over 10 minutes:
Run in background using run_in_background: true:
sleep <seconds> && <command>
Inform the user the command is running in background and provide the task ID for checking status.
After execution completes:
User: /delayed-command 5m npm test
sleep 300 && npm test (timeout: 360000ms)User: /delayed-command 1h git commit -m "auto-commit"
sleep 3600 && git commit -m "auto-commit"User: /delayed-command 1h30m ./deploy.sh
sleep 5400 && ./deploy.sh| Error | Response |
|---|---|
| Invalid duration format | Show supported formats and examples |
| Missing command argument | Prompt for the command to execute |
| Command not found | Report error after delay completes |
| Duration exceeds 24h | Warn user and suggest alternative (cron, at) |