Autonomous Experiment Loop

0•

Automates iterative engineering experiments by scheduling recurring autonomous optimization cycles and performance tracking.

The Loop skill empowers Claude to conduct continuous, unattended engineering experiments by scheduling recurring tasks through a built-in cron system. It manages the full lifecycle of an experiment—from branch isolation and code modification to evaluation and result logging. By defining intervals ranging from ten minutes to one month, developers can let Claude background-process complex optimization tasks like API latency reduction or algorithmic tuning. The skill features robust error handling, automatically terminating failing experiments and maintaining a detailed history of success metrics to guide future iterations.

Key Features

01Flexible scheduling with intervals from 10 minutes to monthly cycles
02Persistent result tracking in TSV format with best-metric monitoring
03Safety-first design with automatic crash detection and loop termination
04Automated Git branch management for isolated, concurrent experiments
05Smart strategy escalation based on historical results and run counts
060 GitHub stars

Use Cases

01Continuous performance tuning of backend API endpoints
02Automated iterative refactoring to optimize code execution speed
03Long-running autonomous research tasks that require periodic strategy adjustments