sleep

Installation
SKILL.md

sleep - Pausing & Periodic Scheduling

The sleep module enhances the standard sleep command by supporting human-readable time formats and offering integrated scheduling for repeating tasks.

When to Activate

  • When a script needs to pause for a duration like 5m or 1h30m.
  • When creating a periodic "beacon" that outputs timestamps.
  • When scheduling a command to run at regular intervals (polling, backups, tests).

Core Principles & Rules

  • Time Units: Use s, m, h, d for intuitive duration specification.
  • Combined Command: Pause then immediately execute a command using x sleep <time> <command>.
  • Scheduled Loops: Use schd for controlled repeating tasks, with optional iteration limits (-n).

Patterns & Examples

Delay Script

# Pause for 1 minute then continue
Related skills

More from x-cmd/skill

Installs
3
Repository
x-cmd/skill
GitHub Stars
20
First Seen
Apr 10, 2026