一键导入
loop
Run a prompt or slash command on a recurring interval (e.g. /loop 5m /foo, defaults to 10m)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run a prompt or slash command on a recurring interval (e.g. /loop 5m /foo, defaults to 10m)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | loop |
| description | Run a prompt or slash command on a recurring interval (e.g. /loop 5m /foo, defaults to 10m) |
| allowed-tools | CronCreate, Skill |
| user-invocable | true |
Parse the input below into [interval] <prompt…> and schedule it with CronCreate.
/loop [interval] <prompt>
Run a prompt or slash command on a recurring interval.
Intervals: Ns, Nm, Nh, Nd (e.g. 5m, 30m, 2h, 1d). Minimum granularity is 1 minute.
If no interval is specified, defaults to 10m.
Examples:
/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
^\d+[smhd]$ (e.g. 5m, 2h), that's the interval; the rest is the prompt.every <N><unit> or every <N> <unit-word> (e.g. every 20m, every 5 minutes, every 2 hours), extract that as the interval and strip it from the prompt. Only match when what follows "every" is a time expression — check every PR has no interval.10m and the entire input is the prompt.If the resulting prompt is empty, show usage /loop [interval] <prompt> and stop — do not call CronCreate.
Examples:
5m /babysit-prs → interval 5m, prompt /babysit-prs (rule 1)check the deploy every 20m → interval 20m, prompt check the deploy (rule 2)run tests every 5 minutes → interval 5m, prompt run tests (rule 2)check the deploy → interval 10m, prompt check the deploy (rule 3)check every PR → interval 10m, prompt check every PR (rule 3 — "every" not followed by time)5m → empty prompt → show usageSupported suffixes: s (seconds, rounded up to nearest minute, min 1), m (minutes), h (hours), d (days). Convert:
| Interval pattern | Cron expression | Notes |
|---|---|---|
Nm where N ≤ 59 | */N * * * * | every N minutes |
Nm where N ≥ 60 | 0 */H * * * | round to hours (H = N/60, must divide 24) |
Nh where N ≤ 23 | 0 */N * * * | every N hours |
Nd | 0 0 */N * * | every N days at midnight local |
Ns | treat as ceil(N/60)m | cron minimum granularity is 1 minute |
If the interval doesn't cleanly divide its unit (e.g. 7m → */7 * * * * gives uneven gaps at :56→:00; 90m → 1.5h which cron can't express), pick the nearest clean interval and tell the user what you rounded to before scheduling.
When the user's request is approximate, pick a minute that is NOT 0 or 30:
57 8 * * * or 3 9 * * * (not 0 9 * * *)7 * * * * (not 0 * * * *)Only use minute 0 or 30 when the user names that exact time and clearly means it ("at 9:00 sharp", "at half past").
cron: the expression from the table aboveprompt: the parsed prompt from above, verbatim (slash commands are passed through unchanged)recurring: true$ARGUMENTS
根据自然语言描述创建或更新功能规格说明。生成 docs/specs/<group>/name.md,包含用户故事、验收标准和功能需求。
管理 wave-agent 的 git worktree:创建 worktree、与 root 同步、退出 worktree。当用户提到 worktree、相互 rebase、对齐/合入分支、退出 worktree 时使用。
Manage Wave settings and get guidance on settings.json, hooks, environment variables, permissions, MCP servers, memory, skills, subagents, plugins, and plugin marketplaces. Use this when the user wants to view, update, or learn how to configure Wave.
Reviews code for best practices and potential issues.
A test skill from the complex plugin.
Review the current diff for correctness bugs and reuse/simplification/efficiency cleanups at the given effort level (low/medium: fewer, high-confidence findings; high/max: broader coverage, may include lower-confidence findings)