con un clic
loop
Bounded auto-iteration for a prompt with explicit stop predicates.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Bounded auto-iteration for a prompt with explicit stop predicates.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
| name | Loop |
| description | Bounded auto-iteration for a prompt with explicit stop predicates. |
| requires | {"bins":[],"env":[]} |
Run a prompt repeatedly with hard bounds and explicit stop criteria. This is for finite "try-fix-verify" loops, not background scheduling.
prompt (required): instruction/command to run each attempt.max_iters (optional): default 3, clamp to [1, 10].until_predicate (optional): one of:
regex:<pattern>exit:<code>judge:<criterion>judge:task completedmax_iters: phrases like "3 attempts", "max 5", "try 4 times".until_predicate:
exit:0regex:<...>judge:<user criterion>max_iters = 3until_predicate = judge:task completedIf prompt is empty after parsing, stop and ask for a concrete prompt.
i = 1..max_iters:
prompt.status=success.max_iters reached without success:
status=max_iters_reachedloop from inside loop.Always return:
status: success or max_iters_reachediterations_run: attempts executedmax_iters: normalized cap actually usedpredicate: normalized predicatefinal_result: concise outcomeevidence: per-iteration bullets (delta-focused)next_action: required when status=max_iters_reachedprompt="cargo test -p core" max_iters=5 until_predicate="exit:0"prompt="reduce p95 latency by tuning query" max_iters=4 until_predicate="regex:p95 < 200ms"prompt="rewrite explanation for clarity" max_iters=3 until_predicate="judge:clear, concise, no ambiguity"Memory hygiene workflow to classify, deduplicate, and promote durable knowledge across local memory layers.
Bounded simplification pass for a file or hunk that preserves behavior while reducing complexity.
Turn a repeatable workflow into a reusable local SKILL.md with explicit steps, criteria, and safe defaults.
Bounded auto-debug loop for failing build/test commands with evidence-first diagnosis.
Safely update Nexo config files with read-before-write merges, schema-aware mapping, and reload/restart awareness.
Bounded acceptance verification that runs concrete checks and an explicit LLM judge over evidence.