⏱️
QualityJavaScript

Benchmark Optimization Loop

by affaan-m

Benchmark Optimization Loop is a Quality skill for Claude Code, published by affaan-m in ECC.

239.8K stars36.4K forkson affaan-m/ECCAdded 2026/08/13Repository updated 2026/08/12
ai-agentsanthropicclaudeclaude-codedeveloper-toolsllmmcpproductivity
Install in seconds
Install Benchmark Optimization Loop
Copy Benchmark Optimization Loop into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/affaan-m/ECC/tree/main/skills/benchmark-optimization-loop ~/.claude/skills/benchmark-optimization-loop

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/affaan-m/ECC.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/benchmark-optimization-loop/SKILL.md in affaan-m/ECC
Installs to
~/.claude/skills/benchmark-optimization-loop
Collection
One of 25 skills cataloged from this repository
Category
Quality1354 skills

What Benchmark Optimization Loop does

Benchmark Optimization Loop turns vague performance goals into a bounded, measured optimization process. Use it when asked to make something faster, benchmark latency/throughput/cost, or choose the best implementation by repeated measured tests.

Benchmark Optimization Loop is cataloged under Quality on DirSkills. Benchmark Optimization Loop comes from a repository tagged ai-agents, anthropic, claude, claude-code and developer-tools.

Documentation

README

Benchmark Optimization Loop

Use this skill to convert "make it 20x faster" or "try 50 recursive optimizations" into a bounded measured loop that can actually improve a system.

Required Baseline

Do not optimize until these exist:

  • the operation being optimized;
  • the correctness gate that must stay green;
  • the metric: wall time, p95 latency, rows/sec, cost/run, memory, error rate;
  • the current baseline;
  • the search budget: max variants, max time, max spend, max data impact.

If the user asks for an unrealistic target, keep the ambition but make the loop bounded and measurable.

Loop

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Benchmark Optimization Loop

  • What else does affaan-m publish alongside Benchmark Optimization Loop?

    Benchmark Optimization Loop is one of 25 skills that DirSkills catalogs from affaan-m/ECC, the repository it ships in. Its siblings there include AI Regression Testing, AI-First Engineering and API Connector Builder. Each one is a separate skill with its own page in this directory, installs the same way Benchmark Optimization Loop does, and is maintained by affaan-m in that same repository. The rest of the collection is listed on the affaan-m/ECC page.

  • How does Benchmark Optimization Loop compare to other Quality skills?

    Benchmark Optimization Loop ranks #3 by stars among the 1354 Quality skills in this catalog. The most-starred ones next to it are Benchmark, API Design Patterns and AI Regression Testing. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Benchmark Optimization Loop against them. Open each page to compare what they document and how they install.

More from affaan-m/ECC

Benchmark Optimization Loop is one of 25 skills cataloged on DirSkills from affaan-m/ECC.

See all 25 skills
🧪
3w ago

AI Regression Testing

AI Regression Testing provides testing patterns for AI-assisted development, catching blind spots when the same model writes and reviews code. Use it for sandbox-mode API tests and regression coverage after AI code changes.
Quality
239.8K36.4K
🤖
3w ago

AI-First Engineering

AI-First Engineering defines process, review, and architecture standards for teams where AI agents produce most implementation output. Use it to set ownership rules, quality gates, and evaluation criteria for agent-generated code.
AI Engineering
239.8K36.4K
🔌
3w ago

API Connector Builder

API Connector Builder builds a new API connector or provider by matching an existing integration pattern in the codebase exactly. Use it when adding a new integration to a project without introducing a second architecture.
DevOps
239.8K36.4K
🔌
3w ago

API Design Patterns

API Design Patterns provides conventions and best practices for designing consistent REST APIs. Use it when creating endpoints, reviewing contracts, handling pagination, error responses, status codes, filtering, or versioning.
Quality
239.8K36.4K
3w ago

Accessibility

Accessibility helps design, implement, and audit inclusive digital products using WCAG 2.2 Level AA standards for keyboard, contrast, and screen-reader support. Use it when building or auditing UI that must meet WCAG 2.2 Level AA or reviewing changes for accessibility.
Frontend
239.8K36.4K
🔍
3w ago

Agent Architecture Audit

Agent Architecture Audit diagnoses failures in agent and LLM applications by auditing the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Use it when an agent misbehaves and the failing layer is unknown, or before shipping an agent stack.
AI Engineering
239.8K36.4K