Skip to content
affaan-m avatar

Continuous Agent Loop

Patterns for autonomous agent loops that gate on quality checks, evals, and recovery from failures.

CCM score
57 of 100
skills.sh installs
12.2K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers loop selection across continuous-pr, rfc-dag, infinite, and sequential modes, plus a recommended production stack
  • Combines RFC decomposition, quality gates, eval loops, and session persistence into one layered workflow
  • Lists common failure modes such as churn without progress, repeated retries, merge queue stalls, and cost drift
  • Defines recovery steps: freeze the loop, run /harness-audit, narrow scope to the failing unit, and replay with explicit acceptance criteria

Install

$ npx -y skills add affaan-m/ecc --skill continuous-agent-loop -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Details

Repository
github.com/affaan-m/ecc
Category
Agent Workflow & Planning
First seen
Jul 14, 2026

Questions

What does the continuous-agent-loop skill do?

It gives patterns for continuous autonomous agent loops that run with quality gates, evals, and recovery controls. It is meant for agent loops that must self-check, gate on evals, and recover from failures.

How do I install the continuous-agent-loop skill?

Run npx -y skills add affaan-m/ecc --skill continuous-agent-loop -y in your project. This adds the skill so your agent can use the loop patterns.

Which skills lead the Agent Workflow & Planning category that continuous-agent-loop belongs to?

Continuous-agent-loop sits in the Agent Workflow & Planning category alongside grill-me, grill-with-docs, setup-matt-pocock-skills, grilling and prototype. Its focus is on self-checking loops with eval gates and recovery from repeated failures.

What failure modes does this skill help an agent loop avoid?

It addresses loop churn without measurable progress, repeated retries with the same root cause, merge queue stalls, and cost drift from unbounded escalation. Recovery steps include freezing the loop, running /harness-audit, and replaying with explicit acceptance criteria.

Which tools does continuous-agent-loop combine in its recommended stack?

The recommended production stack pairs RFC decomposition via ralphinho-rfc-pipeline, quality gates via plankton-code-quality and /quality-gate, an eval loop via eval-harness, and session persistence via nanoclaw-repl. The skill supersedes the older autonomous-loops name while keeping compatibility for one release.

More from affaan-m/ecc

All 257

Similar to Continuous Agent Loop

More Agent Workflow & Planning