loop-architect

Design bounded agent loops with typed verification, review gates, and termination controls.

47|4|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/fabricioctelles/skills --skill loop-architect-fabricioctelles
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: loop-architect
Source: https://github.com/fabricioctelles/skills/tree/main/skills/loop-architect
Command: npx skills add https://github.com/fabricioctelles/skills --skill loop-architect-fabricioctelles

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires PyYAML, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you turn vague iterative AI workflows into structured, bounded agent loops with clear goals, verification criteria, review gates, privacy controls, and termination conditions.

Core Features & Use Cases

  • Goal Refinement: Convert broad objectives into measurable outcomes with explicit scope, context sources, and definitions of done.
  • Loop Design: Configure host models, reviewer and judge roles, typed verification, revision limits, budgets, no-progress detection, execution boundaries, and observability.
  • Portable Artifacts: Generate a human-readable loop summary, resolved specification, session handoff prompt, workspace layout, and Python runner for in-session or external execution.
  • Use Case: Design a multi-model workflow that drafts a technical plan, sends it through a separate judge, revises it within capped iterations, and produces auditable delivery artifacts without exposing secrets.

Quick Start

Use the loop-architect skill to design and compile a bounded review loop for the workflow you want to automate.

Frequently Asked Questions about loop-architect

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

FAQPage Schema
How do I design bounded agent loops with verification gates?

Designing bounded agent loops involves configuring host models with typed verification, review gates, and termination controls. This structure converts objectives into executable workflows, applying revision caps and no-progress detection to ensure safe, auditable automation.

How does an LLM-as-judge system work in multi-model review?

An LLM-as-judge system works by routing drafted outputs to a separate reviewer model for evaluation. The judge applies typed verification criteria, triggering revisions within capped iterations until goals are met or termination controls activate.

Can I use Python to build portable loop scaffolding for agent workflows?

Yes, you can use Python to build portable loop scaffolding by generating a resolved specification and a Python runner. This produces compiled handoff artifacts and workspace layouts for executing iterative agent workflows in-session or externally.

What is the best way to prevent infinite loops in goal-driven automation?

Preventing infinite loops in goal-driven automation requires configuring explicit termination controls, no-progress detection, and revision budget caps. These boundaries ensure the agent loop stops iterating when measurable outcomes are achieved or limits are exceeded.

Does building multi-model councils require privacy-aware egress consent?

Yes, building multi-model councils requires privacy-aware egress consent to prevent exposing secrets during external model invocations. Structured routing ensures sensitive context sources remain protected while separate reviewer and judge roles evaluate outputs.

When should I not use self-review loops for automated workflows?

You should not use self-review loops when your workflow lacks measurable definitions of done or clear scope. Without typed verification criteria and durable state logging, iterative agent workflows risk unbounded revisions and uncontrollable goal drift.