# Loop engine

> Loop engine is an open-source agent skill for developer tools. Runs, inspects and authors YAML-defined dev workflow loops with human approval gates. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/choo121600/odin-loop/tree/main/plugins/odin-loop/skills/loop-engine
- **Repository:** https://github.com/choo121600/odin-loop
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** loop-engine
- **Collection:** https://github.com/choo121600/odin-loop
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

Loop engine lets an agent act as the runtime for dev workflow loops that are stored as editable YAML files. It can start or continue a run, re-run a single stage, show run status, list available loops, and interview the user to author a new custom loop. Each stage is checked by a gate, and gates can be automatic or require human approval before the run moves on.

Run state is kept in a state.json file under a gitignored .odin-loop directory, with history entries for passes and failures. Loopbacks are capped by a configurable maximum iteration count so runs cannot spin forever. Stages can run inline or in clean-room sub-agents using bundled role personas such as explorer, planner, executor, critic and reviewer.

The skill expects a project where it can write under .odin-loop and an agent that supports sub-agents for fresh-context stages. A bundled Python validator checks loop YAML for structure errors before a run starts and needs PyYAML installed; without it the skill falls back to manual checks.

## When your agent uses it

> Odin-Loop engine. Runs, steps, inspects, lists, and authors workflow loops defined as YAML. Use whenever the user invokes /odin-loop:odin (run | step | status | list | new), or asks to run/continue/author a dev workflow loop, spec→harness →verify→implement→test cycle, or a custom loop.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/choo121600/odin-loop/tree/HEAD/plugins/odin-loop/skills/loop-engine)
- [License: MIT](https://github.com/choo121600/odin-loop/tree/HEAD/plugins/odin-loop/skills/loop-engine)

## Features

- **Run and resume loops:** Starts a loop run or continues an active one, pausing at human approval gates.
- **Single-stage re-runs:** Re-runs one named stage regardless of order, for manual overrides or redos.
- **Run status view:** Shows the current stage, iteration counts and a checklist of stage history.
- **Custom loop authoring:** Interviews the user about stages, gates and loopbacks, then writes a loop YAML file.
- **Loop validation:** Checks loop files for unique stage ids, valid loopback targets and gate definitions.
- **Role-based execution:** Assigns stages to inline or clean-room sub-agent roles with bundled personas.

## Good for

- Start a spec, test and implement workflow for a new feature
- Continue a paused run after reviewing its approval gate
- Redo only the test stage of an existing loop
- Check which workflow loops are available in the project
- Create a custom review loop with its own stages and gates

## Install

### Claude Code

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

```sh
/plugin marketplace add choo121600/odin-loop
/plugin install odin-loop@odin-loop
```

Or copy only this skill to `~/.claude/skills/loop-engine`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/choo121600/odin-loop.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/loop-engine &&
cp -R "$tmp/plugins/odin-loop/skills/loop-engine" ~/.claude/skills/loop-engine &&
rm -rf "$tmp"
```

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/choo121600/odin-loop.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/loop-engine &&
cp -R "$tmp/plugins/odin-loop/skills/loop-engine" ~/.agents/skills/loop-engine &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/choo121600/odin-loop.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/loop-engine &&
cp -R "$tmp/plugins/odin-loop/skills/loop-engine" ~/.cursor/skills/loop-engine &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/loop-engine` inside it instead.

### Gemini CLI

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

```sh
gemini skills install https://github.com/choo121600/odin-loop.git --path plugins/odin-loop/skills/loop-engine
```

Or copy the folder to `~/.gemini/skills/loop-engine` yourself.

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/choo121600/odin-loop.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/loop-engine &&
cp -R "$tmp/plugins/odin-loop/skills/loop-engine" ~/.copilot/skills/loop-engine &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/choo121600/odin-loop.git
```

Then copy `odin-loop/plugins/odin-loop/skills/loop-engine` into your agent's skills folder as `loop-engine`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How is the skill triggered?

It handles the /odin-loop:odin commands run, step, status, list and new, and applies when a user asks to run, continue or author a dev workflow loop.

### Where are loops and run state stored?

Built-in loops live in the plugin's loops folder, custom loops in the project's .odin-loop/loops folder, and run state in .odin-loop/runs/<run-id>/state.json.

### Does Loop engine need Python?

The bundled loop validator is a Python script that needs PyYAML; if it is missing, the skill tells the agent to run the checks by hand.

### Does Loop engine handle memory and refine commands?

No. The refine command is handled by a separate muninn skill, and this engine covers run, step, status, list and new.

### How do I install Loop engine in Claude Code?

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

### Does Loop engine 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 Loop engine?

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 Loop engine?

The closest alternatives to Loop engine are Autonomous loops, Continuous agent loop, Openloomi loop, Mt auto and Hermod.

## Where this comes from

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

## Alternatives

- [Autonomous loops](https://ai-powered.com/skills/autonomous-loops): Autonomous loops is an open-source agent skill for developer tools.
- [Continuous agent loop](https://ai-powered.com/skills/continuous-agent-loop): Continuous agent loop is an open-source agent skill for developer tools.
- [Openloomi loop](https://ai-powered.com/skills/openloomi-loop-melandlabs-2): Openloomi loop is an open-source agent skill for developer tools.
- [Mt auto](https://ai-powered.com/skills/mt-auto): Mt auto is an open-source agent skill for developer tools.
- [Hermod](https://ai-powered.com/skills/hermod): Hermod is an open-source agent skill for developer tools.
- [Plan loop](https://ai-powered.com/skills/plan-loop): Plan loop is an open-source agent skill for developer tools.
- [Improve loop](https://ai-powered.com/skills/improve-loop): Improve loop is an open-source agent skill for developer tools.
- [Run](https://ai-powered.com/skills/run): Run is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/loop-engine
