SkillTrust

← All skills

optimize-loop

95 / 100 · Low risk

Fine to try.

By gaasher/Agent-Loop-Skills (GitHub) · coding · 181 stars · scanned at commit f1169e6

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 change, checks a correctness gate that must pass, measures a metric that must drop, and keeps the change only if both hold, else reverts; loops to a plateau or budget. Not for adding features, fixing bu…

Works with any agent that supports SKILL.md skills.

What this skill can do

Connects to the internet

The author does not mention this.

Found in 1 place.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'optimize-loop' ] || [ -L ~/.agents/skills/'optimize-loop' ]; then echo 'A skill folder named optimize-loop already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/gaasher/Agent-Loop-Skills' "$d" && git -C "$d" checkout --quiet 'f1169e6db0b0f8a83ced3a18562b7c57e14a748a' -- 'loops/optimize-loop' && mkdir -p ~/.agents/skills && cp -R "$d"/'loops/optimize-loop' ~/.agents/skills/'optimize-loop' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'optimize-loop' ~/.claude/skills/'optimize-loop' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for gaasher/Agent-Loop-Skills shows the score of its lowest-scoring skill.

SkillTrust badge for gaasher/Agent-Loop-Skills

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/gaasher/Agent-Loop-Skills.svg)](https://zalavijaysinh.github.io/skilltrust/repos/gaasher/Agent-Loop-Skills/)

Score history

DateVersionScore
2026-11-07f1169e695