Run a prompt or slash command on a recurring interval. Use when: user wants to repeat a task periodically, poll for status, evaluate/tune a skill over time, or automate any recurring agent action.
Run any prompt or slash command on a fixed interval. The agent executes the prompt each cycle, making it useful for eval loops, monitoring, and periodic skill tuning.
/loop [interval] <prompt>
Intervals: Ns, Nm, Nh, Nd — e.g. 5m, 30m, 2h, 1d
Default interval: 10m if not specified.
Minimum granularity: 1 minute.
/loop 5m /babysit-prs
/loop 30m check the deploy
/loop 1h /standup 1
/loop check the deploy (defaults to 10m)
/loop check the deploy every 20m
| Scenario | Example |
|---|---|
| Eval a skill repeatedly | /loop 1h evaluate skills/loop/SKILL.md against last 5 outputs |
| Poll deploy status | /loop 10m check if deploy is done |
| Periodic memory check | /loop 1d /dream |
| Skill tuning cycle | /loop 30m run eval and propose improvement to SKILL.md |
/loop 1h /some-skill)To use loop as an eval harness for skill tuning:
/loop <interval> <eval prompt>