continuous-agent-loop

Orchestrate autonomous agent loops with quality gates and recovery controls.

1|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/xxih/ai-harness-zh --skill continuous-agent-loop-xxih
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: continuous-agent-loop
Source: https://github.com/xxih/ai-harness-zh/tree/main/references/translations/everything-claude-code/docs/zh-CN/skills/continuous-agent-loop
Command: npx skills add https://github.com/xxih/ai-harness-zh --skill continuous-agent-loop-xxih

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Long-running autonomous agent workflows often suffer from unbounded cycles, unclear guardrails, and difficult recovery after failures. This skill provides a structured, end-to-end loop model with quality gates, evaluation, and recovery controls to keep AI agents productive and safe. It enables teams to orchestrate planning, execution, and evaluation phases with clear failure handling and recovery paths.

Core Features & Use Cases

  • Cycle selection flow guides when to branch into continuous-pr or RFC decomposition, infinite parallel exploration, or sequential execution.
  • Production stack guidance including RFC pipelines, quality gates, evaluation harness, and session persistence.
  • Recovery and fault handling with freezing cycles, targeted replay, and scoped failure analysis.

Quick Start

Deploy the continuous-agent-loop skill to initialize a guarded autonomous loop with quality gates and recovery.

Frequently Asked Questions about continuous-agent-loop

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

FAQPage Schema
How do I prevent autonomous agent loops from running indefinitely?

You can stop unbounded cycles by deploying continuous agent loops with built-in quality gates that enforce strict progress tracking and fault handling across planning, execution, and evaluation phases.

What is the best way to handle fault recovery in long-running AI agent workflows?

Recover from failures in long-running AI agent tasks by using continuous agent loops with targeted replay, cycle freezing, and scoped failure analysis for incremental recovery.

How do I orchestrate RFC decomposition within an autonomous agent task?

Orchestrate RFC decomposition by using a structured cycle selection flow within continuous agent loops to guide branching into pipelines, quality gates, evaluation harnesses, and session persistence.

When do I need quality gates in continuous autonomous agent loops?

You need quality gates in continuous autonomous agent loops when long-running AI tasks require strict progress tracking, clear guardrails, and structured failure handling across execution phases.

Can I use continuous agent loops for infinite parallel exploration tasks?

Yes, continuous agent loops support infinite parallel exploration because their structured cycle selection flow explicitly guides when to branch into parallel exploration or sequential execution.