loop

Schedule and execute prompts on recurring or variable intervals within an agent session.

4|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/LiuHarry1/ai_coding_agent_intro --skill loop-liuharry1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: loop
Source: https://github.com/LiuHarry1/ai_coding_agent_intro/tree/main/deploy/workspace-seed/.ai-agent/skills/loop
Command: npx skills add https://github.com/LiuHarry1/ai_coding_agent_intro --skill loop-liuharry1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scheduling and pacing prompts for a local agent can lead to idle time or missed actions. This skill provides a structured approach to run a prompt or skill at recurring intervals or in response to dynamic triggers within a session, improving efficiency and reliability.

Core Features & Use Cases

  • Scheduled execution: run prompts at fixed intervals (e.g., every few minutes) or on dynamic wake signals.
  • Dynamic pacing: adapt the next wake by events or time, keeping the agent proactive.
  • Operational guidance: detects existing loops, arms a background watcher, and safely stops loops when requested. Use cases include periodic health checks, regular status reports, and scheduled data collection.

Quick Start

Start a loop by specifying an interval and a prompt, for example: /loop 5m check status

Frequently Asked Questions about loop

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

FAQPage Schema
How do I schedule prompts to run automatically at recurring intervals?

You can schedule prompts by specifying a time interval and a target prompt, such as using a command like /loop 5m check status. This arms a background watcher to execute the prompt automatically at recurring intervals within the session.

What is dynamic pacing for automated agent tasks?

Dynamic pacing adapts the next scheduled wake signal based on events or time rather than a fixed schedule. This keeps the agent proactive by triggering prompt execution only when specific dynamic conditions are met.

How do I safely stop a recurring background loop?

You can safely stop a recurring loop by issuing a stop control command within the local environment. The skill detects existing loops and ensures safe termination of background watchers when a stop is requested.

Can I use dynamic wake signals instead of fixed intervals for task scheduling?

Yes, task scheduling supports both fixed intervals and dynamic wake signals. You can adapt the next prompt execution by configuring watcher-based triggers to maintain proactive agent behavior across sessions.

Do I need any external dependencies to run scheduled loops in a local environment?

No external dependencies are required to run scheduled loops. The skill operates within a local agent session using built-in command parsing, interval parsing, and watcher-based wake signals for safe stop controls.