aif-loop

Orchestrate multi-iteration Reflex Loop phases to refine artifacts until quality gates pass.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/ExsyDev/eye-blinking --skill aif-loop-exsydev
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: aif-loop
Source: https://github.com/ExsyDev/eye-blinking/tree/main/.claude/skills/aif-loop
Command: npx skills add https://github.com/ExsyDev/eye-blinking --skill aif-loop-exsydev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill implements a strict, multi-iteration Reflex Loop to iteratively refine an artifact using defined phases (PLAN, PRODUCE, PREPARE, EVALUATE, CRITIQUE, REFINE) until quality gates pass or a maximum number of iterations is reached.

Core Features & Use Cases

  • Enforces a phase-based workflow with clear contracts and persistence across sessions.
  • Supports interactive setup to generate and confirm success criteria and iteration limits.
  • Orchestrates parallel PREPARE and PRODUCE tasks, followed by evaluated checks and targeted refinements.

Quick Start

Start a new loop with your task prompt and confirm the criteria explicitly to begin.

Frequently Asked Questions about aif-loop

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

FAQPage Schema
How do I automate iterative refinement for AI-generated artifacts?▼

Automated iterative refinement is orchestrated through a multi-iteration Reflex Loop that cycles through PLAN, PRODUCE, PREPARE, EVALUATE, CRITIQUE, and REFINE phases until quality gates pass or iteration limits are reached.

Can I resume an AI evaluation loop across different sessions?▼

Yes, AI evaluation loops support persistent state across sessions using 3+1 persistence files, allowing you to easily resume, stop, or clean up iterative refinement tasks.

How do I set quality gates for an automated artifact evaluation loop?▼

Quality gates are established during an interactive setup where you explicitly confirm success criteria and maximum iteration limits before the evaluation loop begins processing.

What is a Reflex Loop for software artifact generation?▼

A Reflex Loop is a strict, multi-iteration workflow that orchestrates parallel PREPARE and PRODUCE tasks, followed by evaluated checks and targeted refinements to improve software artifacts.

Do I need project-specific rules to run an automated iteration loop?▼

Yes, the iteration loop loads project-specific rules, phase contracts, and templates from your workspace to properly guide the evaluation and refinement phases.

What are the limitations of automated artifact refinement loops?▼

Automated artifact refinement loops are constrained by explicitly defined maximum iteration limits and require strict quality gate criteria to pass before completion, preventing infinite cycles.