
Continuous Agent Loop
This is the canonical v1.8+ framework for running autonomous agent loops that don't spin their wheels forever. It gives you a decision tree for picking the right loop style (sequential, PR-gated, RFC-based, or exploratory parallel), then layers in quality gates, eval harnesses, and recovery patterns. The key insight here is that autonomous loops fail predictably: they churn without progress, retry the same broken thing, or rack up costs through unbounded escalation. The recovery protocol is practical: freeze the loop, audit with harness tools, reduce scope to the failing unit, and replay with explicit acceptance criteria. If you're building agents that need to run unsupervised for more than a few iterations, this gives you the control plane to keep them from going off the rails.
- skills.sh installs
- 5K
- GitHub stars
- 229.1K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add affaan-m/everything-claude-code --skill continuous-agent-loop --agent claude-codeInstalls into .claude/skills of the current project.
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:
- RFC decomposition (
ralphinho-rfc-pipeline) - quality gates (
plankton-code-quality+/quality-gate) - eval loop (
eval-harness) - 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
Sponsors
Details
- Repository
- github.com/affaan-m/everything-claude-code
- Category
- AI & Agent Building
More from affaan-m/everything-claude-code
All 256- Foundation Models On Device5K
- Investor Outreach5K
- Kotlin Patterns5K
- Rust Patterns5K
- Swift Actor Persistence5K
- Swift Protocol Di Testing5K
- Bun Runtime4.9K
- Nextjs Turbopack4.9K
- Plankton Code Quality4.9K
- Swift Concurrency 6 24.9K
- Visa Doc Translate4.9K
- Ai Regression Testing4.8K
- Architecture Decision Records4.8K
- Blueprint4.8K
- Everything Claude Code Conventions4.8K
- Exa Search4.8K
- Kotlin Testing4.8K
- Customs Trade Compliance4.7K
- Data Scraper Agent4.7K
- Documentation Lookup4.7K
- Enterprise Agent Ops4.7K
- Flutter Dart Code Review4.7K
- Inventory Demand Planning4.7K
- Kotlin Ktor Patterns4.7K