continuous-agent-loop

Orchestrate continuous agent loops with quality gates, evals, and recovery controls.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you design continuous autonomous agent loops that keep improving without getting stuck in churn, repeated failures, or uncontrolled escalation.

Core Features & Use Cases

  • Loop Selection Flow: Choose the right loop style based on CI/PR strictness, RFC decomposition needs, and whether you need exploratory parallel generation versus sequential execution.
  • Combined Pattern for Production: Pair RFC decomposition with code-quality gates, an eval loop, and session persistence to support iterative development with measurable outcomes.
  • Failure Modes & Recovery Controls: Detect loop churn, repeated retries with the same root cause, merge queue stalls, and cost drift, then apply safe recovery steps like freezing and scope reduction.

Quick Start

Use the continuous-agent-loop skill to plan and run a production-ready continuous agent workflow with quality gates and evaluation, applying recovery controls when progress stalls.

Frequently Asked Questions about continuous-agent-loop

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

FAQPage Schema
How do I stop autonomous agent loops from getting stuck in repeated failures?

To stop autonomous agent loops from churning, apply recovery controls that detect repeated retries with the same root cause and trigger freeze-and-replay or scope reduction. This prevents uncontrolled escalation and persistent failure loops.

How do I enforce acceptance criteria in autonomous workflows with quality gates?

You enforce acceptance criteria in autonomous workflows by integrating eval harnesses and quality gates directly into the agent loop. This ensures measurable progress and validates that outputs meet required standards before proceeding.

What's the best way to structure RFC decomposition in an autonomous agent loop?

The best way to structure RFC decomposition in an autonomous agent loop is pairing it with code-quality gates and session persistence. This combined production pattern supports iterative development with measurable outcomes.

When should I use exploratory parallel generation versus sequential fallback in agent workflows?

Use exploratory parallel generation when exploring multiple solution paths, and switch to sequential fallback for iterative development when progress stalls. Loop selection depends on CI/PR strictness and RFC decomposition needs.

How do I handle merge queue stalls and cost drift in continuous CI/PR agent loops?

Handle merge queue stalls and cost drift by implementing failure mode detection within the agent loop. When these conditions are identified, apply safe recovery steps like freezing the session and reducing scope.

Can I persist session state in a continuous agent loop for iterative development?

Yes, you can persist session state in a continuous agent loop. Combining RFC decomposition with code-quality gates, an eval loop, and session persistence creates a production-ready workflow for iterative development.