Agent skill · operations · affaan-m
continuous-agent-loop
Patterns for continuous autonomous agent loops with quality gates, evals, and recovery controls. Use when running an agent loop that must self-check, gate on evals, and recover from failures.
Why this skill is useful
Provides a structured pattern for implementing continuous autonomous agent loops with specific quality control and recovery mechanisms that the AI wouldn't reliably generate on its own.
What it needs
About 1k tokens when loaded. Last updated 2026-08-06. 238,342 stars on the source repository.
What this skill does
Continuous Agent Loop This is the v1.8+ canonical loop skill name. It supersedes autonomous-loops while keeping compatibility for one release. Loop Selection Flow Combined Pattern Recommended production stack: 1. RFC decomposition (ralphinho-rfc-pipeline) 2. quality gates (plankton-code-quality + /quality-gate) 3. eval loop (eval-harness) 4. session persistence (nanoclaw-repl) Failure Modes loop churn without measurable progress repeated retries with same root cause merge queue stalls cost drift from unbounded escalation Recovery freeze loop run /harness-audit reduce scope to failing unit replay with explicit acceptance criteria
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills affaan-m/continuous-agent-loop--ac734a