In short.
Claude Octopus Iterative Loop is an instruction skill for developers using coding assistants to repeat and evaluate work, but it supplies procedures whose enforcement depends on the host. Ordinary loops combine explicit goals, iteration limits, progress tracking and stopping rules. Metric Verification Mode adds numeric measurement, optional acceptance checks, isolated candidate copies and finite time and model-call budgets. Runtime reliability, compatibility and operating costs have not been assessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage comprises the selected .claude/skills/skill-iterative-loop folder, represented by its SKILL.md, plus the repository LICENSE and THIRD_PARTY_NOTICES.md. Other repository skills, hook implementations, host integrations, the optional local configuration and the referenced upstream license file are outside the supplied evidence. The findings cover documented behavior at the specified revision. Installation, loop execution, measurements, deadline enforcement, workspace preservation and cross-host compatibility were not assessed through execution.
The overview
Identity
The resource is skill-iterative-loop in nyldn/claude-octopus, stored at .claude/skills/skill-iterative-loop/SKILL.md. Its aliases are iterative-loop, loop-execution and repeat-until. The file describes repeated task execution, evaluation and refinement.
The original folder address is [https://github.com/nyldn/claude-octopus/tree/main/.claude/skills/skill-iterative-loop]. The specific source examined is pinned to revision c22424d4c33bd244e7cbcb2a05c2fe3de940aba3 at [https://raw.githubusercontent.com/nyldn/claude-octopus/c22424d4c33bd244e7cbcb2a05c2fe3de940aba3/.claude/skills/skill-iterative-loop/SKILL.md].
Assessment
This is a useful fit when repeated attempts have a measurable destination, such as passing a named test suite or reducing a measured response time. Its strongest feature is the detailed treatment of stopping, rejected experiments and preservation of existing work.
The selected file supplies instructions rather than evidence of enforced execution. Its examples do not establish that an assistant reliably follows the budgets, preserves files or detects cycles. No installation, command or loop was executed.
Users
The intended users are people directing coding assistants through repeated debugging, auditing, testing, performance optimization or content refinement. Beginners get a structure for defining what success means and when work must stop. Experienced developers get a more detailed procedure for measured experiments.
It is less suitable when the goal is subjective, progress cannot be evaluated, or the host cannot enforce the required boundaries. The document excludes single executions and manual step-by-step work from its intended use.
Capabilities
Ordinary mode describes fixed-count repetition, stopping early on success, retries with backoff, progressive refinement and integration with debugging, auditing and test-driven development skills. It also describes stopping for repeated failures, cycles, accumulated warning signals and long-running work.
Metric Verification Mode accepts a command that prints one finite number, a higher-or-lower direction and an optional guard command that must exit successfully before a candidate is accepted. It specifies isolated original, best and candidate copies, an append-only iterations.jsonl record and preservation of rejected attempts. Equal metric results may favor a simpler candidate only when reduced complexity is evidenced.
Using it
Requirements
The host must support loading and explicitly invoking the skill. The instructions refer to AskUserQuestion and TodoWrite, but required host versions, model requirements and equivalent tools on other hosts are not documented.
Metric mode additionally requires filesystem and repository inspection, faithful isolated copies of relevant existing edits, hashes, subprocess execution with enforceable deadlines and persistent experiment records. It requires stopping if a faithful isolated baseline or a subprocess deadline cannot be provided. Referenced companion skills and the strategy-rotation hook are not included in the selected file.
Mechanism
Ordinary loops define the goal, success criteria, maximum iterations and actions for each round. After executing a round, the assistant evaluates success, progress and issues, then continues or stops. General safety examples use a default of 10 iterations and an absolute cap of 50; setup separately requires a defined maximum.
Self-regulation tracks recent outcomes, changed files and error messages. It looks for three consecutive repetitions and alternating cycles. A cumulative heuristic score adds penalties for reverts, unrelated changes, larger fixes and other signals, with a default stop above 20%. The percentage is a scoring convention; no evidence establishes it as a calibrated probability.
Metric mode defaults to five iterations, 30 elapsed minutes and 14 additional model calls. It stops at the first exhausted budget or after two rounds without measured improvement. It requires comparing delivered files, repository HEAD and index against the starting snapshot before publication, followed by checks against the delivered bytes.
Setup
The metadata declares disable-model-invocation: true and describes explicit user requests as triggers. The supplied file does not document an installation command or establish which invocation syntax a particular host accepts.
Before an ordinary loop, define the maximum iterations, measurable success condition, actions and failure handling. An optional ~/.claude-octopus/loop-config.conf can supply key=value settings for self-regulation. Metric mode requires freezing the metric, direction, optional guard and authorized editable paths before baseline measurement, then recording the baseline and budgets in an isolated run directory.
Example
An illustrative request is to audit and fix authorized files, run a named test suite after each round, and stop when it passes or after five iterations. Each round would report changes, test results, remaining failures and the self-regulation score. A stall would trigger the documented intervention rules.
The source also illustrates reducing response time below 100 milliseconds by measuring, identifying a bottleneck, changing the implementation and measuring again. Its numerical improvements are teaching examples, not benchmark results. For a measured experiment, the metric command and any guard would need to be supplied for the actual project.
Assessment & evidence
Limitations
Ordinary mode relies on the assistant remembering outcomes and accumulating its self-regulation score mentally. The selected file does not establish an independent supervisor that enforces these rules. Hook implementation, configuration parsing and recovery behavior are unassessed.
Stall handling has overlapping instructions: the general safety section stops after three unchanged results, while self-regulation allows one diagnostic retry after first detecting a repeated pattern. The file does not clearly reconcile these rules.
An improving metric only establishes improvement in the selected measurement. Without a guard, the document explicitly disallows claiming safety validation. Even with a guard, broader correctness depends on what that command checks; comprehensive correctness is not established.
Reasoning
The practical value comes from making repetition accountable: each attempt has a goal, a finite allowance and an evaluation step. Metric mode strengthens this with recorded measurements and preservation of failed candidates, which could help developers inspect why a change was accepted.
Its usefulness depends on choosing a representative metric and meaningful acceptance checks. A passing test command or better number can support a narrow conclusion; it cannot establish behavior those checks do not cover. This is an assessment of the documented design, not a demonstrated outcome.
Alternatives
For a single execution or a manual retry, the document recommends avoiding the iterative-loop skill. It points to skill-debug for simple retry logic and describes combining repeated work with skill-debug, skill-audit or skill-tdd.
Within this resource, ordinary mode suits broader refinement, while Metric Verification Mode suits numeric comparisons that need isolated candidates and recorded budgets. The companion skills' contents, availability and comparative effectiveness are unknown from the supplied evidence.
Evidence
The available source material consists of SKILL.md, the repository LICENSE and THIRD_PARTY_NOTICES.md at revision c22424d4c33bd244e7cbcb2a05c2fe3de940aba3. The supplied SHA-256 for SKILL.md is dc9939ff0ad45e35e37f65d27f1b22f66ea412e5780ced058396b1a8420ebe55.
SKILL.md supports conclusions about intended procedures and constraints. It contains no demonstrated execution record, compatibility results or measured cost. The other two files support licensing and attribution statements. Nothing was executed, and the illustrative results are not test evidence.
Access & freshness
Costs
Operating cost is unknown. The evidence gives no provider prices, subscription requirements, token consumption or measured expense for completing a loop.
Metric mode's default allowance of 14 additional model calls is a call budget, not a monetary cap. It counts retries, research and model-assisted edits before dispatch. Ordinary mode does not specify an equivalent call budget. Actual expense depends on the host, model and work performed.
Rights
The repository LICENSE grants MIT rights to use, copy, modify, publish, distribute, sublicense and sell the software and associated documentation. Copies or substantial portions must retain the copyright and permission notices. The license provides no warranty and identifies copyright © 2026 nyldn.
THIRD_PARTY_NOTICES.md identifies MIT-licensed methods adapted from mattpocock/skills at revision 3cca18b368ae95cdbdebbff572ccafa662551015. Its adaptation table does not name skill-iterative-loop as a destination. It references licenses/mattpocock-skills-MIT.txt, whose contents are not supplied.
Freshness
The supplied source snapshot was captured on 17 November 2026 at 06:59:27.750 UTC and identifies revision c22424d4c33bd244e7cbcb2a05c2fe3de940aba3. This identifies the document version covered by the findings.
The capture time does not establish the file's last modification date. No release version, current branch contents, maintenance cadence or compatibility with current host versions is established.
Actions
Before adopting the skill, confirm that the intended host supports explicit skill invocation and the required filesystem, repository and deadline operations. Define a bounded goal and authorized paths, and resolve the overlapping stall rules before relying on unattended repetition.
For a metric experiment, choose a representative measurement and a guard for behavior that must remain acceptable. Begin with a small disposable project, inspect the recorded baseline and rejected attempts, and verify that the original workspace and index remain intact. Treat any such evaluation as new work; no successful execution is established here.
