affaan-m avatar

Autonomous Loops

This is the practical guide to running Claude Code without babysitting it. It walks through the full spectrum from simple bash scripts chaining `claude -p` calls (perfect for daily dev workflows) to NanoClaw's persistent REPL sessions, all the way up to RFC-driven DAG orchestration with parallel agents and merge queues. The sequential pipeline pattern is especially clarifying: if you can't script it with `claude -p`, you probably can't drive it interactively either. Notable for actually showing working examples instead of theory, and the De-Sloppify pattern is a clever answer to Claude's tendency to over-test language features. Note the compatibility warning: this skill is being sunset in favor of continuous-agent-loop, so check there first for newer patterns.

skills.sh installs
5.6K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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:

Sponsors

Details

Repository
github.com/affaan-m/ecc
Categories
AI & Agent Building, Automation & Workflows
First seen
Jul 14, 2026

More from affaan-m/ecc

All 263
1affaan-m avatarblueprintaffaan-m/eccTurn a one-line objective into a step-by-step construction plan for multi-session, multi-agent engineering projects. Each step has a self-contained context brie5.5Kskills.sh installs
2affaan-m avatarexa-searchaffaan-m/eccNeural search via Exa MCP for web, code, and company research. Use when the user needs web search, code examples, company intel, people lookup, or AI-powered de5.5Kskills.sh installs
3affaan-m avatarskill-complyaffaan-m/eccVisualize whether skills, rules, and agent definitions are actually followed — auto-generates scenarios at 3 prompt strictness levels, runs agents, classifies b5.5Kskills.sh installs
4affaan-m avatarknowledge-opsaffaan-m/eccKnowledge base management, ingestion, sync, and retrieval across multiple storage layers (local files, MCP memory, vector stores, Git repos). Use when the user 5.4Kskills.sh installs
5affaan-m avatarclaude-devfleetaffaan-m/eccOrchestrate multi-agent coding tasks via Claude DevFleet — plan projects, dispatch parallel agents in isolated worktrees, monitor progress, and read structured 5.4Kskills.sh installs
6affaan-m avatarlead-intelligenceaffaan-m/eccAI-native lead intelligence and outreach pipeline. Replaces Apollo, Clay, and ZoomInfo with agent-powered signal scoring, mutual ranking, warm path discovery, s5.4Kskills.sh installs