360 Secure SkillHub
360 安全技能中心

Sleep Tool

该 Skill 提供命令行工具 sleep-tool,按指定时长暂停脚本执行,支持秒、分、时、天后缀,默认单位为秒。适用于脚本计时、操作间隔等待与调度延迟等场景,不包含定时调度或任务管理能力。

dinghaibin
dinghaibin
热度 32.39
最近更新 2026-05-11 17:47:18
分类:自动化依赖:代码执行应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add sleep-tool
Metadata
name
sleep-tool
description
Delay execution for a specified amount of time. Use for timing in scripts, waiting between operations, and scheduling delays.

Sleep - Execution Delay Utility

Pause script execution for a specified duration. Supports seconds, minutes, hours, and days for flexible timing control in automation scripts.

Usage

sleep-tool <duration>

Duration can be specified with suffixes: s (seconds), m (minutes), h (hours), d (days). Default is seconds if no suffix given.

Examples

sleep-tool 5
sleep-tool 30s
sleep-tool 2m
sleep-tool 1h