Skip to content
Skill

Autonomous loops

Patterns for running Claude Code in autonomous loops, from simple pipelines to multi-agent

Autonomous loops is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
7
Last commit
License
MIT
Listing updated

Similar skills

About Autonomous loops

This skill is a reference guide for designing autonomous Claude Code workflows that run without a person in the loop. It compares loop architectures ranging from sequential shell pipelines of non-interactive claude -p calls to continuous PR loops and RFC-driven multi-agent orchestration, and explains when each fits a given problem.

The guide walks through concrete examples: chaining focused prompts in a script, passing state between iterations through a shared notes file, adding a separate cleanup pass after implementation, and gating runs with limits on iterations, cost, or duration. It also covers separating implementer and reviewer into different agent contexts, routing tasks to different models, and restricting tools per step.

The skill is mostly conceptual and includes shell snippets and a few configuration examples. It assumes the Claude Code CLI and, for some patterns, the gh GitHub CLI and git worktrees. It notes that it is retained for compatibility and that newer loop guidance lives in a continuous-agent-loop skill.

When your agent uses it

Patterns and architectures for autonomous Claude Code loops — from simple sequential pipelines to RFC-driven multi-agent DAG systems.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (24 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the ecc plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add AbdullayevTemurmalik/ECC
/plugin install ecc@ecc

Or copy only this skill to ~/.claude/skills/autonomous-loops:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/autonomous-loops &&
cp -R "$tmp/.kiro/skills/autonomous-loops" ~/.claude/skills/autonomous-loops &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/autonomous-loops inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/autonomous-loops to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/autonomous-loops &&
cp -R "$tmp/.kiro/skills/autonomous-loops" ~/.agents/skills/autonomous-loops &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/autonomous-loops inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/autonomous-loops to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/autonomous-loops &&
cp -R "$tmp/.kiro/skills/autonomous-loops" ~/.cursor/skills/autonomous-loops &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/autonomous-loops inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/AbdullayevTemurmalik/ECC.git --path .kiro/skills/autonomous-loops

Or copy the folder to ~/.gemini/skills/autonomous-loops yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/autonomous-loops:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/autonomous-loops &&
cp -R "$tmp/.kiro/skills/autonomous-loops" ~/.copilot/skills/autonomous-loops &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/autonomous-loops inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/AbdullayevTemurmalik/ECC.git

Then copy ECC/.kiro/skills/autonomous-loops into your agent's skills folder as autonomous-loops. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Loop architecture comparison
A ranked table of loop patterns by complexity and the kind of work each one suits.
Sequential claude -p pipelines
Example scripts that chain isolated non-interactive steps for implement, verify and commit.
Cross-iteration context notes
A shared progress file that carries state between independent agent runs.
De-sloppify cleanup pass
A separate review step that removes low-value tests and checks after implementation.
Run limits and exit conditions
Guidance on capping loops by runs, spend, time or a completion signal.
DAG-based parallel orchestration
An RFC-to-work-units model with tiered pipelines and a merge queue with eviction.

Good for

  • Set up a nightly script that implements, tests and commits a feature in steps
  • Choose between a simple pipeline and a multi-agent workflow for a large spec
  • Add a cleanup pass that trims redundant tests after an agent writes code
  • Keep a progress file so repeated Claude runs pick up where the last one stopped
  • Cap an unattended coding loop by number of runs, cost or duration

Autonomous loops FAQ

Does the skill install anything or run scripts?

No. It contains no scripts. It is a set of patterns and example commands that show how to drive the Claude Code CLI.

Is Autonomous loops still the recommended one for loop guidance?

The skill notes that it is kept for one release for compatibility, and that new loop guidance is being written under the continuous-agent-loop name.

Which tools does Autonomous loops assume?

The examples use the claude CLI with -p, --model and --allowedTools flags, and for some patterns the gh GitHub CLI and git worktrees.

How do I install Autonomous loops in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/autonomous-loops to use it in all your projects, or to .claude/skills/autonomous-loops in one project. Or install the ecc plugin, which includes it: /plugin marketplace add AbdullayevTemurmalik/ECC, then /plugin install ecc@ecc.

Does Autonomous loops run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Autonomous loops?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Autonomous loops?

The closest alternatives to Autonomous loops are Autonomous loops, Continuous agent loop, Orchestration, Loop controller and Overnight loop.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from AbdullayevTemurmalik/ECC

  1. Write long-form articles and guides in a voice matched to your examples

    • Open source
    • 7 GitHub stars
    • Writing style
  2. Guides an agent on using Bun for runtime, installs, bundling, testing and migrations from

    • Open source
    • 7 GitHub stars
    • Developer tools
  3. Plans and drafts platform-native social posts, scripts and content calendars

    • Open source
    • 7 GitHub stars
    • Marketing and SEO
  4. Lets your agent pull current library and framework docs from Context7 instead of memory

    • Open source
    • 7 GitHub stars
    • Developer tools
  5. Builds animation-rich HTML slide decks that run in the browser, from scratch or converted

    • Open source
    • 7 GitHub stars
    • Design and media
  6. Drafts pitch decks, memos and financial models that stay consistent across fundraising

    • Open source
    • 7 GitHub stars
    • Finance and payments