Skip to content
affaan-m avatar

Autonomous Loops

Loop architectures for Claude Code, from sequential claude -p pipelines to RFC-driven multi-agent DAG orchestration.

CCM score
71 of 100
skills.sh installs
12.4K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers six loop patterns ranked by complexity, from a sequential pipeline to a large-feature DAG with a merge queue
  • Includes a claude -p pipeline example with model routing, --allowedTools restrictions, and file-based context handoff
  • Enforces isolated context per step, with a separate cleanup pass in place of negative instructions in prompts
  • Designed for developers building unattended CI-style workflows or coordinating parallel agents with merge control

Install

$ npx -y skills add affaan-m/ecc --skill autonomous-loops -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Autonomous Loops Skill

Compatibility note (v1.8.0): autonomous-loops is retained for one release. The canonical skill name is now continuous-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:

Details

Repository
github.com/affaan-m/ecc
Categories
Agent Workflow & Planning, DevOps & Cloud
First seen
Jul 14, 2026

Questions

What does the autonomous-loops skill do for Claude Code?

It provides patterns and architectures for running Claude Code autonomously in loops, from simple sequential claude -p pipelines to RFC-driven multi-agent DAG systems. It covers loop architectures such as the Sequential Pipeline, NanoClaw REPL, Infinite Agentic Loop and the De-Sloppify pattern. Note that it is retained only for compatibility and the canonical skill is now continuous-agent-loop.

How do I install the autonomous-loops skill?

Run this command in a project: npx -y skills add affaan-m/ecc --skill autonomous-loops -y. Once installed, the agent can draw on its loop patterns when you set up autonomous development workflows.

Which skills lead the Agent Workflow and Planning category next to autonomous-loops?

Other top skills in this category include grill-me, grill-with-docs, setup-matt-pocock-skills, grilling and prototype. Autonomous-loops focuses on architectures for running Claude Code without human intervention, such as sequential pipelines and parallel agent coordination.

Should I use autonomous-loops or continuous-agent-loop for new work?

The skill notes that continuous-agent-loop is now the canonical name, and new loop guidance should be authored there. Autonomous-loops remains available for one release so existing workflows do not break.

More from affaan-m/ecc

All 257

Similar to Autonomous Loops

More Agent Workflow & Planning