Skip to content
Skillpedia
Agents280k · #286

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.md

Copy 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

Use this skill to help me: https://github.com/affaan-m/ECC/blob/main/skills/continuous-agent-loop/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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:

  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
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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills