Skip to content
Back to skills

Continuous Agent Loop

ASecurity

Patterns for continuous autonomous agent loops with quality gates, evaluations, and recovery controls.

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 4, 2026
ai-agents

Security analysis

A100/100

Scanned June 4, 2026

npx -y skills add lidge-jun/cli-jaw-skills --skill continuous-agent-loop --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Continuous Agent Loop?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Continuous Agent Loop
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lidge-jun-continuous-agent-loop/badge)](https://www.skillsdirectory.com/skills/lidge-jun-continuous-agent-loop)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: continuous-agent-loop
description: Patterns for continuous autonomous agent loops with quality gates, evaluations, and recovery controls.
---

# Continuous Agent Loop

Patterns for structuring long-running agent workflows with loop selection, quality gates, and failure recovery.

## Loop Selection

```text
Start
  |
  +-- Need strict CI/PR control?           --> continuous-pr loop
  |
  +-- Need task decomposition from spec?   --> DAG-based loop
  |
  +-- Need exploratory parallel generation? --> infinite loop
  |
  +-- default                              --> sequential loop
```

## Recommended Production Stack

1. Task decomposition from spec or RFC
2. Quality gates (lint, test, type-check between iterations)
3. Evaluation harness (automated acceptance checks)
4. Session persistence (resume after interruption)

## Failure Modes

- Loop churn without measurable progress
- Repeated retries with the same root cause
- Merge queue stalls from conflicting changes
- Cost drift from unbounded model escalation

## Recovery

1. Freeze the loop
2. Audit recent iterations for root cause
3. Reduce scope to the failing unit
4. Replay with explicit acceptance criteria

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…