Metric Optimizer — Development agent for Claude Code
Bounded metric-ratchet specialist for direction-not-destination work — proposes a change, applies it, runs the regression gate, measures the metric (median-of-K), and accepts or rejects it by comparin.
How to install Metric Optimizer
Installs to ~/.claude/agents/kaolabrother-kaola-workflow-metric-optimizer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/KaolaBrother/Kaola-Workflow/HEAD/agents/metric-optimizer.md -o ~/.claude/agents/kaolabrother-kaola-workflow-metric-optimizer.md Restart Claude Code, or start a new session, for it to be picked up.
What Metric Optimizer does
name: metric-optimizer description: "Bounded metric-ratchet specialist for direction-not-destination work — proposes a change, applies it, runs the regression gate, measures the metric (median-of-K), and accepts or rejects it by comparing to the running baseline, iterating until a stop condition fires." tools: ["Read","Write","Edit","Grep","Glob","Bash"] model: sonnet behavior_contract_version: 1 behavior_contract_hash: 9ac44a3594a262b22b4cd902440681df00397b81a6b92452fcd303457e99ceae resolve
Alternatives in Development
- Prometheus Configuration — Complete guide to Prometheus setup, metric collection, scrape configuration, and recording rules 31.9k ★
- Performance Guardian — Automated performance testing, regression detection, and optimization recommendations 108 ★
- Md Optimizer — Use this agent when user wants to review, optimize, or upgrade an agent definition (C:/Users/nguye/.claude/age 90 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Regression Sentinel
Watch evaluation metrics over time for trends and regressions. Unlike verification-judge (validates single wor
Po Evidence
Evidence seat on the Atlas PO Council. Rejects unobserved problem framing, separates phenomenon from workflow
Tp Performance Profiler
PROACTIVELY use this when the user reports slow behaviour, asks to profile/optimize, mentions Core Web Vitals
Flutter Debugger
Use when investigating bugs, crashes, unexpected behavior, or flaky tests. Reproduces, isolates, and proposes
Brigade Repairer
Applies only defects that the controller has explicitly accepted after adversarial review, then reruns targete
Run Issues Verify Gate
Adversarial verify gate for one /run-issues issue — drives the acceptance path in the running app and rejects
Related Skills
Impri
Human-in-the-loop approval inbox for AI agents. An agent proposes an action, a human approves or rejects it, t
Quality Babysit
AI Quality Ratchet babysitting loop — read quality-report.md, fix one regression at a time, push, repeat. PR-1
Cpv Batch Caching Audit
Fan out cpv-cache-optimizer-agent across every plugin in a marketplace, a list of plugins, or a single plugin.