One-click install
npx skills add https://github.com/julianobarbosa/.claude --skill loop-julianobarbosa
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: Loop
Source: https://github.com/julianobarbosa/.claude/tree/main/skills/Loop
Command: npx skills add https://github.com/julianobarbosa/.claude --skill loop-julianobarbosa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Loop skill helps you iteratively refine a target by running multiple full algorithm passes, so each revision builds on the previous one toward an ideal outcome instead of a one-shot attempt.

Core Features & Use Cases

  • Multi-pass algorithm execution: Re-runs OBSERVE → THINK → PLAN → BUILD → EXECUTE → VERIFY → LEARN on the same target across several iterations with accumulated context.
  • Human-in-the-loop review: Inserts review/approval between cycles to keep changes aligned with your judgment and goals.
  • Optional autonomous iteration: Supports an opt-in autoresearch mode with a dead-ends ledger and confidence gating based on measurable iteration scores.

Quick Start

Run the loop by telling it which file or directory to improve and how you want it to get better, for example: loop the Algorithm on the file and improve it for consistency over 5 iterations.

Frequently Asked Questions about Loop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I iteratively refine a document across multiple passes?▼

Iterative document refinement is achieved by re-executing a full algorithm cycle on a fixed target, allowing each revision to build on the previous one with accumulated context. This process runs multiple passes toward an ideal outcome instead of a single attempt.

What is the human-in-the-loop workflow for document improvement?▼

A human-in-the-loop workflow inserts review and approval phases between iterative cycles. This ensures that automated improvement changes remain aligned with your judgment and goals throughout the repeated algorithm passes.

Can I run autonomous iterative improvement without manual review?▼

Yes, you can enable an opt-in autoresearch mode for autonomous iteration. This mode uses a dead-ends ledger and confidence gating based on measurable iteration scores to manage the workflow without manual review between cycles.

How do I start an iterative improvement loop on a specific file?▼

To start an iterative improvement loop, specify the target file or directory and define the improvement goal. For example, instruct the system to loop the algorithm on the file to improve consistency over a set number of iterations.

What is the best way to optimize a workflow through repeated cycles?▼

Workflow optimization through repeated cycles requires tracking the iteration count and evolving the evaluation criteria per pass. This OBSERVE→LEARN feedback approach ensures each cycle improves upon the last based on measurable outcomes.