Loop agent

From d-o-hub/rust-self-learning-memory · View interactive version

Loop agent is an AI agent skill from the GitHub repository d-o-hub/rust-self-learning-memory. Execute workflow agents iteratively for refinement and progressive improvement until quality criteria are met. Use when tasks require repetitive refinement, multi-iteration improvements, progressive optimization, or feedback loops until convergence.

How to use this skill

Skill file

Loop Agent Skill

Execute workflow agents iteratively for refinement and progressive improvement until quality criteria are met.

Quick Reference

When to Use

NOT Appropriate For

Core Concepts

Loop Termination Modes

| Mode | Description | Use When |

|------|-------------|----------|

| Fixed | Run exactly N iterations | Known number of passes needed |

| Criteria | Until success criteria met | Specific quality/performance targets |

| Convergence | Stop at diminishing returns | Optimal result unknown |

| Hybrid | Combine multiple conditions | Complex requirements |

See modes.md for detailed mode documentation and patterns.md for common loop patterns.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.