autonomous-loops
Patterns and architectures for autonomous Claude Code loops, from sequential pipelines to RFC-driven multi-agent DAG systems.
- Covers six loop patterns spanning simplicity to sophistication: sequential pipelines, persistent REPL sessions, infinite agentic loops for parallel generation, continuous PR loops with CI integration, de-sloppify cleanup passes, and RFC-driven DAG orchestration with merge queues
- Sequential pipelines use
claude -pchaining with isolated context windows per step; NanoClaw provides persistent session history; Infinite Agentic Loop deploys parallel sub-agents with assigned creative directions - Continuous Claude automates multi-iteration PR workflows with CI failure recovery, cost/duration limits, and shared task notes for cross-iteration context bridging
- Ralphinho decomposes specs into dependency DAGs, runs tiered quality pipelines (research, plan, implement, test, review), and lands units via an intelligent merge queue with eviction recovery for conflicts
- De-sloppify pattern adds focused cleanup passes instead of constraining implementers with negative instructions, eliminating author bias through separate reviewer contexts
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
More from affaan-m/everything-claude-code
security-review
Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive features. Provides comprehensive security checklist and patterns.
7.9Kgolang-patterns
Idiomatic Go patterns, best practices, and conventions for building robust, efficient, and maintainable Go applications.
7.4Kcoding-standards
Baseline cross-project coding conventions for naming, readability, immutability, and code-quality review. Use detailed frontend or backend skills for framework-specific patterns.
6.7Kfrontend-patterns
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
6.6Kbackend-patterns
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
6.6Kgolang-testing
Go testing patterns including table-driven tests, subtests, benchmarks, fuzzing, and test coverage. Follows TDD methodology with idiomatic Go practices.
6.1K