Skip to content
FREnglish version : EN
Install

optimize-loop

gaasher/Agent-Loop-Skills / loops/optimize-loop

measures each change, keeps it if tests pass , which improves: simpler code or faster SQL

score 8/10high risk175 repo stars

Details

judge’s score
8/10
publisher
gaasher
status
new
skill’s last commit
Jun 22, 2026
repo stars
175
main type
Building with Claude

Judgement

Precise triggering with clear exclusions. Testable rules (lexicographic order, ledger, patience) and concrete conventions. Known idea; tools/ scripts not provided, not verifiable.

reservations

  • The scripts tools/metrics.py and tools/bench.py are not provided: impossible to verify the metric and the non-regression hash.
  • The examples examples/refactor.run.yaml and examples/sql.run.yaml are not provided.
  • The skill does not say how to validate the gate if tests are weak; it acknowledges this, but without a concrete safeguard.
sub-scores
Triggering
2/2
Added value
1/2
Precision
2/2
Scope
2/2
Quality
1/2

Alerts

2 alerts, by category

Static scan

  • high risk

    scripts run by the SKILL.md

    tools/bench.py, tools/metrics.py

Execution

  • high risk

    The skill runs commands in a loop without pause, arbitrary commands (gate_cmd, metric_cmd) defined in loop.run.yaml, and modifies files without intermediate validation.

Original description

Use when the user wants to iteratively improve an artifact under a hard correctness bound while minimizing a measured cost — refactoring a code module to cut complexity while its test suite stays green, OR speeding up a SQL query while it returns the same rows. Each iteration applies one focused cha…

added on Oct 19, 2026 · license MIT