Optimize

Installation
SKILL.md

/optimize — Autonomous Optimization v2

Run an autonomous optimization loop against any target. Two modes:

  • Metric mode — code targets with a shell command that produces a number (the original)
  • Eval mode — skills, prompts, agents, or any text target judged by LLM-as-judge binary evals

The agent modifies the target, measures the result, keeps improvements, discards failures, and repeats.

Inspired by Karpathy's autoresearch and extended with LLM-as-judge evaluation.

Invocation

Metric Mode (code targets)

/optimize --metric "lighthouse_score" --higher-is-better \
  --measure "npx lighthouse http://localhost:3000 --output=json" \
  --extract "jq '.categories.performance.score * 100' lighthouse.json" \
Related skills

More from danielmiessler/personal_ai_infrastructure

Installs
7
GitHub Stars
13.0K
First Seen
11 days ago