autoloop

Automate agent iteration loops using Git as a state machine.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/GiantCroissant-Lunar/proto-breakout --skill autoloop-giantcroissant-lunar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: autoloop
Source: https://github.com/GiantCroissant-Lunar/proto-breakout/tree/main/.agent/skills/00-meta/autoloop
Command: npx skills add https://github.com/GiantCroissant-Lunar/proto-breakout --skill autoloop-giantcroissant-lunar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Defines an autonomous loop protocol for iterative agent work, enabling keep/discard cycles with a simple, git-backed state machine and careful context-window management.

Core Features & Use Cases

  • Never stop — run until the goal is met, a hard blocker is hit, or a human interrupts.
  • Keep or discard — each iteration yields a measurable result; improvements are kept, regressions are discarded.
  • Git as the state machine — branch tips represent the current best state across iterations.
  • Context window management — redirects verbose output to files and extracts metrics for the active loop.
  • Simplicity wins — favors minimal, composable changes over unnecessary complexity.

Quick Start

Start an autonomous loop on an RFC task to begin iterative improvements and logging.

Frequently Asked Questions about autoloop

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

FAQPage Schema
How do I manage state for long-running autonomous agent tasks?

You can manage state for long-running autonomous agent tasks by using Git as a state machine, where branch tips represent the current best state across iterations. This enables reliable keep or discard cycles for iterative work.

What is the best way to prevent context window overflow during continuous agent loops?

To prevent context window overflow during continuous agent loops, you can redirect verbose output to files and extract only the essential metrics for the active loop, ensuring careful context window management.

How do I automate keep or discard cycles for iterative agent improvements?

You can automate keep or discard cycles for iterative agent improvements by running an autonomous loop protocol that retains measurable improvements and discards regressions until a goal is met or a hard blocker is hit.

Can I use Git branches to track baseline metrics for autonomous workflows?

Yes, you can use Git branches to track baselined metrics for autonomous workflows. The protocol uses branch tips to represent the current best state, ensuring orderly progress logging across iterative cycles.

When should I use a Git-driven loop for agent iteration instead of standard execution?

You should use a Git-driven loop for agent iteration when running long-running tasks that require tracked baselines, measurable keep or discard cycles, and orderly progress logging to ensure deterministic outcomes.

Does autonomous agent iteration work without manual intervention for complex tasks?

Yes, autonomous agent iteration runs until the goal is met, a hard blocker is encountered, or a human interrupts. It favors minimal, composable changes to handle complex tasks continuously without manual intervention.