Loop

Automates iterative Algorithm cycles with human review between each pass.

1|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/starlink-awaken/pai-universal --skill loop-starlink-awaken
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Loop
Source: https://github.com/starlink-awaken/pai-universal/tree/main/templates/packs/Loop/src
Command: npx skills add https://github.com/starlink-awaken/pai-universal --skill loop-starlink-awaken

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Iterative improvement loops help teams refine a target by executing full Algorithm cycles multiple times, progressively approaching an ideal state.

Core Features & Use Cases

  • Runs complete Algorithm cycles (OBSERVE → THINK → PLAN → BUILD → EXECUTE → VERIFY → LEARN) with human review between iterations to ensure quality.
  • Tracks iteration count in ISA, preserves history, and supports resume and status queries for long-running targets.
  • Suitable for refining documents, code, configurations, or workflows where progressive refinements yield measurable gains.

Quick Start

Invoke the Loop skill with a target and optional iterations to start iterative Algorithm cycles.

Frequently Asked Questions about Loop

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

FAQPage Schema
How do I automate iterative refinement for documents or code?

Automating iterative refinement requires running complete algorithm cycles with human review between iterations to progressively approach an ideal state. This approach enforces loop modes to track iteration counts and maintain history for long-running targets.

What is the best way to run multiple algorithm passes on a configuration?

Running multiple algorithm passes involves executing full cycles of observation, planning, building, and verification on a target configuration. It supports resume and status queries to handle progressive refinements that yield measurable gains over time.

Can I pause and resume iterative improvement cycles on a target?

Yes, iterative improvement cycles support resume and status features for long-running targets. The system tracks iteration counts and preserves iteration history, allowing you to pause and resume refinement workflows as needed.

Does human-in-the-loop review work with automated iteration cycles?

Human-in-the-loop review is integrated directly between automated iteration cycles to ensure quality control. You can review the output of each algorithm pass before the system proceeds to the next refinement iteration.

When do I need iterative improvement loops for workflow refinement?

Iterative improvement loops are needed when refining documents, code, or configurations where single-pass processing is insufficient. They are suitable for workflows requiring progressive refinements to achieve measurable quality gains.

Why does my iterative refinement process lose history between passes?

Losing history between passes happens when the iterative refinement process lacks proper iteration tracking. Enforcing a dedicated loop mode ensures iteration counts are maintained and complete iteration history is preserved across all algorithm passes.