continuous-agent-loop
What it does
This agent helps create a work cycle that self-checks and corrects itself. It ensures work continues autonomously, with quality checks and the ability to recover from errors.
When to use it
- ✓When you need a task to repeat without constant intervention.
- ✓When developing a system that needs to check its own work quality.
- ✓To create a process that can automatically recover from failures.
Skill link
https://github.com/affaan-m/ECC/blob/main/skills/continuous-agent-loop/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Create an autonomous work loop to review code, with quality checks and error recovery.”
5 new skills a week. 1 minute to read.
How it works
It works by defining a workflow with clear steps. If a step fails, it tries to recover or stops the process to prevent bigger issues.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
Start
|
+-- Need strict CI/PR control? -- yes --> continuous-pr
|
+-- Need RFC decomposition? -- yes --> rfc-dag
|
+-- Need exploratory parallel generation? -- yes --> infinite
|
+-- default --> sequential
Combined Pattern
Recommended production stack:
- RFC decomposition (
ralphinho-rfc-pipeline) - quality gates (
plankton-code-quality+/quality-gate) - eval loop (
eval-harness) - 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
FAQ
What are 'quality gates'?
These are checkpoints that ensure the work meets a certain quality standard before proceeding.
What does 'recovery controls' mean?
These are mechanisms that allow the agent to recover from errors or failures, by trying to fix the problem or stopping the process safely.
What's the difference from 'autonomous-loops'?
This is the newer, recommended name, superseding the old 'autonomous-loops', but it's still compatible for a while.
Details
Original description by the author
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.
repo: affaan-m/ECC
Popularity
- GitHub stars
- 280k
- Ranking position
- #286
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
accessibility
280kHelps your agent create interfaces that everyone can use. Ensures websites and apps work well for people with disabilities, like those who are blind or have reduced mobility.
agent-architecture-audit
280kMakes your agent check if everything is working correctly. It finds and fixes problems in AI systems, ensuring they perform as expected.
agent-eval
280kHelps your agent compare different AI coding tools. It measures which one is faster, cheaper, and more reliable for specific tasks.
agent-harness-construction
280kMakes your agent better understand how to perform tasks. It optimizes the tools and instructions the agent uses to increase its chances of success.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.