Resources
2Install
npx skillscat add cklxx/elephant-ai/timer-management Install via the SkillsCat registry.
SKILL.md
timer-management
定时提醒的设置、查询和取消。
调用
# 设置定时器
python3 scripts/cli/timer/timer_cli.py set '{"delay":"30m", "task":"喝水提醒"}'
# 查看所有定时器
python3 scripts/cli/timer/timer_cli.py list
# 取消定时器
python3 scripts/cli/timer/timer_cli.py cancel '{"id":"timer-12345"}'参数
set
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| delay | string | 是 | 延迟时间(30s / 5m / 2h) |
| task | string | 是 | 提醒内容 |
cancel
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| id | string | 是 | 定时器 ID |