# Loop

> Claude/Codex skill by [@danielmiessler](https://omgskills.com/library/danielmiessler/index.md) · 19k stars · Updated 2026-08-14

Iterative improvement loop — refine a target across multiple Algorithm cycles toward ideal state. USE WHEN loop, iterate, refine, multiple passes, keep improving, revisit, rework.

Tags: ai, ai-harness, augmentation, coding, humans, intent-engineering, lifeos, personal-ai, productivity

## Install

```sh
git clone https://github.com/danielmiessler/LifeOS /tmp/LifeOS && ln -s /tmp/LifeOS/LifeOS/install/skills/Loop ~/.claude/skills/Loop
```

## From README

/loop — Iterative Improvement What It Does /loop runs the Algorithm as a loop — multiple full Algorithm cycles on the same target, each iteration building on the last. By default a human reviews and redirects between iterations. Unlike /optimize (an autonomous mutation loop), /loop runs full Algorithm passes with that human review in the seam. The Problem Some work doesn't finish in one pass. A skill, a prompt, a diagram, a piece of writing gets meaningfully better each time you run a full cycle on it — but only if each cycle remembers what the last one learned and what it already tried. Run the cycles by hand and you lose that thread: you re-explore dead ends, forget which approaches got rejected, and have no record of whether the score actually moved. /loop carries ISC criteria and a dead-ends ledger across iterations so each pass starts from where the last one ended. How It Works Each iteration is a full Algorithm cycle (OBSERVE → LEARN).

## Links

- HTML page: https://omgskills.com/skills/danielmiessler/lifeos/loop/
- GitHub: https://github.com/danielmiessler/LifeOS
- Author: [@danielmiessler](https://omgskills.com/library/danielmiessler/index.md)

## More from this repo

- [Tldraw](https://omgskills.com/skills/danielmiessler/lifeos/tldraw/index.md) — Read, create, and edit tldraw .tldr canvas files deterministically — sketch hand-drawn-register diagrams (boxes,...
   - [@danielmiessler](https://omgskills.com/library/danielmiessler/index.md) · 19k stars
- [Aphorisms](https://omgskills.com/skills/danielmiessler/lifeos/aphorisms/index.md) — Curated aphorism collection with CRUD — content-based matching, themed search, thinker research, DB maintenance.
   - [@danielmiessler](https://omgskills.com/library/danielmiessler/index.md) · 19k stars
- [Art](https://omgskills.com/skills/danielmiessler/lifeos/art/index.md) — Static visual content across 20+ formats — diagrams, mermaid, infographics, D3 dashboards, comics, icons, wallpaper —...
   - [@danielmiessler](https://omgskills.com/library/danielmiessler/index.md) · 19k stars
