continuous-agent-loop

Orchestrates autonomous agent loops with quality gates, evaluation, and recovery controls.

Updated May 19, 2026
One-click install
npx skills add https://github.com/azusagasaku/--claude-config --skill continuous-agent-loop-azusagasaku
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: continuous-agent-loop
Source: https://github.com/azusagasaku/--claude-config/tree/main/skills/ecc/continuous-agent-loop
Command: npx skills add https://github.com/azusagasaku/--claude-config --skill continuous-agent-loop-azusagasaku

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Running autonomous AI agent loops in production often leads to uncontrolled churn, repeated retries on the same root cause, stalled merge queues, and unbounded cost escalation. This Skill provides a canonical loop pattern with quality gates, evaluation, and recovery controls so long-running agent workflows stay measurable and recoverable. ## Core Features & Use Cases - Loop Selection Flow: Routes work to the right loop mode based on need: continuous-pr for strict CI/PR control, rfc-dag for RFC decomposition, infinite for exploratory parallel generation, or sequential as the default. - Combined Production Pattern: Recommends a stack combining RFC decomposition, code quality gates, an eval harness loop, and session persistence. - Failure Mode Recovery: Defines concrete recovery steps such as freezing the loop, running a harness audit, reducing scope to the failing unit, and replaying with explicit acceptance criteria. - Use Case: A team running an overnight autonomous coding agent notices cost drift and repeated failed retries; they apply this Skill to freeze the loop, audit the harness, and restart with scoped acceptance criteria. ## Quick Start Ask the agent to set up a continuous agent loop with quality gates and an eval harness for your current coding task, selecting the appropriate loop mode for your workflow.

Frequently Asked Questions about continuous-agent-loop

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

FAQPage Schema
How do I run an autonomous agent loop safely in production?▼

Run an autonomous agent loop safely by combining RFC decomposition, code quality gates, an eval harness, and session persistence. Define explicit acceptance criteria and monitor for failure modes like loop churn and cost drift.

How to choose between sequential, parallel, and PR-based agent loops?▼

Choose continuous-pr when you need strict CI/PR control, rfc-dag when work requires RFC decomposition, and infinite mode for exploratory parallel generation. Use sequential as the default when none of these constraints apply.

What are common failure modes of continuous agent loops?▼

Common failure modes include loop churn without measurable progress, repeated retries with the same root cause, merge queue stalls, and cost drift from unbounded escalation. Detecting these early prevents wasted compute and stalled delivery.

How do I recover a stuck autonomous agent loop?▼

Recover a stuck loop by freezing it, running a harness audit, reducing scope to the failing unit, and replaying with explicit acceptance criteria. This isolates the root cause instead of retrying blindly.

When should I not use a continuous agent loop?▼

Avoid continuous loops when tasks lack measurable acceptance criteria or when a single deterministic run suffices. Unbounded loops without quality gates tend to churn and escalate costs without progress.