loop

Parse interval expressions into cron jobs and execute prompts immediately.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/Heron11/otter-code --skill loop-heron11
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: loop
Source: https://github.com/Heron11/otter-code/tree/main/packages/core/src/skills/bundled/loop
Command: npx skills add https://github.com/Heron11/otter-code --skill loop-heron11

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the burden of repeatedly triggering checks by transforming prompts into scheduled cron jobs that also execute immediately so you never miss a monitoring interval.

Core Features & Use Cases

  • Interval parsing and normalization: Detects leading intervals or trailing every clauses, defaults to ten minutes, and rounds to cron-compatible values while warning about any adjustments.
  • Subcommand management: Supports list and clear to review or cancel existing jobs before creating new recurring prompts.
  • Use Case: Run /loop 5m check the build to keep a continuous eye on the pipeline and confirm the job id so you can cancel it later if needed.

Quick Start

Issue /loop 10m check the build to monitor results every ten minutes and run the prompt immediately.

Frequently Asked Questions about loop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I schedule recurring prompts as cron tasks for terminal monitoring?

You can schedule recurring prompts by providing a flexible interval expression like "5m" or an "every" clause, which the tool normalizes into a cron expression and executes immediately while setting up the recurring job. It defaults to ten minutes if no interval is specified.

What is the best way to automate unattended terminal workflows on a cadence?

Automating unattended terminal workflows on a cadence is achieved by transforming slash commands or prompts into scheduled cron jobs. This removes the burden of repeatedly triggering manual checks for continuous maintenance and monitoring tasks.

How do I list and cancel existing scheduled cron jobs in the terminal?

Listing and canceling existing scheduled cron jobs is handled through list and clear subcommands. These management options allow you to review active recurring prompts or cancel them by confirming the job id provided during creation.

Does the prompt scheduler default to a specific interval if none is provided?

The prompt scheduler defaults to a ten-minute interval if none is explicitly provided. It detects leading intervals or trailing every clauses, rounds values to cron-compatible formats, and warns about any adjustments made.

Can I run a scheduled prompt immediately while also setting it up for recurring execution?

Running a scheduled prompt immediately while setting up recurring execution is supported natively. When you issue a command like "/loop 10m check the build", it calls CronCreate for future intervals and executes the prompt instantly so you never miss a monitoring interval.