---
id: ssh2-continuous-agent-loop
name: "continuous-agent-loop"
url: https://skills.yangsir.net/skill/ssh2-continuous-agent-loop
author: affaan-m
domain: ai-agent-core-development
tags: ["ai-agent-loop", "autonomous-agents", "reinforcement-learning", "agent-orchestration"]
install_count: 4000
rating: 4.40 (20 reviews)
github: https://github.com/affaan-m/everything-claude-code
---

# continuous-agent-loop

> 专注于设计和实现具有质量保证的连续自主智能体循环模式，确保AI系统能够持续学习、迭代和优化，提升性能与可靠性。

**Stats**: 4,000 installs · 4.4/5 (20 reviews)

## Before / After 对比

### 构建持续自主AI智能体循环，保障质量

## Readme

# 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


---
*Source: https://skills.yangsir.net/skill/ssh2-continuous-agent-loop*
*Markdown mirror: https://skills.yangsir.net/api/skill/ssh2-continuous-agent-loop/markdown*