
Autonomous Loops
A comprehensive playbook for running Claude Code in automated loops, from dead-simple bash pipelines to full RFC-driven DAG orchestration. If you're chaining `claude -p` calls in CI or building multi-agent workflows, this covers the entire spectrum: sequential pipelines for daily dev tasks, NanoClaw's persistent REPL sessions, parallel agent deployment for spec-driven generation, and the "de-sloppify" pattern for cleanup passes. The progression from simple to sophisticated is well-structured, with honest guidance on when each approach makes sense. Note the compatibility warning: this skill is being renamed to `continuous-agent-loop` in future releases, so treat it as transitional documentation.
- skills.sh installs
- 5.2K
- GitHub stars
- 229.1K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add affaan-m/everything-claude-code --skill autonomous-loops --agent claude-codeInstalls into .claude/skills of the current project.
Files
Autonomous Loops Skill
Compatibility note (v1.8.0):
autonomous-loopsis retained for one release. The canonical skill name is nowcontinuous-agent-loop. New loop guidance should be authored there, while this skill remains available to avoid breaking existing workflows.
Patterns, architectures, and reference implementations for running Claude Code autonomously in loops. Covers everything from simple claude -p pipelines to full RFC-driven multi-agent DAG orchestration.
When to Use
- Setting up autonomous development workflows that run without human intervention
- Choosing the right loop architecture for your problem (simple vs complex)
- Building CI/CD-style continuous development pipelines
- Running parallel agents with merge coordination
- Implementing context persistence across loop iterations
- Adding quality gates and cleanup passes to autonomous workflows
Loop Pattern Spectrum
From simplest to most sophisticated:
Sponsors
Details
More from affaan-m/everything-claude-code
All 256- Content Engine5.2K
- Content Hash Cache Pattern5.2K
- Kotlin Coroutines Flows5.2K
- Swiftui Patterns5.2K
- Investor Materials5.1K
- Laravel Tdd5.1K
- Regex Vs Llm Structured Text5.1K
- Compose Multiplatform Patterns5K
- Continuous Agent Loop5K
- 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