SkillTrust

← All skills

prompt-optimize

100 / 100 · Low risk

Fine to try.

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

Use when the user has a prompt that feeds a system they can already score, and wants that prompt automatically improved to raise the score against their own evaluation command. Makes one targeted quality edit per iteration — clarity, context, specificity, structure, examples, decomposition, guardrails — re-runs the user's eval to measure the metric, and keeps the edit only if the metric improves, else reverts; loops to a target, plateau, or budget. The metric is whatever the user's eval command…

Works with any agent that supports SKILL.md skills.

What this skill can do

We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.

Install

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

if [ -e ~/.agents/skills/'prompt-optimize' ] || [ -L ~/.agents/skills/'prompt-optimize' ]; then echo 'A skill folder named prompt-optimize 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/prompt-optimize' && mkdir -p ~/.agents/skills && cp -R "$d"/'loops/prompt-optimize' ~/.agents/skills/'prompt-optimize' && 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/'prompt-optimize' ~/.claude/skills/'prompt-optimize' (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-07f1169e6100