# Optimize

> Claude/Codex skill by [@danielmiessler](https://omgskills.com/library/danielmiessler/index.md) · 19k stars · Updated 2026-08-14

Autonomous optimization loop — hill-climb any target. Code with metrics, or skills/prompts/agents with LLM-as-judge. USE WHEN optimize, hill climb, improve metric, reduce latency, optimize skill, optimize prompt, eval mode.

Tags: ai, ai-harness, augmentation, coding, humans, intent-engineering, lifeos, personal-ai, productivity

## Install

```sh
git clone https://github.com/danielmiessler/LifeOS /tmp/LifeOS && ln -s /tmp/LifeOS/LifeOS/install/skills/Optimize ~/.claude/skills/Optimize
```

## From README

/optimize — Autonomous Optimization v2 What It Does Runs an autonomous optimization loop against any target. The agent modifies the target, measures the result, keeps improvements, discards failures, and repeats until it stops climbing. Two modes: metric mode for code targets that produce a number (latency, bundle size), and eval mode for skills, prompts, or agents judged by LLM-as-judge binary evals. The Problem Tuning a thing for a measurable outcome is slow, boring, manual work. You change a file, run the measurement, eyeball whether it got better, keep or revert, then do it again — dozens of times. People give up after a few rounds and settle for "good enough" far short of the real ceiling. The targets without a clean number (a skill's quality, a prompt's effectiveness) are worse: there's no easy way to tell if a change actually helped. This skill runs that whole loop for you and only keeps changes that measurably win.

## Links

- HTML page: https://omgskills.com/skills/danielmiessler/lifeos/optimize/
- GitHub: https://github.com/danielmiessler/LifeOS
- Author: [@danielmiessler](https://omgskills.com/library/danielmiessler/index.md)

## More from this repo

- [Tldraw](https://omgskills.com/skills/danielmiessler/lifeos/tldraw/index.md) — Read, create, and edit tldraw .tldr canvas files deterministically — sketch hand-drawn-register diagrams (boxes,...
   - [@danielmiessler](https://omgskills.com/library/danielmiessler/index.md) · 19k stars
- [Aphorisms](https://omgskills.com/skills/danielmiessler/lifeos/aphorisms/index.md) — Curated aphorism collection with CRUD — content-based matching, themed search, thinker research, DB maintenance.
   - [@danielmiessler](https://omgskills.com/library/danielmiessler/index.md) · 19k stars
- [Art](https://omgskills.com/skills/danielmiessler/lifeos/art/index.md) — Static visual content across 20+ formats — diagrams, mermaid, infographics, D3 dashboards, comics, icons, wallpaper —...
   - [@danielmiessler](https://omgskills.com/library/danielmiessler/index.md) · 19k stars
