Loop Skill

SkillMonitoring & ops

Run a prompt or command on a recurring interval. Useful for monitoring, polling, or periodic checks.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Loop Skill skill

What this skill tells your AI

The instructions your AI receives, as published by ww-w-ai/bkit-gemini in skills/loop/SKILL.md and read by ahel’s review.

Run a prompt or command on a recurring interval. Useful for monitoring, polling, or periodic checks.

Usage

/loop 5m pdca status
/loop 10m analyze user-auth
/loop 1h git log --oneline -5
/loop check build status

Interval Format

FormatMeaningExample
NmEvery N minutes5m = every 5 minutes
NhEvery N hours1h = every 1 hour
NsEvery N seconds30s = every 30 seconds
(none)Default 10 minutes/loop check status

If no interval is specified, the default interval is 10 minutes.

Safety Limits

  • Maximum iterations: 100 (hard safety limit, non-configurable)
  • Minimum interval: 10 seconds (prevents accidental tight loops)
  • Timeout: Each individual command execution has a 5-minute timeout

Stop Conditions

The loop stops automatically when any of the following occur:

  1. Maximum iteration count (100) is reached
  2. The user explicitly requests stop
  3. The command returns a fatal error 3 times consecutively
  4. A stop condition expression evaluates to true (if provided)

Stop Condition Expressions

You can specify an optional stop condition using --until:

/loop 5m --until "matchRate >= 90" analyze user-auth
/loop 1h --until "status == deployed" check deployment

Output

Each iteration outputs:

  • Iteration number and timestamp
  • Command output
  • Time until next iteration

At completion, a summary report is displayed:

  • Total iterations executed
  • Total elapsed time
  • Last command output
  • Reason for stopping

Signals

GitHub stars
65
Forks
16
Last commit
May 2026
Advanced
Catalog kind
skill
Gateway key
loop-ww-w-ai
Source
github.com/ww-w-ai/bkit-gemini