Set timers and alarms. When a background timer completes, you receive a System notification - respond with the reminder message (NOT HEARTBEAT_OK) to notify the user.
Set timers that run in the background. When they complete, you will receive a system notification and MUST respond with the reminder to notify the user.
```bash
bash background:true command:"node {baseDir}/timer.js 5m"
bash background:true command:"node {baseDir}/timer.js 10m 'Check the oven'"
bash background:true command:"node {baseDir}/timer.js 30s"
bash background:true command:"node {baseDir}/timer.js 1h"
```
| Format | Description | Example |
|--------|-------------|---------|
| `Ns` | N seconds | `30s`, `90s` |
| `Nm` | N minutes | `5m`, `15m` |
| `Nh` | N hours | `1h`, `2h` |
| `N` | N minutes (default) | `5` = 5 minutes |
| `MM:SS` | Minutes and seconds | `5:30` |
| `HH:MM:SS` | Hours, minutes, seconds | `1:30:00` |
When a timer completes, you receive a `System:` message like:
```
System: [2026-01-24 21:27:13] Exec completed (swift-me, code 0) :: ⏰ Timer complete! Check the pasta!
```
```
HEARTBEAT_OK
🎉 Your timer is complete! Check the pasta!
```
This response will be **filtered and NOT delivered** to the user!
```
⏰ Timer Alert! Your timer is complete: Check the pasta!
```
Start directly with the notification message. Do NOT include HEARTBEAT_OK.
**Why?** Responses starting with `HEARTBEAT_OK` followed by less than 300 characters are automatically suppressed and never reach the user. Your timer notification will be lost!
```bash
bash background:true command:"node {baseDir}/timer.js 12m 'Pasta is ready!'"
```
When complete, respond: "⏰ Your 12-minute timer is up! Pasta is ready!"
```bash
bash background:true command:"node {baseDir}/timer.js 2m 'Take a break'"
```
```bash
bash background:true command:"node {baseDir}/timer.js 25m 'Pomodoro done - time for a break!'"
bash background:true command:"node {baseDir}/timer.js 5m 'Break over - back to work!'"
```
```bash
bash background:true command:"node {baseDir}/timer.js 5m 'Tea is ready'"
bash background:true command:"node {baseDir}/timer.js 10m 'Eggs are done'"
bash background:true command:"node {baseDir}/timer.js 30m 'Meeting starts soon'"
```
```bash
process action:list
process action:poll sessionId:XXX
process action:log sessionId:XXX
process action:kill sessionId:XXX
```
Leave a review
No reviews yet. Be the first to review this skill!