What problem does it solve?
Helps teams plan and execute performance optimization by identifying root-cause bottlenecks, measuring impact, and choosing implementation approaches that are verifiable and testable.
Core Features & Use Cases
- Investigate bottlenecks: Trace execution paths in code, form hypotheses, and verify causes with code inspection and profiling data.
- Scope and tradeoff analysis: Compare optimization options, sketch speed vs memory tradeoffs, and recommend maintainable implementations.
- Audit and spec creation: Produce measurable success metrics, test strategies, and an implementation-ready specification for engineers.
- Visualize and communicate: Create ASCII diagrams of hot paths, before/after flows, and prioritize work with risk assessment.
- Use Case: Reduce Time-to-First-Token (TTFT) for streaming endpoints by tracing hot paths in the proxy and recommending server-side or configuration changes.
Quick Start
Invoke the explore skill, then analyze the codebase to identify and verify performance bottlenecks, define measurable targets, and recommend implementation steps.