Run a strict multi-iteration Reflex Loop with phases (PLAN, PRODUCE||PREPARE, EVALUATE, CRITIQUE, REFINE) to improve an artifact until quality gates pass or iteration limits are reached. Use when user asks for iterative refinement, quality-gated generation, or "generate -> critique -> refine" loops.
$npx -y skills add lee-to/ai-factory --skill aif-loopInstalls into the current project.
Run `npx skills use "https://github.com/lee-to/ai-factory" --skill "lee-to/ai-factory/aif-loop"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/lee-to/ai-factory" that are relevant to the current task. Run `npx skills add "https://github.com/lee-to/ai-factory"` and select the relevant skills, then follow their instructions.