Skip to content
Skill

Continuous agent loop

Guides an agent through autonomous loops that self-check, gate on evals and recover from

Continuous agent loop is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
66
Last commit
License
MIT
Listing updated

Similar skills

About Continuous agent loop

This skill sets out patterns for running an agent in a continuous loop rather than a single pass. It describes a selection flow that picks between a strict CI and pull request loop, an RFC decomposition loop, an exploratory parallel loop, and a default sequential loop, so the agent can match the loop shape to the task.

The skill also lays out a combined production stack that chains RFC decomposition, quality gates, an eval loop and session persistence, with each stage named by the other skills and commands it relies on. It lists common failure modes such as churn without measurable progress, repeated retries on the same root cause, merge queue stalls and cost drift from unbounded escalation.

For recovery, it suggests freezing the loop, running a harness audit, narrowing scope to the failing unit and replaying with explicit acceptance criteria. The skill is written as guidance and includes no scripts; it expects the agent to have access to the companion skills it references.

When your agent uses it

Patterns for continuous autonomous agent loops with quality gates, evals, and recovery controls. Use when running an agent loop that must self-check, gate on evals, and recover from failures.

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 2 files (1 KB) on GitHub on 1 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 rea-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add smartworldarafath/REA_Skill
/plugin install rea-skills@smartworldarafath

Or copy only this skill to ~/.claude/skills/continuous-agent-loop:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/continuous-agent-loop &&
cp -R "$tmp/.agents/skills/continuous-agent-loop" ~/.claude/skills/continuous-agent-loop &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/continuous-agent-loop inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/continuous-agent-loop to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/continuous-agent-loop &&
cp -R "$tmp/.agents/skills/continuous-agent-loop" ~/.agents/skills/continuous-agent-loop &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/continuous-agent-loop inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/continuous-agent-loop to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/continuous-agent-loop &&
cp -R "$tmp/.agents/skills/continuous-agent-loop" ~/.cursor/skills/continuous-agent-loop &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/continuous-agent-loop 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/smartworldarafath/REA_Skill.git --path .agents/skills/continuous-agent-loop

Or copy the folder to ~/.gemini/skills/continuous-agent-loop yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/continuous-agent-loop:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/continuous-agent-loop &&
cp -R "$tmp/.agents/skills/continuous-agent-loop" ~/.copilot/skills/continuous-agent-loop &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/continuous-agent-loop inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/smartworldarafath/REA_Skill.git

Then copy REA_Skill/.agents/skills/continuous-agent-loop into your agent's skills folder as continuous-agent-loop. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Loop selection flow
A decision path that chooses between sequential, CI-gated, RFC-driven and parallel exploratory loops.
Combined production stack
A recommended chain of decomposition, quality gates, evals and session persistence.
Failure mode catalogue
A list of common loop problems such as churn, repeated retries and merge queue stalls.
Recovery procedure
Steps to freeze a loop, audit the harness, narrow scope and replay with clear criteria.

Good for

  • Set up an agent loop that gates each change on evals before continuing
  • Pick the right loop style for a CI-driven pull request workflow
  • Recover an autonomous run that is repeating the same failing fix
  • Break a large RFC into units an agent can implement one by one

Continuous agent loop FAQ

Does Continuous agent loop need any scripts or external tools installed?

The skill includes no scripts and does not set allowed tools. It refers to other skills and commands such as eval-harness, plankton-code-quality and harness-audit, which must be available separately.

When does Continuous agent loop trigger?

It is meant for running an agent loop that must self-check, gate on evals and recover from failures, as stated in its description.

Is this a replacement for the autonomous-loops skill?

The skill says it is the v1.8+ canonical name and supersedes autonomous-loops, which remains supported for one release for compatibility.

How do I install Continuous agent loop in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/continuous-agent-loop to use it in all your projects, or to .claude/skills/continuous-agent-loop in one project. Or install the rea-skills plugin, which includes it: /plugin marketplace add smartworldarafath/REA_Skill, then /plugin install rea-skills@smartworldarafath.

Does Continuous agent loop 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 Continuous agent loop?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Continuous agent loop?

The closest alternatives to Continuous agent loop are Autonomous loops, Agent introspection debugging, Orchestration, Enterprise agent ops and Agent harness construction.

Where this comes from

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

More from smartworldarafath/REA_Skill

  1. Guides building and auditing UI to WCAG 2.2 AA across web, iOS and Android

    • Open source
    • 66 GitHub stars
    • Developer tools
  2. Diagnoses agent and LLM stacks for hidden failures and ranks the fixes by severity

    • Open source
    • 66 GitHub stars
    • Developer tools
  3. Compare coding agents head-to-head on your own tasks by pass rate, cost and time

    • Open source
    • 66 GitHub stars
    • Developer tools
  4. Guides an agent to design tool sets, observations and error recovery for better completion

    • Open source
    • 66 GitHub stars
    • Developer tools
  5. Lets an AI agent make x402 payments within per-task budgets and spending policies

    • Open source
    • 66 GitHub stars
    • Finance and payments