# Continuous Agent Loop

> Continuous Agent Loop is an Agent Skill for agent building published in the loulanyue/awesome-claude-notes repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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

- Skill name: `continuous-agent-loop`
- Category: [Agent Building](https://www.openparable.com/skill/agent-building/1)
- Source: https://github.com/loulanyue/awesome-claude-notes/blob/HEAD/docs/ko-KR/skills/continuous-agent-loop/SKILL.md
- Repository: loulanyue/awesome-claude-notes (155 GitHub stars when collected)

## SKILL.md

# 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

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

## 원문
- [영문 원문](../../../../skills/continuous-agent-loop/SKILL.md)

## 탐색
- [한국어 문서 안내](../../README.md)
- [기여 가이드](../../../../CONTRIBUTING.md)

---

Source: https://www.openparable.com/skill/agent-building/continuous-agent-loop (OpenParable). Cite the canonical URL above.
