
Autonomous Loops Patterns
Guides Claude Code through running unattended, looped development pipelines and multi-agent workflows
- Repository
- affaan-m/ECC
- Stars
- 295,127
- Licence
- MIT
- Files
- 1 file
What it does
This skill gives the agent reference patterns for running Claude Code without a human in the loop, such as chaining non-interactive claude -p calls into a shell pipeline, keeping a persistent session REPL, or orchestrating parallel sub-agents. When you ask for help designing or setting up such a workflow, the agent uses these architectures and example scripts as a guide. The file is a guidance document and does not itself run anything; the scripts it shows are examples the agent could write or execute for you.
Great for
- Developers setting up unattended CI-style AI coding pipelines
- Teams choosing between a simple sequential pipeline and a complex multi-agent design
- Anyone who wants guidance on splitting AI coding work into isolated steps with quality cleanup passes
Skip it if
- Non-developers looking for a general writing or research helper, since it assumes Claude Code and shell scripting knowledge
- Running unattended agents on production repositories without review, because autonomous loops can make many unreviewed changes and commits
- Projects needing this exact name long-term: the file says it is retained for one release and the canonical skill is now continuous-agent-loop
Try asking
- “Design a sequential claude -p pipeline that implements a feature, cleans up, verifies tests, and commits”
- “Help me pick the right loop architecture for a multi-week refactor with CI gates”
- “Write a script that runs a read-only security audit pass and then a write pass with restricted tools”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 1 original files, the MIT licence and an attribution note.
autonomous-loops.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip autonomous-loops.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip autonomous-loops.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Review every generated loop script before running it, especially ones that use Write, Edit or Bash permissions, and run them first on a branch.
- Use the --allowedTools flag to limit each step to what it needs, such as read-only for audits.
- Ask for the sequential pipeline first; move to the NanoClaw or DAG patterns only if the simpler approach cannot handle your problem.
What's inside
- SKILL.md
Redistributed unmodified from affaan-m/ECC under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.