Catalog
affaan-m/continuous-agent-loop

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.

NewUpdated Sep 9, 2026

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
Files1
1 files · 1.0 KB

Select a file to preview

Overall Score

58/100

Grade

C

Adequate

Grades are signals, not a certification. Always review a skill yourself before use.

Safety

75

Quality

55

Clarity

68

Completeness

45

Summary

This skill provides architectural guidance for building continuous autonomous agent loops with quality gates and recovery controls. It documents a decision tree for selecting loop patterns (sequential, PR-based, RFC-decomposed, or exploratory), references a recommended production stack combining RFC pipelines with quality gates and eval harnesses, and outlines failure modes and recovery procedures for common loop failure scenarios.

Detected Capabilities

architectural guidancedecision tree frameworkpattern referencefailure mode documentationrecovery procedure guidance

Trigger Keywords

Phrases that agents use to match this skill to user intent.

agent loop architecturecontinuous autonomous loopquality gates setuploop failure recoveryeval harness integration

Use Cases

  • {Implement a self-checking autonomous agent loop that validates its own outputs before proceeding}
  • Design a multi-stage agent loop combining RFC decomposition, code quality gates, and evaluation harnesses
  • Diagnose and recover from agent loop failures like churn, repeated retries, or merge queue stalls
  • Select the appropriate agent loop pattern based on control requirements (CI/PR, exploratory, or default sequential)

Quality Notes

  • Skill provides high-level architectural guidance without prescriptive step-by-step instructions
  • References external tools and skills (ralphinho-rfc-pipeline, plankton-code-quality, eval-harness, nanoclaw-repl) without documentation or links
  • Loop selection flowchart is clear and helpful for decision-making
  • Failure modes are relevant and practical, but recovery procedures lack detailed steps
  • Skill assumes familiarity with referenced tools and concepts (RFC pipelines, quality gates, eval harnesses)
  • No concrete code examples or implementation details provided
  • License file is present but not referenced in content
  • Missing: specific criteria for when to use each loop pattern, implementation examples, or integration instructions
Model: claude-haiku-4-5-20251001Analyzed: Sep 9, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Version History

  1. v2.0

    Contract changed: description

    ✦ AIDescription expanded to clarify when agents should activate skill: continuous loops that self-check, gate on evals, and recover from failures

    triggering2026-09-09

    LATEST
  2. v1.3

    Content updated

    ✦ AISKILL.md content unchanged; no supporting files modified.

    2026-07-14

    View This Version
  3. v1.2

    Content updated

    ✦ AIAdds LICENSE file.

    2026-04-20

    View This Version
  4. v1.1

    Content updated

    ✦ AIRestructures loop selection flowchart: continuous-pr moved to strict CI/PR control path, adds rfc-dag option for RFC decomposition.

    2026-04-12

    View This Version
  5. v1.0

    Seeded from github.com/affaan-m/everything-claude-code

    2026-03-16

    View This VersionInitial version

Use affaan-m/continuous-agent-loop in your dev environment

Command Palette

Search for a command to run...

affaan-m/continuous-agent-loop | SkillRepo